📄 gdiplusflat.h
字号:
GdipGetPageUnit(GpGraphics *graphics, GpUnit *unit);
GpStatus WINGDIPAPI
GdipGetPageScale(GpGraphics *graphics, REAL *scale);
GpStatus WINGDIPAPI
GdipSetPageUnit(GpGraphics *graphics, GpUnit unit);
GpStatus WINGDIPAPI
GdipSetPageScale(GpGraphics *graphics, REAL scale);
GpStatus WINGDIPAPI
GdipGetDpiX(GpGraphics *graphics, REAL* dpi);
GpStatus WINGDIPAPI
GdipGetDpiY(GpGraphics *graphics, REAL* dpi);
GpStatus WINGDIPAPI
GdipTransformPoints(GpGraphics *graphics, GpCoordinateSpace destSpace,
GpCoordinateSpace srcSpace, GpPointF *points,
INT count);
GpStatus WINGDIPAPI
GdipTransformPointsI(GpGraphics *graphics, GpCoordinateSpace destSpace,
GpCoordinateSpace srcSpace, GpPoint *points,
INT count);
GpStatus WINGDIPAPI
GdipGetNearestColor(GpGraphics *graphics, ARGB* argb);
// Creates the Win9x Halftone Palette (even on NT) with correct Desktop colors
HPALETTE WINGDIPAPI
GdipCreateHalftonePalette();
GpStatus WINGDIPAPI
GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1,
REAL x2, REAL y2);
GpStatus WINGDIPAPI
GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1,
INT x2, INT y2);
GpStatus WINGDIPAPI
GdipDrawLines(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawLinesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawArc(GpGraphics *graphics, GpPen *pen, REAL x, REAL y,
REAL width, REAL height, REAL startAngle, REAL sweepAngle);
GpStatus WINGDIPAPI
GdipDrawArcI(GpGraphics *graphics, GpPen *pen, INT x, INT y,
INT width, INT height, REAL startAngle, REAL sweepAngle);
GpStatus WINGDIPAPI
GdipDrawBezier(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1,
REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4);
GpStatus WINGDIPAPI
GdipDrawBezierI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1,
INT x2, INT y2, INT x3, INT y3, INT x4, INT y4);
GpStatus WINGDIPAPI
GdipDrawBeziers(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawBeziersI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawRectangle(GpGraphics *graphics, GpPen *pen, REAL x, REAL y,
REAL width, REAL height);
GpStatus WINGDIPAPI
GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x, INT y,
INT width, INT height);
GpStatus WINGDIPAPI
GdipDrawRectangles(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRectF *rects,
INT count);
GpStatus WINGDIPAPI
GdipDrawRectanglesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRect *rects,
INT count);
GpStatus WINGDIPAPI
GdipDrawEllipse(GpGraphics *graphics, GpPen *pen, REAL x, REAL y,
REAL width, REAL height);
GpStatus WINGDIPAPI
GdipDrawEllipseI(GpGraphics *graphics, GpPen *pen, INT x, INT y,
INT width, INT height);
GpStatus WINGDIPAPI
GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x, REAL y,
REAL width, REAL height, REAL startAngle,
REAL sweepAngle);
GpStatus WINGDIPAPI
GdipDrawPieI(GpGraphics *graphics, GpPen *pen, INT x, INT y,
INT width, INT height, REAL startAngle, REAL sweepAngle);
GpStatus WINGDIPAPI
GdipDrawPolygon(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawPolygonI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *path);
GpStatus WINGDIPAPI
GdipDrawCurve(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawCurveI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count);
GpStatus WINGDIPAPI
GdipDrawCurve2(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count, REAL tension);
GpStatus WINGDIPAPI
GdipDrawCurve2I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count, REAL tension);
GpStatus WINGDIPAPI
GdipDrawCurve3(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points,
INT count, INT offset, INT numberOfSegments, REAL tension);
GpStatus WINGDIPAPI
GdipDrawCurve3I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points,
INT count, INT offset, INT numberOfSegments, REAL tension);
GpStatus WINGDIPAPI
GdipDrawClosedCurve(GpGraphics *graphics, GpPen *pen,
GDIPCONST GpPointF *points, INT count);
GpStatus WINGDIPAPI
GdipDrawClosedCurveI(GpGraphics *graphics, GpPen *pen,
GDIPCONST GpPoint *points, INT count);
GpStatus WINGDIPAPI
GdipDrawClosedCurve2(GpGraphics *graphics, GpPen *pen,
GDIPCONST GpPointF *points, INT count, REAL tension);
GpStatus WINGDIPAPI
GdipDrawClosedCurve2I(GpGraphics *graphics, GpPen *pen,
GDIPCONST GpPoint *points, INT count, REAL tension);
GpStatus WINGDIPAPI
GdipGraphicsClear(GpGraphics *graphics, ARGB color);
GpStatus WINGDIPAPI
GdipFillRectangle(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y,
REAL width, REAL height);
GpStatus WINGDIPAPI
GdipFillRectangleI(GpGraphics *graphics, GpBrush *brush, INT x, INT y,
INT width, INT height);
GpStatus WINGDIPAPI
GdipFillRectangles(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpRectF *rects, INT count);
GpStatus WINGDIPAPI
GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpRect *rects, INT count);
GpStatus WINGDIPAPI
GdipFillPolygon(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPointF *points, INT count, GpFillMode fillMode);
GpStatus WINGDIPAPI
GdipFillPolygonI(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPoint *points, INT count, GpFillMode fillMode);
GpStatus WINGDIPAPI
GdipFillPolygon2(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPointF *points, INT count);
GpStatus WINGDIPAPI
GdipFillPolygon2I(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPoint *points, INT count);
GpStatus WINGDIPAPI
GdipFillEllipse(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y,
REAL width, REAL height);
GpStatus WINGDIPAPI
GdipFillEllipseI(GpGraphics *graphics, GpBrush *brush, INT x, INT y,
INT width, INT height);
GpStatus WINGDIPAPI
GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y,
REAL width, REAL height, REAL startAngle, REAL sweepAngle);
GpStatus WINGDIPAPI
GdipFillPieI(GpGraphics *graphics, GpBrush *brush, INT x, INT y,
INT width, INT height, REAL startAngle, REAL sweepAngle);
GpStatus WINGDIPAPI
GdipFillPath(GpGraphics *graphics, GpBrush *brush, GpPath *path);
GpStatus WINGDIPAPI
GdipFillClosedCurve(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPointF *points, INT count);
GpStatus WINGDIPAPI
GdipFillClosedCurveI(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPoint *points, INT count);
GpStatus WINGDIPAPI
GdipFillClosedCurve2(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPointF *points, INT count,
REAL tension, GpFillMode fillMode);
GpStatus WINGDIPAPI
GdipFillClosedCurve2I(GpGraphics *graphics, GpBrush *brush,
GDIPCONST GpPoint *points, INT count,
REAL tension, GpFillMode fillMode);
GpStatus WINGDIPAPI
GdipFillRegion(GpGraphics *graphics, GpBrush *brush,
GpRegion *region);
GpStatus WINGDIPAPI
GdipDrawImage(GpGraphics *graphics, GpImage *image, REAL x, REAL y);
GpStatus WINGDIPAPI
GdipDrawImageI(GpGraphics *graphics, GpImage *image, INT x, INT y);
GpStatus WINGDIPAPI
GdipDrawImageRect(GpGraphics *graphics, GpImage *image, REAL x, REAL y,
REAL width, REAL height);
GpStatus WINGDIPAPI
GdipDrawImageRectI(GpGraphics *graphics, GpImage *image, INT x, INT y,
INT width, INT height);
GpStatus WINGDIPAPI
GdipDrawImagePoints(GpGraphics *graphics, GpImage *image,
GDIPCONST GpPointF *dstpoints, INT count);
GpStatus WINGDIPAPI
GdipDrawImagePointsI(GpGraphics *graphics, GpImage *image,
GDIPCONST GpPoint *dstpoints, INT count);
GpStatus WINGDIPAPI
GdipDrawImagePointRect(GpGraphics *graphics, GpImage *image, REAL x,
REAL y, REAL srcx, REAL srcy, REAL srcwidth,
REAL srcheight, GpUnit srcUnit);
GpStatus WINGDIPAPI
GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image, INT x,
INT y, INT srcx, INT srcy, INT srcwidth,
INT srcheight, GpUnit srcUnit);
GpStatus WINGDIPAPI
GdipDrawImageRectRect(GpGraphics *graphics, GpImage *image, REAL dstx,
REAL dsty, REAL dstwidth, REAL dstheight,
REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight,
GpUnit srcUnit,
GDIPCONST GpImageAttributes* imageAttributes,
DrawImageAbort callback, VOID * callbackData);
GpStatus WINGDIPAPI
GdipDrawImageRectRectI(GpGraphics *graphics, GpImage *image, INT dstx,
INT dsty, INT dstwidth, INT dstheight,
INT srcx, INT srcy, INT srcwidth, INT srcheight,
GpUnit srcUnit,
GDIPCONST GpImageAttributes* imageAttributes,
DrawImageAbort callback, VOID * callbackData);
GpStatus WINGDIPAPI
GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image,
GDIPCONST GpPointF *points, INT count, REAL srcx,
REAL srcy, REAL srcwidth, REAL srcheight,
GpUnit srcUnit,
GDIPCONST GpImageAttributes* imageAttributes,
DrawImageAbort callback, VOID * callbackData);
GpStatus WINGDIPAPI
GdipDrawImagePointsRectI(GpGraphics *graphics, GpImage *image,
GDIPCONST GpPoint *points, INT count, INT srcx,
INT srcy, INT srcwidth, INT srcheight,
GpUnit srcUnit,
GDIPCONST GpImageAttributes* imageAttributes,
DrawImageAbort callback, VOID * callbackData);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestPoint(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST PointF & destPoint,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestPointI(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST Point & destPoint,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestRect(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST RectF & destRect,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestRectI(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST Rect & destRect,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestPoints(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST PointF * destPoints,
INT count,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileDestPointsI(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST Point * destPoints,
INT count,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileSrcRectDestPoint(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST PointF & destPoint,
GDIPCONST RectF & srcRect,
Unit srcUnit,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileSrcRectDestPointI(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST Point & destPoint,
GDIPCONST Rect & srcRect,
Unit srcUnit,
EnumerateMetafileProc callback,
VOID * callbackData,
GDIPCONST GpImageAttributes * imageAttributes
);
GpStatus WINGDIPAPI
GdipEnumerateMetafileSrcRectDestRect(
GpGraphics * graphics,
GDIPCONST GpMetafile * metafile,
GDIPCONST RectF & destRect,
GDIPCONST RectF & srcRect,
Unit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -