📄 gdiplusgraphics.h
字号:
height));
}
Status DrawPie(IN const Pen* pen,
IN const RectF& rect,
IN REAL startAngle,
IN REAL sweepAngle)
{
return DrawPie(pen,
rect.X,
rect.Y,
rect.Width,
rect.Height,
startAngle,
sweepAngle);
}
Status DrawPie(IN const Pen* pen,
IN REAL x,
IN REAL y,
IN REAL width,
IN REAL height,
IN REAL startAngle,
IN REAL sweepAngle)
{
return SetStatus(DllExports::GdipDrawPie(nativeGraphics,
pen->nativePen,
x,
y,
width,
height,
startAngle,
sweepAngle));
}
Status DrawPie(IN const Pen* pen,
IN const Rect& rect,
IN REAL startAngle,
IN REAL sweepAngle)
{
return DrawPie(pen,
rect.X,
rect.Y,
rect.Width,
rect.Height,
startAngle,
sweepAngle);
}
Status DrawPie(IN const Pen* pen,
IN INT x,
IN INT y,
IN INT width,
IN INT height,
IN REAL startAngle,
IN REAL sweepAngle)
{
return SetStatus(DllExports::GdipDrawPieI(nativeGraphics,
pen->nativePen,
x,
y,
width,
height,
startAngle,
sweepAngle));
}
Status DrawPolygon(IN const Pen* pen,
IN const PointF* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawPolygon(nativeGraphics,
pen->nativePen,
points,
count));
}
Status DrawPolygon(IN const Pen* pen,
IN const Point* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawPolygonI(nativeGraphics,
pen->nativePen,
points,
count));
}
Status DrawPath(IN const Pen* pen,
IN const GraphicsPath* path)
{
return SetStatus(DllExports::GdipDrawPath(nativeGraphics,
pen ? pen->nativePen : NULL,
path ? path->nativePath : NULL));
}
Status DrawCurve(IN const Pen* pen,
IN const PointF* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawCurve(nativeGraphics,
pen->nativePen, points,
count));
}
Status DrawCurve(IN const Pen* pen,
IN const PointF* points,
IN INT count,
IN REAL tension)
{
return SetStatus(DllExports::GdipDrawCurve2(nativeGraphics,
pen->nativePen, points,
count, tension));
}
Status DrawCurve(IN const Pen* pen,
IN const PointF* points,
IN INT count,
IN INT offset,
IN INT numberOfSegments,
IN REAL tension = 0.5f)
{
return SetStatus(DllExports::GdipDrawCurve3(nativeGraphics,
pen->nativePen, points,
count, offset,
numberOfSegments, tension));
}
Status DrawCurve(IN const Pen* pen,
IN const Point* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawCurveI(nativeGraphics,
pen->nativePen,
points,
count));
}
Status DrawCurve(IN const Pen* pen,
IN const Point* points,
IN INT count,
IN REAL tension)
{
return SetStatus(DllExports::GdipDrawCurve2I(nativeGraphics,
pen->nativePen,
points,
count,
tension));
}
Status DrawCurve(IN const Pen* pen,
IN const Point* points,
IN INT count,
IN INT offset,
IN INT numberOfSegments,
IN REAL tension = 0.5f)
{
return SetStatus(DllExports::GdipDrawCurve3I(nativeGraphics,
pen->nativePen,
points,
count,
offset,
numberOfSegments,
tension));
}
Status DrawClosedCurve(IN const Pen* pen,
IN const PointF* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawClosedCurve(nativeGraphics,
pen->nativePen,
points, count));
}
Status DrawClosedCurve(IN const Pen *pen,
IN const PointF* points,
IN INT count,
IN REAL tension)
{
return SetStatus(DllExports::GdipDrawClosedCurve2(nativeGraphics,
pen->nativePen,
points, count,
tension));
}
Status DrawClosedCurve(IN const Pen* pen,
IN const Point* points,
IN INT count)
{
return SetStatus(DllExports::GdipDrawClosedCurveI(nativeGraphics,
pen->nativePen,
points,
count));
}
Status DrawClosedCurve(IN const Pen *pen,
IN const Point* points,
IN INT count,
IN REAL tension)
{
return SetStatus(DllExports::GdipDrawClosedCurve2I(nativeGraphics,
pen->nativePen,
points,
count,
tension));
}
Status Clear(IN const Color &color)
{
return SetStatus(DllExports::GdipGraphicsClear(
nativeGraphics,
color.GetValue()));
}
Status FillRectangle(IN const Brush* brush,
IN const RectF& rect)
{
return FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height);
}
Status FillRectangle(IN const Brush* brush,
IN REAL x,
IN REAL y,
IN REAL width,
IN REAL height)
{
return SetStatus(DllExports::GdipFillRectangle(nativeGraphics,
brush->nativeBrush, x, y,
width, height));
}
Status FillRectangles(IN const Brush* brush,
IN const RectF* rects,
IN INT count)
{
return SetStatus(DllExports::GdipFillRectangles(nativeGraphics,
brush->nativeBrush,
rects, count));
}
Status FillRectangle(IN const Brush* brush,
IN const Rect& rect)
{
return FillRectangle(brush,
rect.X,
rect.Y,
rect.Width,
rect.Height);
}
Status FillRectangle(IN const Brush* brush,
IN INT x,
IN INT y,
IN INT width,
IN INT height)
{
return SetStatus(DllExports::GdipFillRectangleI(nativeGraphics,
brush->nativeBrush,
x,
y,
width,
height));
}
Status FillRectangles(IN const Brush* brush,
IN const Rect* rects,
IN INT count)
{
return SetStatus(DllExports::GdipFillRectanglesI(nativeGraphics,
brush->nativeBrush,
rects,
count));
}
Status FillPolygon(IN const Brush* brush,
IN const PointF* points,
IN INT count)
{
return FillPolygon(brush, points, count, FillModeAlternate);
}
Status FillPolygon(IN const Brush* brush,
IN const PointF* points,
IN INT count,
IN FillMode fillMode)
{
return SetStatus(DllExports::GdipFillPolygon(nativeGraphics,
brush->nativeBrush,
points, count, fillMode));
}
Status FillPolygon(IN const Brush* brush,
IN const Point* points,
IN INT count)
{
return FillPolygon(brush, points, count, FillModeAlternate);
}
Status FillPolygon(IN const Brush* brush,
IN const Point* points,
IN INT count,
IN FillMode fillMode)
{
return SetStatus(DllExports::GdipFillPolygonI(nativeGraphics,
brush->nativeBrush,
points, count,
fillMode));
}
Status FillEllipse(IN const Brush* brush,
IN const RectF& rect)
{
return FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height);
}
Status FillEllipse(IN const Brush* brush,
IN REAL x,
IN REAL y,
IN REAL width,
IN REAL height)
{
return SetStatus(DllExports::GdipFillEllipse(nativeGraphics,
brush->nativeBrush, x, y,
width, height));
}
Status FillEllipse(IN const Brush* brush,
IN const Rect& rect)
{
return FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height);
}
Status FillEllipse(IN const Brush* brush,
IN INT x,
IN INT y,
IN INT width,
IN INT height)
{
return SetStatus(DllExports::GdipFillEllipseI(nativeGraphics,
brush->nativeBrush,
x,
y,
width,
height));
}
Status FillPie(IN const Brush* brush,
IN const RectF& rect,
IN REAL startAngle,
IN REAL sweepAngle)
{
return FillPie(brush, rect.X, rect.Y, rect.Width, rect.Height,
startAngle, sweepAngle);
}
Status FillPie(IN const Brush* brush,
IN REAL x,
IN REAL y,
IN REAL width,
IN REAL height,
IN REAL startAngle,
IN REAL sweepAngle)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -