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