source: branch/egtra-gdiplus/GdiPlusFlat.ab@ 241

Last change on this file since 241 was 241, checked in by イグトランス (egtra), 17 years ago

GDI+に対して名前空間で囲ったものの、現在コンパイルできないため分岐させておく

File size: 96.5 KB
Line 
1' GdiPlusFlat.ab
2
3#ifndef __GDIPLUS_FLATAPI_AB__
4#define __GDIPLUS_FLATAPI_AB__
5
6#require <GdiPlusEnums.ab>
7#require <GdiPlusGpStubs.ab>
8#require <Classes/System/Drawing/misc.ab>
9#require <Classes/System/Drawing/Imaging/misc.ab>
10#require <Classes/System/Drawing/Text/misc.ab>
11#require <Classes/System/Drawing/Imaging/MetafileHeader.ab>
12
13TypeDef PDirectDrawSurface7 = VoidPtr '*IDirectDrawSurface7
14
15Namespace Gdiplus
16Namespace DllExprots
17
18' GraphicsPath APIs
19Declare Function GdipCreatePath Lib "gdiplus.dll" (ByVal brushMode As GpFillMode, ByRef path As *GpPath) As GpStatus
20Declare Function GdipCreatePath2 Lib "gdiplus.dll" (ByVal points As *GpPointF, ByVal types As *Byte, ByVal count As Long, ByVal brushMode As GpFillMode, ByRef path As *GpPath) As GpStatus
21Declare Function GdipCreatePath2I Lib "gdiplus.dll" (ByVal points As *GpPointF, ByVal types As *Byte, ByVal count As Long, ByVal brushMode As GpFillMode, ByRef path As *GpPath) As GpStatus
22Declare Function GdipClonePath Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef clonePath As *GpPath) As GpStatus
23Declare Function GdipDeletePath Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
24Declare Function GdipResetPath Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
25Declare Function GdipGetPointCount Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef count As Long) As GpStatus
26Declare Function GdipGetPathTypes Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal types As *Byte, ByVal count As Long) As GpStatus
27Declare Function GdipGetPathPoints Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef points As GpPointF, ByVal count As Long) As GpStatus
28Declare Function GdipGetPathPointsI Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef points As GpPoint, ByVal count As Long) As GpStatus
29Declare Function GdipGetPathFillMode Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef fillmode As GpFillMode) As GpStatus
30Declare Function GdipSetPathFillMode Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal fillmode As GpFillMode) As GpStatus
31Declare Function GdipGetPathData Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef pathData As GpPathData) As GpStatus
32Declare Function GdipStartPathFigure Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
33Declare Function GdipClosePathFigure Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
34Declare Function GdipClosePathFigures Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
35Declare Function GdipSetPathMarker Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
36Declare Function GdipClearPathMarkers Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
37Declare Function GdipReversePath Lib "gdiplus.dll" (ByVal path As *GpPath) As GpStatus
38Declare Function GdipGetPathLastPoint Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef lastPoint As GpPointF) As GpStatus
39Declare Function GdipAddPathLine Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single) As GpStatus
40Declare Function GdipAddPathLine2 Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
41Declare Function GdipAddPathArc Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
42Declare Function GdipAddPathBezier Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single, ByVal x3 As Single, ByVal y3 As Single, ByVal x4 As Single, ByVal y4 As Single) As GpStatus
43Declare Function GdipAddPathBeziers Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
44Declare Function GdipAddPathCurve Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
45Declare Function GdipAddPathCurve2 Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long, ByVal tension As Single) As GpStatus
46Declare Function GdipAddPathCurve3 Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long, ByVal offset As Long, ByVal numberOfSegments As Long, ByVal tension As Single) As GpStatus
47Declare Function GdipAddPathClosedCurve Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
48Declare Function GdipAddPathClosedCurve2 Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long, ByVal tension As Single) As GpStatus
49Declare Function GdipAddPathRectangle Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
50Declare Function GdipAddPathRectangles Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal rects As *GpRectF, ByVal count As Long) As GpStatus
51Declare Function GdipAddPathEllipse Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
52Declare Function GdipAddPathPie Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
53Declare Function GdipAddPathPolygon Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
54Declare Function GdipAddPathPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal addingPath As *GpPath, ByVal connect As BOOL) As GpStatus
55Declare Function GdipAddPathString Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal str As *WCHAR, ByVal length As Long, ByVal family As *GpFontFamily, ByVal style As Long, ByVal emSize As Single, ByRef layoutRect As GpRectF, ByVal format As *GpStringFormat) As GpStatus
56Declare Function GdipAddPathStringI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal str As *WCHAR, ByVal length As Long, ByVal family As *GpFontFamily, ByVal style As Long, ByVal emSize As Single, ByRef layoutRect As GpRect, ByVal format As *GpStringFormat) As GpStatus
57Declare Function GdipAddPathLineI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long, ByVal y2 As Long) As GpStatus
58Declare Function GdipAddPathLine2I Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
59Declare Function GdipAddPathArcI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
60Declare Function GdipAddPathBezierI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long, ByVal y2 As Long, ByVal x3 As Long, ByVal y3 As Long, ByVal x4 As Long, ByVal y4 As Long) As GpStatus
61Declare Function GdipAddPathBeziersI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
62Declare Function GdipAddPathCurveI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
63Declare Function GdipAddPathCurve2I Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long, ByVal tension As Single) As GpStatus
64Declare Function GdipAddPathCurve3I Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long, ByVal offset As Long, ByVal numberOfSegments As Long, ByVal tension As Single) As GpStatus
65Declare Function GdipAddPathClosedCurveI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
66Declare Function GdipAddPathClosedCurve2I Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long, ByVal tension As Single) As GpStatus
67Declare Function GdipAddPathRectangleI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
68Declare Function GdipAddPathRectanglesI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal rects As *GpRect, ByVal count As Long) As GpStatus
69Declare Function GdipAddPathEllipseI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
70Declare Function GdipAddPathPieI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
71Declare Function GdipAddPathPolygonI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
72Declare Function GdipFlattenPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus
73Declare Function GdipWindingModeOutline Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus
74Declare Function GdipWidenPath Lib "gdiplus.dll" (ByVal nativePath As *GpPath, ByVal pen As *GpPen, ByVal matrix As *GpMatrix, ByVal flatness As Single) As GpStatus
75Declare Function GdipWarpPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix, ByVal points As *GpPointF, ByVal count As Long, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal warpMode As WarpMode, ByVal flatness As Single) As GpStatus
76Declare Function GdipTransformPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal matrix As *GpMatrix) As GpStatus
77Declare Function GdipGetPathWorldBounds Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal bounds As *GpRectF, ByVal matrix As *GpMatrix, ByVal pen As *GpPen) As GpStatus
78Declare Function GdipGetPathWorldBoundsI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal bounds As *GpRect, ByVal matrix As *GpMatrix, ByVal pen As *GpPen) As GpStatus
79Declare Function GdipIsVisiblePathPoint Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
80Declare Function GdipIsVisiblePathPointI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
81Declare Function GdipIsOutlineVisiblePathPoint Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Single, ByVal y As Single, ByVal pen As *GpPen, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
82Declare Function GdipIsOutlineVisiblePathPointI Lib "gdiplus.dll" (ByVal path As *GpPath, ByVal x As Long, ByVal y As Long, ByVal pen As *GpPen, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
83
84' PathIterator APIs
85Declare Function GdipCreatePathIter Lib "gdiplus.dll" (ByRef iterator As *GpPathIterator, ByVal path As *GpPath) As GpStatus
86Declare Function GdipDeletePathIter Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator) As GpStatus
87Declare Function GdipPathIterNextSubpath Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByRef startIndex As Long, ByRef endIndex As Long, ByRef isClosed As BOOL) As GpStatus
88Declare Function GdipPathIterNextSubpathPath Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByVal path As *GpPath, ByRef isClosed As BOOL) As GpStatus
89Declare Function GdipPathIterNextPathType Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByRef pathType As Byte, ByRef startIndex As Long, ByRef endIndex As Long) As GpStatus
90Declare Function GdipPathIterNextMarker Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByRef startIndex As Long, ByRef endIndex As Long) As GpStatus
91Declare Function GdipPathIterNextMarkerPath Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByVal path As *GpPath) As GpStatus
92Declare Function GdipPathIterGetCount Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef count As Long) As GpStatus
93Declare Function GdipPathIterGetSubpathCount Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef count As Long) As GpStatus
94Declare Function GdipPathIterIsValid Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef valid As BOOL) As GpStatus
95Declare Function GdipPathIterHasCurve Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef hasCurve As BOOL) As GpStatus
96Declare Function GdipPathIterRewind Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator) As GpStatus
97Declare Function GdipPathIterEnumerate Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByVal points As *PointF, ByVal types As *Byte, ByVal count As Long) As GpStatus
98Declare Function GdipPathIterCopyData Lib "gdiplus.dll" (ByVal iterator As *GpPathIterator, ByRef resultCount As Long, ByVal points As *PointF, ByVal types As *Byte, ByVal startIndex As Long, ByVal endIndex As Long) As GpStatus
99
100' Matrix APIs
101Declare Function GdipCreateMatrix Lib "gdiplus.dll" (ByRef matrix As *GpMatrix) As GpStatus
102Declare Function GdipCreateMatrix2 Lib "gdiplus.dll" (ByVal m11 As Single, ByVal m12 As Single, ByVal m21 As Single, ByVal m22 As Single, ByVal dx As Single, ByVal dy As Single, ByRef matrix As *GpMatrix) As GpStatus
103Declare Function GdipCreateMatrix3 Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal dstplg As *GpPointF, ByRef matrix As *GpMatrix) As GpStatus
104Declare Function GdipCreateMatrix3I Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal dstplg As *GpPoint, ByRef matrix As *GpMatrix) As GpStatus
105Declare Function GdipCloneMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByRef cloneMatrix As *GpMatrix) As GpStatus
106Declare Function GdipDeleteMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix) As GpStatus
107Declare Function GdipSetMatrixElements Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal m11 As Single, ByVal m12 As Single, ByVal m21 As Single, ByVal m22 As Single, ByVal dx As Single, ByVal dy As Single) As GpStatus
108Declare Function GdipMultiplyMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal matrix2 As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
109Declare Function GdipTranslateMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal offsetX As Single, ByVal offsetY As Single, ByVal order As GpMatrixOrder) As GpStatus
110Declare Function GdipScaleMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal scaleX As Single, ByVal scaleY As Single, ByVal order As GpMatrixOrder) As GpStatus
111Declare Function GdipRotateMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
112Declare Function GdipShearMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal shearX As Single, ByVal shearY As Single, ByVal order As GpMatrixOrder) As GpStatus
113Declare Function GdipInvertMatrix Lib "gdiplus.dll" (ByVal matrix As *GpMatrix) As GpStatus
114Declare Function GdipTransformMatrixPoints Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal pts As *GpPointF, ByVal count As Long) As GpStatus
115Declare Function GdipTransformMatrixPointsI Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal pts As *GpPoint, ByVal count As Long) As GpStatus
116Declare Function GdipVectorTransformMatrixPoints Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal pts As *GpPointF, ByVal count As Long) As GpStatus
117Declare Function GdipVectorTransformMatrixPointsI Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal pts As *GpPoint, ByVal count As Long) As GpStatus
118Declare Function GdipGetMatrixElements Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal matrixOut As *Single) As GpStatus
119Declare Function GdipIsMatrixInvertible Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByRef result As BOOL) As GpStatus
120Declare Function GdipIsMatrixIdentity Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByRef result As BOOL) As GpStatus
121Declare Function GdipIsMatrixEqual Lib "gdiplus.dll" (ByVal matrix As *GpMatrix, ByVal matrix2 As *GpMatrix, ByRef result As BOOL) As GpStatus
122
123' Region APIs
124Declare Function GdipCreateRegion Lib "gdiplus.dll" (ByRef region As *GpRegion) As GpStatus
125Declare Function GdipCreateRegionRect Lib "gdiplus.dll" (ByRef rect As GpRectF, ByRef region As *GpRegion) As GpStatus
126Declare Function GdipCreateRegionRectI Lib "gdiplus.dll" (ByRef rect As GpRect, ByRef region As *GpRegion) As GpStatus
127Declare Function GdipCreateRegionPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef region As *GpRegion) As GpStatus
128Declare Function GdipCreateRegionRgnData Lib "gdiplus.dll" (regionData As *Byte, ByVal size As Long, ByRef region As *GpRegion) As GpStatus
129Declare Function GdipCreateRegionHrgn Lib "gdiplus.dll" (ByVal hRgn As HRGN, ByRef region As *GpRegion) As GpStatus
130Declare Function GdipCloneRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByRef cloneRegion As *GpRegion) As GpStatus
131Declare Function GdipDeleteRegion Lib "gdiplus.dll" (ByVal region As *GpRegion) As GpStatus
132Declare Function GdipSetInfinite Lib "gdiplus.dll" (ByVal region As *GpRegion) As GpStatus
133Declare Function GdipSetEmpty Lib "gdiplus.dll" (ByVal region As *GpRegion) As GpStatus
134Declare Function GdipCombineRegionRect Lib "gdiplus.dll" (ByVal region As *GpRegion, ByRef rect As GpRectF, ByVal combineMode As CombineMode) As GpStatus
135Declare Function GdipCombineRegionRectI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByRef rect As GpRect, ByVal combineMode As CombineMode) As GpStatus
136Declare Function GdipCombineRegionPath Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal path As *GpPath, ByVal combineMode As CombineMode) As GpStatus
137Declare Function GdipCombineRegionRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal region2 As *GpRegion, ByVal combineMode As CombineMode) As GpStatus
138Declare Function GdipTranslateRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal dx As Single, ByVal dy As Single) As GpStatus
139Declare Function GdipTranslateRegionI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal dx As Long, ByVal dy As Long) As GpStatus
140Declare Function GdipTransformRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal matrix As *GpMatrix) As GpStatus
141Declare Function GdipGetRegionBounds Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal graphics As *GpGraphics, ByRef rect As GpRectF) As GpStatus
142Declare Function GdipGetRegionBoundsI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal graphics As *GpGraphics, ByRef rect As GpRect) As GpStatus
143Declare Function GdipGetRegionHRgn Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal graphics As *GpGraphics, ByRef hRgn As HRGN) As GpStatus
144Declare Function GdipIsEmptyRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
145Declare Function GdipIsInfiniteRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
146Declare Function GdipIsEqualRegion Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal region2 As *GpRegion, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
147Declare Function GdipGetRegionDataSize Lib "gdiplus.dll" (ByVal region As *GpRegion, ByRef bufferSize As DWord) As GpStatus
148Declare Function GdipGetRegionData Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal buffer As Byte, ByVal bufferSize As DWord, ByVal sizeFilled As *DWord) As GpStatus
149Declare Function GdipIsVisibleRegionPoint Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal x As Single, ByVal y As Single, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
150Declare Function GdipIsVisibleRegionPointI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal x As Long, ByVal y As Long, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
151Declare Function GdipIsVisibleRegionRect Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
152Declare Function GdipIsVisibleRegionRectI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
153Declare Function GdipGetRegionScansCount Lib "gdiplus.dll" (ByVal region As *GpRegion, ByRef count As DWord, ByVal matrix As *GpMatrix) As GpStatus
154Declare Function GdipGetRegionScans Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal rects As *GpRectF, ByRef count As Long, ByVal matrix As *GpMatrix) As GpStatus
155Declare Function GdipGetRegionScansI Lib "gdiplus.dll" (ByVal region As *GpRegion, ByVal rects As *GpRect, ByRef count As Long, ByVal matrix As *GpMatrix) As GpStatus
156
157' Brush APIs
158Declare Function GdipCloneBrush Lib "gdiplus.dll" (ByVal brush As *GpBrush, ByRef cloneBrush As *GpBrush) As GpStatus
159Declare Function GdipDeleteBrush Lib "gdiplus.dll" (ByVal brush As *GpBrush) As GpStatus
160Declare Function GdipGetBrushType Lib "gdiplus.dll" (ByVal brush As *GpBrush, ByRef brushType As *GpBrushType) As GpStatus
161
162' HatchBrush APIs
163Declare Function GdipCreateHatchBrush Lib "gdiplus.dll" (ByVal hatchstyle As GpHatchStyle, ByVal forecol As ARGB, ByVal backcol As ARGB, ByRef brush As *GpHatch) As GpStatus
164Declare Function GdipGetHatchStyle Lib "gdiplus.dll" (ByVal brush As *GpHatch, ByRef hatchstyle As GpHatchStyle) As GpStatus
165Declare Function GdipGetHatchForegroundColor Lib "gdiplus.dll" (ByVal brush As *GpHatch, ByRef forecol As ARGB) As GpStatus
166Declare Function GdipGetHatchBackgroundColor Lib "gdiplus.dll" (ByVal brush As *GpHatch, ByRef backcol As ARGB) As GpStatus
167
168' TextureBrush APIs
169Declare Function GdipCreateTexture Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal wrapmode As GpWrapMode, ByRef texture As *GpTexture) As GpStatus
170Declare Function GdipCreateTexture2 Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal wrapmode As GpWrapMode, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByRef texture As *GpTexture) As GpStatus
171Declare Function GdipCreateTextureIA Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal imageAttributes As *GpImageAttributes, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByRef texture As *GpTexture) As GpStatus
172Declare Function GdipCreateTexture2I Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal wrapmode As GpWrapMode, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByRef texture As *GpTexture) As GpStatus
173Declare Function GdipCreateTextureIAI Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal imageAttributes As *GpImageAttributes, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByRef texture As *GpTexture) As GpStatus
174Declare Function GdipGetTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal matrix As *GpMatrix) As GpStatus
175Declare Function GdipSetTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal matrix As *GpMatrix) As GpStatus
176Declare Function GdipResetTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture) As GpStatus
177Declare Function GdipMultiplyTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal matrix As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
178Declare Function GdipTranslateTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal dx As Single, ByVal dy As Single, ByVal order As GpMatrixOrder) As GpStatus
179Declare Function GdipScaleTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal sx As Single, ByVal sy As Single, ByVal order As GpMatrixOrder) As GpStatus
180Declare Function GdipRotateTextureTransform Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
181Declare Function GdipSetTextureWrapMode Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByVal wrapmode As GpWrapMode) As GpStatus
182Declare Function GdipGetTextureWrapMode Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByRef wrapmode As GpWrapMode) As GpStatus
183Declare Function GdipGetTextureImage Lib "gdiplus.dll" (ByVal brush As *GpTexture, ByRef image As *GpImage) As GpStatus
184
185' SolidBrush APIs
186Declare Function GdipCreateSolidFill Lib "gdiplus.dll" (ByVal color As ARGB, ByRef brush As *GpSolidFill) As GpStatus
187Declare Function GdipSetSolidFillColor Lib "gdiplus.dll" (ByVal brush As *GpSolidFill, ByVal color As ARGB) As GpStatus
188Declare Function GdipGetSolidFillColor Lib "gdiplus.dll" (ByVal brush As *GpSolidFill, ByRef color As ARGB) As GpStatus
189
190' LineBrush APIs
191Declare Function GdipCreateLineBrush Lib "gdiplus.dll" (ByRef point1 As GpPointF, ByRef point2 As GpPointF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
192Declare Function GdipCreateLineBrushI Lib "gdiplus.dll" (ByRef point1 As GpPoint, ByRef point2 As GpPoint, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
193Declare Function GdipCreateLineBrushFromRect Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As LinearGradientMode, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
194Declare Function GdipCreateLineBrushFromRectI Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal mode As LinearGradientMode, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
195Declare Function GdipCreateLineBrushFromRectWithAngle Lib "gdiplus.dll" (ByRef rect As GpRectF, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal angle As Single, ByVal isAngleScalable As BOOL, ByVal wrapMode As GpWrapMode, ByRef lineGradient As *GpLineGradient) As GpStatus
196Declare Function GdipCreateLineBrushFromRectWithAngleI Lib "gdiplus.dll" (ByRef rect As GpRect, ByVal color1 As ARGB, ByVal color2 As ARGB, ByVal angle As Single, ByVal isAngleScalable As BOOL, ByRef lineGradient As *GpLineGradient) As GpStatus
197Declare Function GdipSetLineColors Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal color1 As ARGB, ByVal color2 As ARGB) As GpStatus
198Declare Function GdipGetLineColors Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal colors As *ARGB) As GpStatus
199Declare Function GdipGetLineRect Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef rect As GpRectF) As GpStatus
200Declare Function GdipGetLineRectI Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef rect As GpRect) As GpStatus
201Declare Function GdipSetLineGammaCorrection Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal useGammaCorrection As BOOL) As GpStatus
202Declare Function GdipGetLineGammaCorrection Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef useGammaCorrection As BOOL) As GpStatus
203Declare Function GdipGetLineBlendCount Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef count As Long) As GpStatus
204Declare Function GdipGetLineBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal blend As *Single, ByVal positions As *Single, ByVal count As Long) As GpStatus
205Declare Function GdipSetLineBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal blend As *Single, ByVal positions As *Single, ByVal positions As *Single, ByVal count As Long) As GpStatus
206Declare Function GdipGetLinePresetBlendCount Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef count As Long) As GpStatus
207Declare Function GdipGetLinePresetBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal blend As *ARGB, ByVal blend As *Single, ByVal count As Long) As GpStatus
208Declare Function GdipSetLinePresetBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal blend As *Single, ByVal positions As *Single, ByVal count As Long) As GpStatus
209Declare Function GdipSetLineSigmaBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal focus As Single, ByVal scale As Single) As GpStatus
210Declare Function GdipSetLineLinearBlend Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal focus As Single, ByVal scale As Single) As GpStatus
211Declare Function GdipSetLineWrapMode Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal wrapmode As GpWrapMode) As GpStatus
212Declare Function GdipGetLineWrapMode Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByRef wrapmode As GpWrapMode) As GpStatus
213Declare Function GdipGetLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal matrix As *GpMatrix) As GpStatus
214Declare Function GdipSetLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal matrix As *GpMatrix) As GpStatus
215Declare Function GdipResetLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient) As GpStatus
216Declare Function GdipMultiplyLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal matrix As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
217Declare Function GdipTranslateLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal dx As Single, ByVal dy As Single, ByVal order As GpMatrixOrder) As GpStatus
218Declare Function GdipScaleLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal sx As Single, ByVal sy As Single, ByVal order As GpMatrixOrder) As GpStatus
219Declare Function GdipRotateLineTransform Lib "gdiplus.dll" (ByVal brush As *GpLineGradient, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
220
221' PathGradientBrush APIs
222Declare Function GdipCreatePathGradient Lib "gdiplus.dll" (ByVal points As *GpPointF, ByVal count As Long, ByVal wrapMode As GpWrapMode, ByRef polyGradient As *GpPathGradient) As GpStatus
223Declare Function GdipCreatePathGradientI Lib "gdiplus.dll" (ByVal points As *GpPoint, ByVal count As Long, ByVal wrapMode As GpWrapMode, ByRef polyGradient As *GpPathGradient) As GpStatus
224Declare Function GdipCreatePathGradientFromPath Lib "gdiplus.dll" (ByVal path As *GpPath, ByRef polyGradient As *GpPathGradient) As GpStatus
225Declare Function GdipGetPathGradientCenterColor Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef colors As ARGB) As GpStatus
226Declare Function GdipSetPathGradientCenterColor Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal colors As ARGB) As GpStatus
227Declare Function GdipGetPathGradientSurroundColorsWithCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal color As *ARGB, ByRef count As Long) As GpStatus
228Declare Function GdipSetPathGradientSurroundColorsWithCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal color As *ARGB, ByRef count As Long) As GpStatus
229Declare Function GdipGetPathGradientPath Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal path As *GpPath) As GpStatus
230Declare Function GdipSetPathGradientPath Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal path As *GpPath) As GpStatus
231Declare Function GdipGetPathGradientCenterPoint Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal points As *GpPointF) As GpStatus
232Declare Function GdipGetPathGradientCenterPointI Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal points As *GpPoint) As GpStatus
233Declare Function GdipSetPathGradientCenterPoint Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal points As *GpPointF) As GpStatus
234Declare Function GdipSetPathGradientCenterPointI Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal points As *GpPoint) As GpStatus
235Declare Function GdipGetPathGradientRect Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef rect As GpRectF) As GpStatus
236Declare Function GdipGetPathGradientRectI Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef rect As GpRect) As GpStatus
237Declare Function GdipGetPathGradientPointCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef count As Long) As GpStatus
238Declare Function GdipGetPathGradientSurroundColorCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef count As Long) As GpStatus
239Declare Function GdipSetPathGradientGammaCorrection Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal useGammaCorrection As BOOL) As GpStatus
240Declare Function GdipGetPathGradientGammaCorrection Lib "gdiplus.dll" (ByVal brush As *GpPathGradient,ByRef useGammaCorrection As BOOL) As GpStatus
241Declare Function GdipGetPathGradientBlendCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef count As Long) As GpStatus
242Declare Function GdipGetPathGradientBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal blend As *Single, ByVal positions As *Single, ByVal count As Long) As GpStatus
243Declare Function GdipSetPathGradientBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal blend As *Single, ByVal positions As *Single, ByVal count As Long) As GpStatus
244Declare Function GdipGetPathGradientPresetBlendCount Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef count As Long) As GpStatus
245Declare Function GdipGetPathGradientPresetBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal blend As *ARGB, ByVal positions As *Single, ByVal count As Long) As GpStatus
246Declare Function GdipSetPathGradientPresetBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal blend As *ARGB, ByVal positions As *Single, ByVal count As Long) As GpStatus
247Declare Function GdipSetPathGradientSigmaBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal focus As Single, ByVal scale As Single) As GpStatus
248Declare Function GdipSetPathGradientLinearBlend Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal focus As Single, ByVal scale As Single) As GpStatus
249Declare Function GdipGetPathGradientWrapMode Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef wrapmode As GpWrapMode) As GpStatus
250Declare Function GdipSetPathGradientWrapMode Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal wrapmode As GpWrapMode) As GpStatus
251Declare Function GdipGetPathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal matrix As *GpMatrix) As GpStatus
252Declare Function GdipSetPathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal matrix As *GpMatrix) As GpStatus
253Declare Function GdipResetPathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient) As GpStatus
254Declare Function GdipMultiplyPathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal matrix As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
255Declare Function GdipTranslatePathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal dx As Single, ByVal dy As Single, ByVal order As GpMatrixOrder) As GpStatus
256Declare Function GdipScalePathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal sx As Single, ByVal sy As Single, ByVal order As GpMatrixOrder) As GpStatus
257Declare Function GdipRotatePathGradientTransform Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
258Declare Function GdipGetPathGradientFocusScales Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByRef xScale As Single, ByRef yScale As Single) As GpStatus
259Declare Function GdipSetPathGradientFocusScales Lib "gdiplus.dll" (ByVal brush As *GpPathGradient, ByVal xScale As Single, ByVal yScale As Single) As GpStatus
260
261' Pen APIs
262Declare Function GdipCreatePen1 Lib "gdiplus.dll" (ByVal color As ARGB, ByVal width As Single, ByVal unit As GpUnit, ByRef pen As *GpPen) As GpStatus
263Declare Function GdipCreatePen2 Lib "gdiplus.dll" (ByVal brush As *GpBrush, ByVal width As Single, ByVal unit As GpUnit, ByRef pen As *GpPen) As GpStatus
264Declare Function GdipClonePen Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef clonepen As *GpPen) As GpStatus
265Declare Function GdipDeletePen Lib "gdiplus.dll" (ByVal pen As *GpPen) As GpStatus
266Declare Function GdipSetPenWidth Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal width As Single) As GpStatus
267Declare Function GdipGetPenWidth Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef width As Single) As GpStatus
268Declare Function GdipSetPenUnit Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal unit As GpUnit) As GpStatus
269Declare Function GdipGetPenUnit Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef unit As GpUnit) As GpStatus
270Declare Function GdipSetPenLineCap197819 Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal startCap As GpLineCap, ByVal endCap As GpLineCap, ByVal dashCap As GpDashCap) As GpStatus
271Declare Function GdipSetPenStartCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal startCap As GpLineCap) As GpStatus
272Declare Function GdipSetPenEndCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal endCap As GpLineCap) As GpStatus
273Declare Function GdipSetPenDashCap197819 Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dashCap As GpDashCap) As GpStatus
274Declare Function GdipGetPenStartCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef startCap As GpLineCap) As GpStatus
275Declare Function GdipGetPenEndCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef endCap As GpLineCap) As GpStatus
276Declare Function GdipGetPenDashCap197819 Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef dashCap As GpDashCap) As GpStatus
277Declare Function GdipSetPenLineJoin Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal lineJoin As GpLineJoin) As GpStatus
278Declare Function GdipGetPenLineJoin Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef lineJoin As GpLineJoin) As GpStatus
279Declare Function GdipSetPenCustomStartCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal customCap As *GpCustomLineCap) As GpStatus
280Declare Function GdipGetPenCustomStartCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef customCap As *GpCustomLineCap) As GpStatus
281Declare Function GdipSetPenCustomEndCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal customCap As *GpCustomLineCap) As GpStatus
282Declare Function GdipGetPenCustomEndCap Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef customCap As *GpCustomLineCap) As GpStatus
283Declare Function GdipSetPenMiterLimit Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal miterLimit As Single) As GpStatus
284Declare Function GdipGetPenMiterLimit Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef miterLimit As Single) As GpStatus
285Declare Function GdipSetPenMode Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal penMode As GpPenAlignment) As GpStatus
286Declare Function GdipGetPenMode Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef penMode As GpPenAlignment) As GpStatus
287Declare Function GdipSetPenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal matrix As *GpMatrix) As GpStatus
288Declare Function GdipGetPenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal matrix As *GpMatrix) As GpStatus
289Declare Function GdipResetPenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen) As GpStatus
290Declare Function GdipMultiplyPenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal matrix As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
291Declare Function GdipTranslatePenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dx As Single, ByVal dy As Single, ByVal order As GpMatrixOrder) As GpStatus
292Declare Function GdipScalePenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal sx As Single, ByVal sy As Single, ByVal order As GpMatrixOrder) As GpStatus
293Declare Function GdipRotatePenTransform Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
294Declare Function GdipSetPenColor Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal argb As ARGB) As GpStatus
295Declare Function GdipGetPenColor Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef argb As ARGB) As GpStatus
296Declare Function GdipSetPenBrushFill Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal brush As *GpBrush) As GpStatus
297Declare Function GdipGetPenBrushFill Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef brush As *GpBrush) As GpStatus
298Declare Function GdipGetPenFillType Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef penType As GpPenType) As GpStatus
299Declare Function GdipGetPenDashStyle Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef dashstyle As GpDashStyle) As GpStatus
300Declare Function GdipSetPenDashStyle Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dashstyle As GpDashStyle) As GpStatus
301Declare Function GdipGetPenDashOffset Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef offset As Single) As GpStatus
302Declare Function GdipSetPenDashOffset Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal offset As Single) As GpStatus
303Declare Function GdipGetPenDashCount Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef count As Long) As GpStatus
304Declare Function GdipSetPenDashArray Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dash As *Single, ByVal count As Long) As GpStatus
305Declare Function GdipGetPenDashArray Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dash As *Single, ByVal count As Long) As GpStatus
306Declare Function GdipGetPenCompoundCount Lib "gdiplus.dll" (ByVal pen As *GpPen, ByRef count As Long) As GpStatus
307Declare Function GdipSetPenCompoundArray Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dash As *Single, ByVal count As Long) As GpStatus
308Declare Function GdipGetPenCompoundArray Lib "gdiplus.dll" (ByVal pen As *GpPen, ByVal dash As *Single, ByVal count As Long) As GpStatus
309
310' CustomLineCap APIs
311Declare Function GdipCreateCustomLineCap Lib "gdiplus.dll" (Byval fillPath As *GpPath, ByVal strokePath As *GpPath, ByVal baseCap As GpLineCap, ByVal baseInset As Single, ByRef customCap As *GpCustomLineCap) As GpStatus
312Declare Function GdipDeleteCustomLineCap Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap) As GpStatus
313Declare Function GdipCloneCustomLineCap Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByRef clonedCap As *GpCustomLineCap) As GpStatus
314Declare Function GdipGetCustomLineCapType Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal capType As *CustomLineCapType) As GpStatus
315Declare Function GdipSetCustomLineCapStrokeCaps Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal startCap As GpLineCap, ByVal endCap As GpLineCap) As GpStatus
316Declare Function GdipGetCustomLineCapStrokeCaps Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal startCap As *GpLineCap, ByVal endCap As *GpLineCap) As GpStatus
317Declare Function GdipSetCustomLineCapStrokeJoin Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal lineJoin As GpLineJoin) As GpStatus
318Declare Function GdipGetCustomLineCapStrokeJoin Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal lineJoin As *GpLineJoin) As GpStatus
319Declare Function GdipSetCustomLineCapBaseCap Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal baseCap As GpLineCap) As GpStatus
320Declare Function GdipGetCustomLineCapBaseCap Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByRef baseCap As GpLineCap) As GpStatus
321Declare Function GdipSetCustomLineCapBaseInset Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal inset As Single) As GpStatus
322Declare Function GdipGetCustomLineCapBaseInset Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByRef inset As Single) As GpStatus
323Declare Function GdipSetCustomLineCapWidthScale Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByVal widthScale As Single) As GpStatus
324Declare Function GdipGetCustomLineCapWidthScale Lib "gdiplus.dll" (ByVal customCap As *GpCustomLineCap, ByRef widthScale As Single) As GpStatus
325
326' AdjustableArrowCap APIs
327Declare Function GdipCreateAdjustableArrowCap Lib "gdiplus.dll" (ByVal height As Single, ByVal width As Single, ByVal isFilled As BOOL, ByRef cap As *GpAdjustableArrowCap) As GpStatus
328Declare Function GdipSetAdjustableArrowCapHeight Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByVal height As Single) As GpStatus
329Declare Function GdipGetAdjustableArrowCapHeight Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByRef height As Single) As GpStatus
330Declare Function GdipSetAdjustableArrowCapWidth Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByVal width As Single) As GpStatus
331Declare Function GdipGetAdjustableArrowCapWidth Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByRef width As Single) As GpStatus
332Declare Function GdipSetAdjustableArrowCapMiddleInset Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByVal middleInset As Single) As GpStatus
333Declare Function GdipGetAdjustableArrowCapMiddleInset Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByRef middleInset As Single) As GpStatus
334Declare Function GdipSetAdjustableArrowCapFillState Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByVal fillState As BOOL) As GpStatus
335Declare Function GdipGetAdjustableArrowCapFillState Lib "gdiplus.dll" (ByVal cap As *GpAdjustableArrowCap, ByRef fillState As BOOL) As GpStatus
336
337' Image APIs
338Declare Function GdipLoadImageFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef image As *GpImage) As GpStatus
339Declare Function GdipLoadImageFromFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef image As *GpImage) As GpStatus
340Declare Function GdipLoadImageFromStreamICM Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef image As *GpImage) As GpStatus
341Declare Function GdipLoadImageFromFileICM Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef image As *GpImage) As GpStatus
342Declare Function GdipCloneImage Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef cloneImage As *GpImage) As GpStatus
343Declare Function GdipDisposeImage Lib "gdiplus.dll" (ByVal image As *GpImage) As GpStatus
344Declare Function GdipSaveImageToFile Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal filename As PCWSTR, ByRef clsidEncoder As CLSID, ByRef encoderParams As EncoderParameters) As GpStatus
345Declare Function GdipSaveImageToStream Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal stream As *IStream, ByRef clsidEncoder As CLSID, ByRef encoderParams As EncoderParameters) As GpStatus
346Declare Function GdipSaveAdd Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef encoderParams As EncoderParameters) As GpStatus
347Declare Function GdipSaveAddImage Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal newImage As *GpImage, ByRef encoderParams As EncoderParameters) As GpStatus
348Declare Function GdipGetImageGraphicsContext Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef graphics As *GpGraphics) As GpStatus
349Declare Function GdipGetImageBounds Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef srcRect As GpRectF, ByRef srcUnit As GpUnit) As GpStatus
350Declare Function GdipGetImageDimension Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef width As Single, ByRef height As Single) As GpStatus
351Declare Function GdipGetImageType Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef imageType As ImageType) As GpStatus
352Declare Function GdipGetImageWidth Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef width As DWord) As GpStatus
353Declare Function GdipGetImageHeight Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef height As DWord) As GpStatus
354Declare Function GdipGetImageHorizontalResolution Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef resolution As Single) As GpStatus
355Declare Function GdipGetImageVerticalResolution Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef resolution As Single) As GpStatus
356Declare Function GdipGetImageFlags Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef flags As DWord) As GpStatus
357Declare Function GdipGetImageRawFormat Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef format As GUID) As GpStatus
358Declare Function GdipGetImagePixelFormat Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef format As PixelFormat) As GpStatus
359Declare Function GdipGetImageThumbnail Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal thumbWidth As DWord, ByVal thumbHeight As DWord, ByRef thumbImage As *GpImage, ByVal callback As GetThumbnailImageAbort, ByVal callbackData As VoidPtr) As GpStatus
360Declare Function GdipGetEncoderParameterListSize Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef clsidEncoder As CLSID, ByRef size As DWord) As GpStatus
361Declare Function GdipGetEncoderParameterList Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef clsidEncoder As CLSID, ByVal size As DWord, ByRef buffer As EncoderParameters) As GpStatus
362Declare Function GdipImageGetFrameDimensionsCount Lib "gdiplus.dll" (ByRef image As *GpImage, ByRef count As DWord) As GpStatus
363Declare Function GdipImageGetFrameDimensionsList Lib "gdiplus.dll" (ByRef image As *GpImage, ByVal dimensionIDs As GUID, ByVal count As DWord) As GpStatus
364Declare Function GdipImageGetFrameCount Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef dimensionID As GUID, ByRef count As DWord) As GpStatus
365Declare Function GdipImageSelectActiveFrame Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef dimensionID As GUID, ByVal frameIndex As DWord) As GpStatus
366Declare Function GdipImageRotateFlip Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal rfType As RotateFlipType) As GpStatus
367Declare Function GdipGetImagePalette Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef palette As ColorPalette, ByVal size As Long) As GpStatus
368Declare Function GdipSetImagePalette Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal palette As ColorPalette) As GpStatus
369Declare Function GdipGetImagePaletteSize Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef size As Long) As GpStatus
370Declare Function GdipGetPropertyCount Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef numOfProperty As DWord) As GpStatus
371Declare Function GdipGetPropertyIdList Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal numOfProperty As DWord, ByRef list As PROPID) As GpStatus
372Declare Function GdipGetPropertyItemSize Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal propId As PROPID, ByRef size As DWord) As GpStatus
373Declare Function GdipGetPropertyItem Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal propId As PROPID, ByVal propSize As DWord, buffer As *PropertyItem) As GpStatus
374Declare Function GdipGetPropertySize Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef totalBufferSize As DWord, ByRef numProperties As DWord) As GpStatus
375Declare Function GdipGetAllPropertyItems Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal totalBufferSize As DWord, ByVal numProperties As DWord, ByVal allItems As *PropertyItem) As GpStatus
376Declare Function GdipRemovePropertyItem Lib "gdiplus.dll" (ByVal image As *GpImage, ByVal propId As PROPID) As GpStatus
377Declare Function GdipSetPropertyItem Lib "gdiplus.dll" (ByVal image As *GpImage, ByRef item As PropertyItem) As GpStatus
378Declare Function GdipImageForceValidation Lib "gdiplus.dll" (ByVal image As *GpImage) As GpStatus
379
380' Bitmap APIs
381Declare Function GdipCreateBitmapFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef bitmap As *GpBitmap) As GpStatus
382Declare Function GdipCreateBitmapFromFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef bitmap As *GpBitmap) As GpStatus
383Declare Function GdipCreateBitmapFromStreamICM Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef bitmap As *GpBitmap) As GpStatus
384Declare Function GdipCreateBitmapFromFileICM Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef bitmap As *GpBitmap) As GpStatus
385Declare Function GdipCreateBitmapFromScan0 Lib "gdiplus.dll" (ByVal width As Long, ByVal height As Long, ByVal stride As Long, ByVal format As PixelFormat, ByVal scan0 As *Byte, ByRef bitmap As *GpBitmap) As GpStatus
386Declare Function GdipCreateBitmapFromGraphics Lib "gdiplus.dll" (ByVal width As Long, ByVal height As Long, ByVal target As *GpGraphics, ByRef bitmap As *GpBitmap) As GpStatus
387Declare Function GdipCreateBitmapFromDirectDrawSurface Lib "gdiplus.dll" (ByVal surface As PDirectDrawSurface7, ByRef bitmap As *GpBitmap) As GpStatus
388Declare Function GdipCreateBitmapFromGdiDib Lib "gdiplus.dll" (ByRef gdiBitmapInfo As BITMAPINFO, gdiBitmapData As VoidPtr, ByRef bitmap As *GpBitmap) As GpStatus
389Declare Function GdipCreateBitmapFromHBITMAP Lib "gdiplus.dll" (ByVal hbm As HBITMAP, ByVal hpal As HPALETTE, ByRef bitmap As *GpBitmap) As GpStatus
390Declare Function GdipCreateHBITMAPFromBitmap Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByRef hbmReturn As HBITMAP, ByVal background As ARGB) As GpStatus
391Declare Function GdipCreateBitmapFromHICON Lib "gdiplus.dll" (ByVal hicon As HICON, ByRef bitmap As *GpBitmap) As GpStatus
392Declare Function GdipCreateHICONFromBitmap Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByRef hbmReturn As HICON) As GpStatus
393Declare Function GdipCreateBitmapFromResource Lib "gdiplus.dll" (ByVal hInstance As HINSTANCE, ByVal pBitmapName As PCWSTR, ByRef bitmap As *GpBitmap) As GpStatus
394Declare Function GdipCloneBitmapArea Lib "gdiplus.dll" (ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal format As PixelFormat, ByVal srcBitmap As *GpBitmap, ByRef dstBitmap As *GpBitmap) As GpStatus
395Declare Function GdipCloneBitmapAreaI Lib "gdiplus.dll" (ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal format As PixelFormat, ByVal srcBitmap As *GpBitmap, ByRef dstBitmap As *GpBitmap) As GpStatus
396Declare Function GdipBitmapLockBits Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByRef rect As GpRect, ByVal flags As DWord, ByVal format As PixelFormat, ByVal lockedBitmapData As *BitmapData) As GpStatus
397Declare Function GdipBitmapUnlockBits Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByRef lockedBitmapData As BitmapData) As GpStatus
398Declare Function GdipBitmapGetPixel Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByVal x As Long, ByVal y As Long, ByRef color As ARGB) As GpStatus
399Declare Function GdipBitmapSetPixel Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByVal x As Long, ByVal y As Long, ByVal color As ARGB) As GpStatus
400Declare Function GdipBitmapSetResolution Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByVal xdpi As Single, ByVal ydpi As Single) As GpStatus
401
402' ImageAttributes APIs
403Declare Function GdipCreateImageAttributes Lib "gdiplus.dll" (ByRef imageattr As *GpImageAttributes) As GpStatus
404Declare Function GdipCloneImageAttributes Lib "gdiplus.dll" (ByRef imageattr As GpImageAttributes, ByRef GpImageAttributes As *GpImageAttributes) As GpStatus
405Declare Function GdipDisposeImageAttributes Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes) As GpStatus
406Declare Function GdipSetImageAttributesToIdentity Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType) As GpStatus
407Declare Function GdipResetImageAttributes Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType) As GpStatus
408Declare Function GdipSetImageAttributesColorMatrix Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByRef colorMatrix As *ColorMatrix, ByRef grayMatrix As *ColorMatrix, ByVal flags As ColorMatrixFlag) As GpStatus
409Declare Function GdipSetImageAttributesThreshold Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal threshold As Single) As GpStatus
410Declare Function GdipSetImageAttributesGamma Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal gamma As Single) As GpStatus
411Declare Function GdipSetImageAttributesNoOp Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL) As GpStatus
412Declare Function GdipSetImageAttributesColorKeys Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal colorLow As ARGB, ByVal colorHigh As ARGB) As GpStatus
413Declare Function GdipSetImageAttributesOutputChannel Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal channelFlags As ColorChannelFlags) As GpStatus
414Declare Function GdipSetImageAttributesOutputChannelColorProfile Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal colorProfileFilename As PCWSTR) As GpStatus
415Declare Function GdipSetImageAttributesRemapTable Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal colorAdjustType As ColorAdjustType, ByVal enableFlag As BOOL, ByVal mapSize As DWord, ByRef map As ColorMap) As GpStatus
416Declare Function GdipSetImageAttributesWrapMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByVal wrap As WrapMode, ByVal argb As ARGB, ByVal clamp As BOOL) As GpStatus
417Declare Function GdipSetImageAttributesICMMode Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef on As BOOL) As GpStatus
418Declare Function GdipGetImageAttributesAdjustedPalette Lib "gdiplus.dll" (ByVal imageAttr As *GpImageAttributes, ByRef colorPalette As ColorPalette, ByVal colorAdjustType As ColorAdjustType) As GpStatus
419
420' Graphics APIs
421Declare Function GdipFlush Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal intention As GpFlushIntention) As GpStatus
422Declare Function GdipCreateFromHDC Lib "gdiplus.dll" (ByVal hdc As HDC, ByRef graphics As *GpGraphics) As GpStatus
423Declare Function GdipCreateFromHDC2 Lib "gdiplus.dll" (ByVal hdc As HDC, ByVal hDevice As HANDLE, ByRef graphics As *GpGraphics) As GpStatus
424Declare Function GdipCreateFromHWND Lib "gdiplus.dll" (ByVal hwnd As HWND, ByRef graphics As *GpGraphics) As GpStatus
425Declare Function GdipCreateFromHWNDICM Lib "gdiplus.dll" (ByVal hwnd As HWND, ByRef graphics As *GpGraphics) As GpStatus
426Declare Function GdipDeleteGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics) As GpStatus
427Declare Function GdipGetDC Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef hdc As HDC) As GpStatus
428Declare Function GdipReleaseDC Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal hdc As HDC) As GpStatus
429Declare Function GdipSetCompositingMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal compositingMode As CompositingMode) As GpStatus
430Declare Function GdipGetCompositingMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef compositingMode As CompositingMode) As GpStatus
431Declare Function GdipSetRenderingOrigin Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Long, ByVal y As Long) As GpStatus
432Declare Function GdipGetRenderingOrigin Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef x As Long, ByRef y As Long) As GpStatus
433Declare Function GdipSetCompositingQuality Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal compositingQuality As CompositingQuality) As GpStatus
434Declare Function GdipGetCompositingQuality Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef compositingQuality As CompositingQuality) As GpStatus
435Declare Function GdipSetSmoothingMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal smoothingMode As SmoothingMode) As GpStatus
436Declare Function GdipGetSmoothingMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef smoothingMode As SmoothingMode) As GpStatus
437Declare Function GdipSetPixelOffsetMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pixelOffsetMode As PixelOffsetMode) As GpStatus
438Declare Function GdipGetPixelOffsetMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef pixelOffsetMode As PixelOffsetMode) As GpStatus
439Declare Function GdipSetTextRenderingHint Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal mode As TextRenderingHint) As GpStatus
440Declare Function GdipGetTextRenderingHint Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef mode As TextRenderingHint) As GpStatus
441Declare Function GdipSetTextContrast Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal contrast As DWord) As GpStatus
442Declare Function GdipGetTextContrast Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef contrast As DWord) As GpStatus
443Declare Function GdipSetInterpolationMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal interpolationMode As InterpolationMode) As GpStatus
444Declare Function GdipGetInterpolationMode Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef interpolationMode As InterpolationMode) As GpStatus
445Declare Function GdipSetWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal matrix As *GpMatrix) As GpStatus
446Declare Function GdipResetWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics) As GpStatus
447Declare Function GdipMultiplyWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal matrix As *GpMatrix, ByVal order As GpMatrixOrder) As GpStatus
448Declare Function GdipTranslateWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal dx As Single, ByVal dy As Single, ByVal order As GpMatrixOrder) As GpStatus
449Declare Function GdipScaleWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal sx As Single, ByVal sy As Single, ByVal order As GpMatrixOrder) As GpStatus
450Declare Function GdipRotateWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal angle As Single, ByVal order As GpMatrixOrder) As GpStatus
451Declare Function GdipGetWorldTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal matrix As *GpMatrix) As GpStatus
452Declare Function GdipResetPageTransform Lib "gdiplus.dll" (ByVal graphics As *GpGraphics) As GpStatus
453Declare Function GdipGetPageUnit Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef unit As GpUnit) As GpStatus
454Declare Function GdipGetPageScale Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef scale As Single) As GpStatus
455Declare Function GdipSetPageUnit Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal unit As GpUnit) As GpStatus
456Declare Function GdipSetPageScale Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal scale As Single) As GpStatus
457Declare Function GdipGetDpiX Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef dpi As Single) As GpStatus
458Declare Function GdipGetDpiY Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef dpi As Single) As GpStatus
459Declare Function GdipTransformPoints Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal destSpace As GpCoordinateSpace, ByVal srcSpace As GpCoordinateSpace, ByVal points As *PointF, ByVal count As Long) As GpStatus
460Declare Function GdipTransformPointsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal destSpace As GpCoordinateSpace, ByVal srcSpace As GpCoordinateSpace, ByVal points As *Point, ByVal count As Long) As GpStatus
461Declare Function GdipGetNearestColor Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef argb As ARGB) As GpStatus
462' Creates the Win9x Halftone Palette (even on NT) with correct Desktop colors
463Declare Function GdipCreateHalftonePalette Lib "gdiplus.dll" () As HPALETTE
464Declare Function GdipDrawLine Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single) As GpStatus
465Declare Function GdipDrawLineI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long, ByVal y2 As Long) As GpStatus
466Declare Function GdipDrawLines Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
467Declare Function GdipDrawLinesI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
468Declare Function GdipDrawArc Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
469Declare Function GdipDrawArcI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
470Declare Function GdipDrawBezier Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single, ByVal x3 As Single, ByVal y3 As Single, ByVal x4 As Single, ByVal y4 As Single) As GpStatus
471Declare Function GdipDrawBezierI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long, ByVal y2 As Long, ByVal x3 As Long, ByVal y3 As Long, ByVal x4 As Long, ByVal y4 As Long) As GpStatus
472Declare Function GdipDrawBeziers Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
473Declare Function GdipDrawBeziersI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
474Declare Function GdipDrawRectangle Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
475Declare Function GdipDrawRectangleI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
476Declare Function GdipDrawRectangles Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal rects As *GpRectF, ByVal count As Long) As GpStatus
477Declare Function GdipDrawRectanglesI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal rects As *GpRect, ByVal count As Long) As GpStatus
478Declare Function GdipDrawEllipse Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
479Declare Function GdipDrawEllipseI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
480Declare Function GdipDrawPie Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
481Declare Function GdipDrawPieI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
482Declare Function GdipDrawPolygon Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
483Declare Function GdipDrawPolygonI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
484Declare Function GdipDrawPath Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal path As *GpPath) As GpStatus
485Declare Function GdipDrawCurve Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
486Declare Function GdipDrawCurveI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
487Declare Function GdipDrawCurve2 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long, ByVal tension As Single) As GpStatus
488Declare Function GdipDrawCurve2I Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long, ByVal tension As Single) As GpStatus
489Declare Function GdipDrawCurve3 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long, ByVal offset As Long, ByVal numberOfSegments As Long, ByVal tension As Single) As GpStatus
490Declare Function GdipDrawCurve3I Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long, ByVal offset As Long, ByVal numberOfSegments As Long, ByVal tension As Single) As GpStatus
491Declare Function GdipDrawClosedCurve Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
492Declare Function GdipDrawClosedCurveI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
493Declare Function GdipDrawClosedCurve2 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPointF, ByVal count As Long, ByVal tension As Single) As GpStatus
494Declare Function GdipDrawClosedCurve2I Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal pen As *GpPen, ByVal points As *GpPoint, ByVal count As Long, ByVal tension As Single) As GpStatus
495Declare Function GdipGraphicsClear Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal color As ARGB) As GpStatus
496Declare Function GdipFillRectangle Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
497Declare Function GdipFillRectangleI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
498Declare Function GdipFillRectangles Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal rects As *GpRectF, ByVal count As Long) As GpStatus
499Declare Function GdipFillRectanglesI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal rects As *GpRect, ByVal count As Long) As GpStatus
500Declare Function GdipFillPolygon Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPointF, ByVal count As Long, ByVal fillMode As GpFillMode) As GpStatus
501Declare Function GdipFillPolygonI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPoint, ByVal count As Long, ByVal fillMode As GpFillMode) As GpStatus
502Declare Function GdipFillPolygon2 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
503Declare Function GdipFillPolygon2I Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
504Declare Function GdipFillEllipse Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
505Declare Function GdipFillEllipseI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
506Declare Function GdipFillPie Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
507Declare Function GdipFillPieI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal startAngle As Single, ByVal sweepAngle As Single) As GpStatus
508Declare Function GdipFillPath Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal path As *GpPath) As GpStatus
509Declare Function GdipFillClosedCurve Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPointF, ByVal count As Long) As GpStatus
510Declare Function GdipFillClosedCurveI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPoint, ByVal count As Long) As GpStatus
511Declare Function GdipFillClosedCurve2 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPointF, ByVal count As Long, ByVal tension As Single, ByVal fillMode As GpFillMode) As GpStatus
512Declare Function GdipFillClosedCurve2I Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal points As *GpPoint, ByVal count As Long, ByVal tension As Single, ByVal fillMode As GpFillMode) As GpStatus
513Declare Function GdipFillRegion Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal brush As *GpBrush, ByVal region As *GpRegion) As GpStatus
514Declare Function GdipDrawImage Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Single, ByVal y As Single) As GpStatus
515Declare Function GdipDrawImageI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Long, ByVal y As Long) As GpStatus
516Declare Function GdipDrawImageRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single) As GpStatus
517Declare Function GdipDrawImageRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long) As GpStatus
518Declare Function GdipDrawImagePoints Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal dstpoints As *GpPointF, ByVal count As Long) As GpStatus
519Declare Function GdipDrawImagePointsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal dstpoints As *GpPoint, ByVal count As Long) As GpStatus
520Declare Function GdipDrawImagePointRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Single, ByVal y As Single, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal srcUnit As GpUnit) As GpStatus
521Declare Function GdipDrawImagePointRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal x As Long, ByVal y As Long, ByVal srcx As Long, ByVal srcy As Long, ByVal srcwidth As Long, ByVal srcheight As Long, ByVal srcUnit As GpUnit) As GpStatus
522Declare Function GdipDrawImageRectRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal dstx As Single, ByVal dsty As Single, ByVal dstwidth As Single, ByVal dstheight As Single, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal srcUnit As GpUnit, ByVal imageAttributes As GpImageAttributes, ByVal callback As DrawImageAbort, ByVal callbackData As VoidPtr) As GpStatus
523Declare Function GdipDrawImageRectRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal dstx As Long, ByVal dsty As Long, ByVal dstwidth As Long, ByVal dstheight As Long, ByVal srcx As Long, ByVal srcy As Long, ByVal srcwidth As Long, ByVal srcheight As Long, ByVal srcUnit As GpUnit, ByVal imageAttributes As GpImageAttributes, ByVal callback As DrawImageAbort, ByVal callbackData As VoidPtr) As GpStatus
524Declare Function GdipDrawImagePointsRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal points As *GpPointF, ByVal count As Long, ByVal srcx As Single, ByVal srcy As Single, ByVal srcwidth As Single, ByVal srcheight As Single, ByVal srcUnit As GpUnit, ByVal imageAttributes As GpImageAttributes, ByVal callback As DrawImageAbort, ByVal callbackData As VoidPtr) As GpStatus
525Declare Function GdipDrawImagePointsRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal image As *GpImage, ByVal points As *GpPoint, ByVal count As Long, ByVal srcx As Long, ByVal srcy As Long, ByVal srcwidth As Long, ByVal srcheight As Long, ByVal srcUnit As GpUnit, ByVal imageAttributes As GpImageAttributes, ByVal callback As DrawImageAbort, ByVal callbackData As VoidPtr) As GpStatus
526Declare Function GdipEnumerateMetafileDestPoint Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destPoint As PointF, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
527Declare Function GdipEnumerateMetafileDestPointI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destPoint As Point, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
528Declare Function GdipEnumerateMetafileDestRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destRect As GpRectF, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
529Declare Function GdipEnumerateMetafileDestRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destRect As GpRect, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
530Declare Function GdipEnumerateMetafileDestPoints Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByVal destPoints As *PointF, ByVal count As Long, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
531Declare Function GdipEnumerateMetafileDestPointsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByVal destPoints As *Point, ByVal count As Long, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
532Declare Function GdipEnumerateMetafileSrcRectDestPoint Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destPoint As PointF, ByRef srcRect As GpRectF, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
533Declare Function GdipEnumerateMetafileSrcRectDestPointI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destPoint As Point, ByRef srcRect As GpRect, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
534Declare Function GdipEnumerateMetafileSrcRectDestRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destRect As GpRectF, ByRef srcRect As GpRectF, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
535Declare Function GdipEnumerateMetafileSrcRectDestRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByRef destRect As GpRect, ByRef srcRect As GpRect, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
536Declare Function GdipEnumerateMetafileSrcRectDestPoints Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByVal destPoints As *PointF, ByVal count As Long, ByRef srcRect As GpRectF, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
537Declare Function GdipEnumerateMetafileSrcRectDestPointsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal metafile As GpMetafile, ByVal destPoints As *Point, ByVal count As Long, ByRef srcRect As GpRect, ByVal srcUnit As GraphicsUnit, ByVal callback As EnumerateMetafileProc, ByVal callbackData As VoidPtr, ByVal callbackData As VoidPtr) As GpStatus
538Declare Function GdipPlayMetafileRecord Lib "gdiplus.dll" (ByVal metafile As GpMetafile, ByVal recordType As EmfPlusRecordType, ByVal flags As DWord, dataSize As DWord, ByVal data As *Byte) As GpStatus
539Declare Function GdipSetClipGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal srcgraphics As *GpGraphics, ByVal combineMode As CombineMode) As GpStatus
540Declare Function GdipSetClipRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByVal combineMode As CombineMode) As GpStatus
541Declare Function GdipSetClipRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByVal combineMode As CombineMode) As GpStatus
542Declare Function GdipSetClipPath Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal path As *GpPath, ByVal combineMode As CombineMode) As GpStatus
543Declare Function GdipSetClipRegion Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal region As *GpRegion, ByVal combineMode As CombineMode) As GpStatus
544Declare Function GdipSetClipHrgn Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal hRgn As HRGN, ByVal combineMode As CombineMode) As GpStatus
545Declare Function GdipResetClip Lib "gdiplus.dll" (ByVal graphics As *GpGraphics) As GpStatus
546Declare Function GdipTranslateClip Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal dx As Single, ByVal dy As Single) As GpStatus
547Declare Function GdipTranslateClipI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal dx As Long, ByVal dy As Long) As GpStatus
548Declare Function GdipGetClip Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal region As *GpRegion) As GpStatus
549Declare Function GdipGetClipBounds Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef rect As GpRectF) As GpStatus
550Declare Function GdipGetClipBoundsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef rect As GpRect) As GpStatus
551Declare Function GdipIsClipEmpty Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
552Declare Function GdipGetVisibleClipBounds Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef rect As GpRectF) As GpStatus
553Declare Function GdipGetVisibleClipBoundsI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef rect As GpRect) As GpStatus
554Declare Function GdipIsVisibleClipEmpty Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByRef result As BOOL) As GpStatus
555Declare Function GdipIsVisiblePoint Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Single, ByVal y As Single, ByRef result As BOOL) As GpStatus
556Declare Function GdipIsVisiblePointI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Long, ByVal y As Long, ByRef result As BOOL) As GpStatus
557Declare Function GdipIsVisibleRect Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Single, ByVal y As Single, ByVal width As Single, ByVal height As Single, ByRef result As BOOL) As GpStatus
558Declare Function GdipIsVisibleRectI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal x As Long, ByVal y As Long, ByVal width As Long, ByVal height As Long, ByRef result As BOOL) As GpStatus
559Declare Function GdipSaveGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal state As GraphicsState) As GpStatus
560Declare Function GdipRestoreGraphics Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal state As GraphicsState) As GpStatus
561Declare Function GdipBeginContainer Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal dstrect As *GpRectF, ByVal srcrect As *GpRectF, ByVal unit As GpUnit, ByVal state As *GraphicsContainer) As GpStatus
562Declare Function GdipBeginContainerI Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal dstrect As *GpRect, ByVal srcrect As *GpRect, ByVal unit As GpUnit, ByVal state As *GraphicsContainer) As GpStatus
563Declare Function GdipBeginContainer2 Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal state As *GraphicsContainer) As GpStatus
564Declare Function GdipEndContainer Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal state As *GraphicsContainer) As GpStatus
565Declare Function GdipGetMetafileHeaderFromWmf Lib "gdiplus.dll" (ByVal hWmf As HMETAFILE, ByRef wmfPlaceableFileHeader As WmfPlaceableFileHeader, ByRef header As MetafileHeader) As GpStatus
566Declare Function GdipGetMetafileHeaderFromEmf Lib "gdiplus.dll" (ByVal hEmf As HENHMETAFILE, ByRef header As MetafileHeader) As GpStatus
567Declare Function GdipGetMetafileHeaderFromFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef header As MetafileHeader) As GpStatus
568Declare Function GdipGetMetafileHeaderFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef header As MetafileHeader) As GpStatus
569Declare Function GdipGetMetafileHeaderFromMetafile Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByRef header As MetafileHeader) As GpStatus
570Declare Function GdipGetHemfFromMetafile Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByRef hEmf As HENHMETAFILE) As GpStatus
571Declare Function GdipCreateStreamOnFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal access As DWord, ByRef stream As *IStream) As GpStatus
572Declare Function GdipCreateMetafileFromWmf Lib "gdiplus.dll" (ByVal hWmf As HMETAFILE, ByVal deleteWmf As BOOL, ByRef wmfPlaceableFileHeader As WmfPlaceableFileHeader, ByRef metafile As *GpMetafile) As GpStatus
573Declare Function GdipCreateMetafileFromEmf Lib "gdiplus.dll" (ByVal hEmf As HENHMETAFILE, ByVal deleteEmf As BOOL, ByRef metafile As *GpMetafile) As GpStatus
574Declare Function GdipCreateMetafileFromFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
575Declare Function GdipCreateMetafileFromWmfFile Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByRef wmfPlaceableFileHeader As WmfPlaceableFileHeader, ByRef metafile As *GpMetafile) As GpStatus
576Declare Function GdipCreateMetafileFromStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByRef metafile As *GpMetafile) As GpStatus
577Declare Function GdipRecordMetafile Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
578Declare Function GdipRecordMetafileI Lib "gdiplus.dll" (ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
579Declare Function GdipRecordMetafileFileName Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
580Declare Function GdipRecordMetafileFileNameI Lib "gdiplus.dll" (ByVal filename As PCWSTR, ByVal referenceHdc As HDC, ByVal emfType As EmfType,ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
581Declare Function GdipRecordMetafileStream Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
582Declare Function GdipRecordMetafileStreamI Lib "gdiplus.dll" (ByVal stream As *IStream, ByVal referenceHdc As HDC, ByVal emfType As EmfType, ByRef frameRect As GpRectF, ByVal frameUnit As MetafileFrameUnit, ByVal description As PCWSTR, ByRef metafile As *GpMetafile) As GpStatus
583Declare Function GdipSetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByVal metafileRasterizationLimitDpi As DWord) As GpStatus
584Declare Function GdipGetMetafileDownLevelRasterizationLimit Lib "gdiplus.dll" (ByVal metafile As *GpMetafile, ByRef metafileRasterizationLimitDpi As DWord) As GpStatus
585Declare Function GdipGetImageDecodersSize Lib "gdiplus.dll" (ByRef numDecoders As DWord, ByRef size As DWord) As GpStatus
586Declare Function GdipGetImageDecoders Lib "gdiplus.dll" (ByVal numDecoders As DWord, ByVal size As DWord, ByVal decoders As *ImageCodecInfo) As GpStatus
587Declare Function GdipGetImageEncodersSize Lib "gdiplus.dll" (ByRef numDecoders As DWord, ByRef size As DWord) As GpStatus
588Declare Function GdipGetImageEncoders Lib "gdiplus.dll" (ByVal numEncoders As DWord, ByVal size As DWord, ByVal encoderss As *ImageCodecInfo) As GpStatus
589Declare Function GdipComment Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal sizeData As DWord, ByVal data As *Byte) As GpStatus
590
591' FontFamily APIs
592Declare Function GdipCreateFontFamilyFromName Lib "gdiplus.dll" (ByVal name As *WCHAR, ByVal fontCollection As *GpFontCollection, ByRef FontFamily As *GpFontFamily) As GpStatus
593Declare Function GdipDeleteFontFamily Lib "gdiplus.dll" (ByVal FontFamily As *GpFontFamily) As GpStatus
594Declare Function GdipCloneFontFamily Lib "gdiplus.dll" (ByVal FontFamily As *GpFontFamily, ByRef clonedFontFamily As *GpFontFamily) As GpStatus
595Declare Function GdipGetGenericFontFamilySansSerif Lib "gdiplus.dll" (ByRef nativeFamily As *GpFontFamily) As GpStatus
596Declare Function GdipGetGenericFontFamilySerif Lib "gdiplus.dll" (ByRef nativeFamily As *GpFontFamily) As GpStatus
597Declare Function GdipGetGenericFontFamilyMonospace Lib "gdiplus.dll" (ByRef nativeFamily As *GpFontFamily) As GpStatus
598Declare Function GdipGetFamilyName Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal name As PWSTR, ByVal language As LANGID) As GpStatus ' ByRef name[LF_FACESIZE] As WCHAR
599Declare Function GdipIsStyleAvailable Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal style As Long, ByRef IsStyleAvailable As BOOL) As GpStatus
600Declare Function GdipFontCollectionEnumerable Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByVal graphics As *GpGraphics, ByRef numFound As Long) As GpStatus
601Declare Function GdipFontCollectionEnumerate Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByVal numSought As Long, ByVal gpfamilies As **GpFontFamily, ByRef numFound As Long, ByVal graphics As *GpGraphics) As GpStatus
602Declare Function GdipGetEmHeight Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal style As Long, ByRef EmHeight As Word) As GpStatus
603Declare Function GdipGetCellAscent Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal style As Long, ByRef CellAscent As Word) As GpStatus
604Declare Function GdipGetCellDescent Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal style As Long, ByRef CellDescent As Word) As GpStatus
605Declare Function GdipGetLineSpacing Lib "gdiplus.dll" (ByVal family As *GpFontFamily, ByVal style As Long, ByRef LineSpacing As Word) As GpStatus
606
607' Font APIs
608Declare Function GdipCreateFontFromDC Lib "gdiplus.dll" (ByVal hdc As HDC, ByRef font As *GpFont) As GpStatus
609Declare Function GdipCreateFontFromLogfontA Lib "gdiplus.dll" (ByVal hdc As HDC, ByRef logfont As LOGFONTA, ByRef font As *GpFont) As GpStatus
610Declare Function GdipCreateFontFromLogfontW Lib "gdiplus.dll" (ByVal hdc As HDC, ByRef logfont As LOGFONTW, ByRef font As *GpFont) As GpStatus
611Declare Function GdipCreateFont Lib "gdiplus.dll" (ByVal fontFamily As *GpFontFamily, ByVal emSize As Single, ByVal style As Long, ByVal unit As GraphicsUnit, ByRef font As *GpFont) As GpStatus
612Declare Function GdipCloneFont Lib "gdiplus.dll" (ByVal font As *GpFont, ByRef cloneFont As *GpFont) As GpStatus
613Declare Function GdipDeleteFont Lib "gdiplus.dll" (ByVal font As *GpFont) As GpStatus
614Declare Function GdipGetFamily Lib "gdiplus.dll" (ByVal font As *GpFont, ByRef family As *GpFontFamily) As GpStatus
615Declare Function GdipGetFontStyle Lib "gdiplus.dll" (ByVal font As *GpFont, ByRef style As Long) As GpStatus
616Declare Function GdipGetFontSize Lib "gdiplus.dll" (ByVal font As *GpFont, ByRef size As Single) As GpStatus
617Declare Function GdipGetFontUnit Lib "gdiplus.dll" (ByVal font As *GpFont, ByRef unit As GraphicsUnit) As GpStatus
618Declare Function GdipGetFontHeight Lib "gdiplus.dll" (ByVal font As *GpFont, ByVal graphics As *GpGraphics, ByRef height As Single) As GpStatus
619Declare Function GdipGetFontHeightGivenDPI Lib "gdiplus.dll" (ByVal font As *GpFont, ByVal dpi As Single, ByRef height As Single) As GpStatus
620Declare Function GdipGetLogFontA Lib "gdiplus.dll" (ByVal font As *GpFont, ByVal graphics As *GpGraphics, ByRef logfontA As LOGFONTA) As GpStatus
621Declare Function GdipGetLogFontW Lib "gdiplus.dll" (ByVal font As *GpFont, ByVal graphics As *GpGraphics, ByRef logfontW As LOGFONTW) As GpStatus
622Declare Function GdipNewInstalledFontCollection Lib "gdiplus.dll" (ByRef fontCollection As *GpFontCollection) As GpStatus
623Declare Function GdipNewPrivateFontCollection Lib "gdiplus.dll" (ByRef fontCollection As *GpFontCollection) As GpStatus
624Declare Function GdipDeletePrivateFontCollection Lib "gdiplus.dll" (ByRef fontCollection As *GpFontCollection) As GpStatus
625Declare Function GdipGetFontCollectionFamilyCount Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByRef numFound As Long) As GpStatus
626Declare Function GdipGetFontCollectionFamilyList Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByVal numSought As Long, ByVal gpfamilies As **GpFontFamily, ByRef numFound As Long) As GpStatus
627Declare Function GdipPrivateAddFontFile Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByVal filename As PCWSTR) As GpStatus
628Declare Function GdipPrivateAddMemoryFont Lib "gdiplus.dll" (ByVal fontCollection As *GpFontCollection, ByVal memory As VoidPtr, ByVal length As Long) As GpStatus
629
630' Text APIs
631Declare Function GdipDrawString Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal string As PCWSTR, ByVal length As Long, font As *GpFont, ByRef layoutRect As GpRectF, ByVal stringFormat As *GpStringFormat, ByVal brush As *GpBrush) As GpStatus
632Declare Function GdipMeasureString Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal string As PCWSTR, ByVal length As Long, ByVal font As *GpFont, ByRef layoutRect As GpRectF, ByVal stringFormat As *GpStringFormat, ByRef boundingBox As GpRectF, ByRef codepointsFitted As Long, ByRef linesFilled As Long) As GpStatus
633Declare Function GdipMeasureCharacterRanges Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal str As PCWSTR, ByVal length As Long, ByVal font As *GpFont, ByRef layoutRect As GpRectF, ByVal stringFormat As *GpStringFormat, ByVal regionCount As Long, ByRef regions As *GpRegion) As GpStatus
634Declare Function GdipDrawDriverString Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal text As *Word, ByVal length As Long, ByVal font As *GpFont, ByVal brush As *GpBrush, ByVal positions As *PointF, ByVal flags As Long, ByVal matrix As *GpMatrix) As GpStatus
635Declare Function GdipMeasureDriverString Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal text As *Word, ByVal length As Long, ByVal font As *GpFont, ByVal positions As *PointF, ByVal flags As Long, ByVal matrix As *GpMatrix, ByRef boundingBox As GpRectF) As GpStatus
636
637' String format APIs
638Declare Function GdipCreateStringFormat Lib "gdiplus.dll" (ByVal formatAttributes As Long, ByVal language As LANGID, ByRef format As *GpStringFormat) As GpStatus
639Declare Function GdipStringFormatGetGenericDefault Lib "gdiplus.dll" (ByRef format As *GpStringFormat) As GpStatus
640Declare Function GdipStringFormatGetGenericTypographic Lib "gdiplus.dll" (ByRef format As *GpStringFormat) As GpStatus
641Declare Function GdipDeleteStringFormat Lib "gdiplus.dll" (ByVal format As *GpStringFormat) As GpStatus
642Declare Function GdipCloneStringFormat Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef newFormat As *GpStringFormat) As GpStatus
643Declare Function GdipSetStringFormatFlags Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal flags As Long) As GpStatus
644Declare Function GdipGetStringFormatFlags Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef flags As Long) As GpStatus
645Declare Function GdipSetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As StringAlignment) As GpStatus
646Declare Function GdipGetStringFormatAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus
647Declare Function GdipSetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal align As StringAlignment) As GpStatus
648Declare Function GdipGetStringFormatLineAlign Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef align As StringAlignment) As GpStatus
649Declare Function GdipSetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal trimming As StringTrimming) As GpStatus
650Declare Function GdipGetStringFormatTrimming Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef trimming As StringTrimming) As GpStatus
651Declare Function GdipSetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal hotkeyPrefix As Long) As GpStatus
652Declare Function GdipGetStringFormatHotkeyPrefix Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef hotkeyPrefix As Long) As GpStatus
653Declare Function GdipSetStringFormatTabStops Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal firstTabOffset As Single, ByVal count As Long, ByVal tabStops As *Single) As GpStatus
654Declare Function GdipGetStringFormatTabStops Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal count As Long, ByRef firstTabOffset As Single, ByVal tabStops As *Single) As GpStatus
655Declare Function GdipGetStringFormatTabStopCount Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef count As Long) As GpStatus
656Declare Function GdipSetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal language As LANGID, ByVal substitute As StringDigitSubstitute) As GpStatus
657Declare Function GdipGetStringFormatDigitSubstitution Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef language As LANGID, ByRef substitute As StringDigitSubstitute) As GpStatus
658Declare Function GdipGetStringFormatMeasurableCharacterRangeCount Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByRef count As Long) As GpStatus
659Declare Function GdipSetStringFormatMeasurableCharacterRanges Lib "gdiplus.dll" (ByVal format As *GpStringFormat, ByVal rangeCount As Long, ByVal ranges As *CharacterRange) As GpStatus
660
661' Cached Bitmap APIs
662Declare Function GdipCreateCachedBitmap Lib "gdiplus.dll" (ByVal bitmap As *GpBitmap, ByVal graphics As *GpGraphics, ByRef cachedBitmap As *GpCachedBitmap) As GpStatus
663Declare Function GdipDeleteCachedBitmap Lib "gdiplus.dll" (ByVal cachedBitmap As *GpCachedBitmap) As GpStatus
664Declare Function GdipDrawCachedBitmap Lib "gdiplus.dll" (ByVal graphics As *GpGraphics, ByVal cachedBitmap As *GpCachedBitmap, ByVal x As Long, ByVal y As Long) As GpStatus
665Declare Function GdipEmfToWmfBits Lib "gdiplus.dll" (ByVal hemf As HENHMETAFILE, ByVal cbData16 As DWord, ByVal pData16 As *Byte, ByVal iMapMode As Long, ByVal eFlags As Long) As DWord
666Declare Function GdipSetImageAttributesCachedBackground Lib "gdiplus.dll" (ByVal imageattr As *GpImageAttributes, ByVal enableFlag As BOOL) As GpStatus
667Declare Function GdipTestControl Lib "gdiplus.dll" (ByVal control As GpTestControlEnum, ByVal param As VoidPtr) As GpStatus
668Declare Function GdiplusNotificationHook Lib "gdiplus.dll" (ByRef token As ULONG_PTR) As GpStatus
669Declare Sub GdiplusNotificationUnhook Lib "gdiplus.dll" (ByVal token As ULONG_PTR)
670
671End Namespace 'DllExports
672End Namespace 'Gdiplus
673
674#endif '__GDIPLUS_FLATAPI_AB__
Note: See TracBrowser for help on using the repository browser.