]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/gdiplus/gdiplus.factor
Merge branch 'master' of http://factorcode.org/git/factor into native-image-loader
[factor.git] / basis / windows / gdiplus / gdiplus.factor
1 ! (c)2010 Joe Groff bsd license
2 USING: alien.c-types alien.data alien.destructors alien.syntax
3 classes.struct kernel math windows.com windows.com.syntax
4 windows.kernel32 windows.ole32 windows.types ;
5 FROM: alien.c-types => float ;
6 IN: windows.gdiplus
7
8 LIBRARY: gdiplus
9
10 FUNCTION: void* GdipAlloc ( SIZE_T size ) ;
11 FUNCTION: void GdipFree ( void* mem ) ;
12
13 DESTRUCTOR: GdipFree
14
15 TYPEDEF: float REAL
16
17 ENUM: GpStatus
18     { Ok                          0 }
19     { GenericError                1 }
20     { InvalidParameter            2 }
21     { OutOfMemory                 3 }
22     { ObjectBusy                  4 }
23     { InsufficientBuffer          5 }
24     { NotImplemented              6 }
25     { Win32Error                  7 }
26     { WrongState                  8 }
27     { Aborted                     9 }
28     { FileNotFound               10 }
29     { ValueOverflow              11 }
30     { AccessDenied               12 }
31     { UnknownImageFormat         13 }
32     { FontFamilyNotFound         14 }
33     { FontStyleNotFound          15 }
34     { NotTrueTypeFont            16 }
35     { UnsupportedGdiplusVersion  17 }
36     { GdiplusNotInitialized      18 }
37     { PropertyNotFound           19 }
38     { PropertyNotSupported       20 }
39     { ProfileNotFound            21 } ;
40
41 CALLBACK: BOOL ImageAbort ( void* data ) ;
42 TYPEDEF: ImageAbort DrawImageAbort
43 TYPEDEF: ImageAbort GetThumbnailImageAbort
44
45 STRUCT: GpPoint
46     { X INT }
47     { Y INT } ;
48
49 STRUCT: GpPointF
50     { X REAL }
51     { Y REAL } ;
52
53 STRUCT: GpPathData
54     { Count INT }
55     { Points GpPointF* }
56     { Types BYTE* } ;
57
58 STRUCT: GpRectF
59     { X REAL }
60     { Y REAL }
61     { Width REAL }
62     { Height REAL } ;
63
64 STRUCT: GpRect
65     { X INT }
66     { Y INT }
67     { Width INT }
68     { Height INT } ;
69
70 STRUCT: CharacterRange
71     { First INT }
72     { Length INT } ;
73
74 TYPEDEF: UINT GraphicsState
75 TYPEDEF: UINT GraphicsContainer
76
77 ENUM: GpUnit
78     { UnitWorld       0 }
79     { UnitDisplay     1 }
80     { UnitPixel       2 }
81     { UnitPoint       3 }
82     { UnitInch        4 }
83     { UnitDocument    5 }
84     { UnitMillimeter  6 } ;
85
86 ENUM: GpBrushType
87     { BrushTypeSolidColor       0 }
88     { BrushTypeHatchFill        1 }
89     { BrushTypeTextureFill      2 }
90     { BrushTypePathGradient     3 }
91     { BrushTypeLinearGradient   4 } ;
92
93 ENUM: GpFillMode
94     { FillModeAlternate   0 }
95     { FillModeWinding     1 } ;
96
97 ENUM: GpLineCap
98     { LineCapFlat             HEX: 00 }
99     { LineCapSquare           HEX: 01 }
100     { LineCapRound            HEX: 02 }
101     { LineCapTriangle         HEX: 03 }
102
103     { LineCapNoAnchor         HEX: 10 }
104     { LineCapSquareAnchor     HEX: 11 }
105     { LineCapRoundAnchor      HEX: 12 }
106     { LineCapDiamondAnchor    HEX: 13 }
107     { LineCapArrowAnchor      HEX: 14 }
108
109     { LineCapCustom           HEX: ff }
110     { LineCapAnchorMask       HEX: f0 } ;
111
112 ENUM: PathPointType
113     { PathPointTypeStart            0 }
114     { PathPointTypeLine             1 }
115     { PathPointTypeBezier           3 }
116     { PathPointTypePathTypeMask     7 }
117     { PathPointTypePathDashMode    16 }
118     { PathPointTypePathMarker      32 }
119     { PathPointTypeCloseSubpath   128 }
120     { PathPointTypeBezier3          3 } ;
121
122 ENUM: GpPenType
123     { PenTypeSolidColor         BrushTypeSolidColor }
124     { PenTypeHatchFill          BrushTypeHatchFill }
125     { PenTypeTextureFill        BrushTypeTextureFill }
126     { PenTypePathGradient       BrushTypePathGradient }
127     { PenTypeLinearGradient     BrushTypeLinearGradient }
128     { PenTypeUnknown            -1 } ;
129
130 ENUM: GpLineJoin
131     { LineJoinMiter             0 }
132     { LineJoinBevel             1 }
133     { LineJoinRound             2 }
134     { LineJoinMiterClipped      3 } ;
135
136 ENUM: QualityMode
137     { QualityModeInvalid    -1 }
138     { QualityModeDefault    0 }
139     { QualityModeLow        1 }
140     { QualityModeHigh       2 } ;
141
142 ENUM: SmoothingMode
143     { SmoothingModeInvalid       QualityModeInvalid }
144     { SmoothingModeDefault       QualityModeDefault }
145     { SmoothingModeHighSpeed     QualityModeLow }
146     { SmoothingModeHighQuality   QualityModeHigh }
147     SmoothingModeNone
148     SmoothingModeAntiAlias ;
149
150 ENUM: CompositingQuality
151     { CompositingQualityInvalid            QualityModeInvalid }
152     { CompositingQualityDefault            QualityModeDefault }
153     { CompositingQualityHighSpeed          QualityModeLow }
154     { CompositingQualityHighQuality        QualityModeHigh }
155     CompositingQualityGammaCorrected
156     CompositingQualityAssumeLinear ;
157
158 ENUM: InterpolationMode
159     { InterpolationModeInvalid          QualityModeInvalid }
160     { InterpolationModeDefault          QualityModeDefault }
161     { InterpolationModeLowQuality       QualityModeLow }
162     { InterpolationModeHighQuality      QualityModeHigh }
163     InterpolationModeBilinear
164     InterpolationModeBicubic
165     InterpolationModeNearestNeighbor
166     InterpolationModeHighQualityBilinear
167     InterpolationModeHighQualityBicubic ;
168
169 ENUM: GpPenAlignment
170     { PenAlignmentCenter     0 }
171     { PenAlignmentInset      1 } ;
172
173 ENUM: PixelOffsetMode
174     { PixelOffsetModeInvalid       QualityModeInvalid }
175     { PixelOffsetModeDefault       QualityModeDefault }
176     { PixelOffsetModeHighSpeed     QualityModeLow }
177     { PixelOffsetModeHighQuality   QualityModeHigh }
178     PixelOffsetModeNone
179     PixelOffsetModeHalf ;
180
181 ENUM: GpDashCap
182     { DashCapFlat       0 }
183     { DashCapRound      2 }
184     { DashCapTriangle   3 } ;
185
186 ENUM: GpDashStyle
187     DashStyleSolid
188     DashStyleDash
189     DashStyleDot
190     DashStyleDashDot
191     DashStyleDashDotDot
192     DashStyleCustom ;
193
194 ENUM: GpMatrixOrder
195     { MatrixOrderPrepend   0 }
196     { MatrixOrderAppend    1 } ;
197
198 ENUM: ImageType
199     ImageTypeUnknown
200     ImageTypeBitmap
201     ImageTypeMetafile ;
202
203 ENUM: WarpMode
204     WarpModePerspective
205     WarpModeBilinear ;
206
207 ENUM: GpWrapMode
208     WrapModeTile
209     WrapModeTileFlipX
210     WrapModeTileFlipY
211     WrapModeTileFlipXY
212     WrapModeClamp ;
213
214 ENUM: MetafileType
215     MetafileTypeInvalid
216     MetafileTypeWmf
217     MetafileTypeWmfPlaceable
218     MetafileTypeEmf
219     MetafileTypeEmfPlusOnly
220     MetafileTypeEmfPlusDual ;
221
222 ENUM: LinearGradientMode
223     LinearGradientModeHorizontal
224     LinearGradientModeVertical
225     LinearGradientModeForwardDiagonal
226     LinearGradientModeBackwardDiagonal ;
227
228 ENUM: EmfType
229     { EmfTypeEmfOnly       MetafileTypeEmf }
230     { EmfTypeEmfPlusOnly   MetafileTypeEmfPlusOnly }
231     { EmfTypeEmfPlusDual   MetafileTypeEmfPlusDual } ;
232
233 ENUM: CompositingMode
234     CompositingModeSourceOver
235     CompositingModeSourceCopy ;
236
237 ENUM: TextRenderingHint
238     { TextRenderingHintSystemDefault   0 }
239     TextRenderingHintSingleBitPerPixelGridFit
240     TextRenderingHintSingleBitPerPixel
241     TextRenderingHintAntiAliasGridFit
242     TextRenderingHintAntiAlias
243     TextRenderingHintClearTypeGridFit ;
244
245 ENUM: StringAlignment
246     { StringAlignmentNear      0 }
247     { StringAlignmentCenter    1 }
248     { StringAlignmentFar       2 } ;
249
250 ENUM:  StringDigitSubstitute
251     { StringDigitSubstituteUser          0 }
252     { StringDigitSubstituteNone          1 }
253     { StringDigitSubstituteNational      2 }
254     { StringDigitSubstituteTraditional   3 } ;
255
256 ENUM: StringFormatFlags
257     { StringFormatFlagsDirectionRightToLeft    HEX: 00000001 }
258     { StringFormatFlagsDirectionVertical       HEX: 00000002 }
259     { StringFormatFlagsNoFitBlackBox           HEX: 00000004 }
260     { StringFormatFlagsDisplayFormatControl    HEX: 00000020 }
261     { StringFormatFlagsNoFontFallback          HEX: 00000400 }
262     { StringFormatFlagsMeasureTrailingSpaces   HEX: 00000800 }
263     { StringFormatFlagsNoWrap                  HEX: 00001000 }
264     { StringFormatFlagsLineLimit               HEX: 00002000 }
265     { StringFormatFlagsNoClip                  HEX: 00004000 } ;
266
267 ENUM: StringTrimming
268     { StringTrimmingNone                   0 }
269     { StringTrimmingCharacter              1 }
270     { StringTrimmingWord                   2 }
271     { StringTrimmingEllipsisCharacter      3 }
272     { StringTrimmingEllipsisWord           4 }
273     { StringTrimmingEllipsisPath           5 } ;
274
275 ENUM: FontStyle
276     { FontStyleRegular      0 }
277     { FontStyleBold         1 }
278     { FontStyleItalic       2 }
279     { FontStyleBoldItalic   3 }
280     { FontStyleUnderline    4 }
281     { FontStyleStrikeout    8 } ;
282
283 ENUM: HotkeyPrefix
284     { HotkeyPrefixNone     0 }
285     { HotkeyPrefixShow     1 }
286     { HotkeyPrefixHide     2 } ;
287
288 ENUM: PaletteFlags
289     { PaletteFlagsHasAlpha          1 }
290     { PaletteFlagsGrayScale         2 }
291     { PaletteFlagsHalftone          4 } ;
292
293 ENUM: ImageCodecFlags
294     { ImageCodecFlagsEncoder            1 }
295     { ImageCodecFlagsDecoder            2 }
296     { ImageCodecFlagsSupportBitmap      4 }
297     { ImageCodecFlagsSupportVector      8 }
298     { ImageCodecFlagsSeekableEncode     16 }
299     { ImageCodecFlagsBlockingDecode     32 }
300     { ImageCodecFlagsBuiltin            65536 }
301     { ImageCodecFlagsSystem             131072 }
302     { ImageCodecFlagsUser               262144 } ;
303
304 ENUM: ImageFlags
305     { ImageFlagsNone                0 }
306     { ImageFlagsScalable            HEX: 0001 }
307     { ImageFlagsHasAlpha            HEX: 0002 }
308     { ImageFlagsHasTranslucent      HEX: 0004 }
309     { ImageFlagsPartiallyScalable   HEX: 0008 }
310     { ImageFlagsColorSpaceRGB       HEX: 0010 }
311     { ImageFlagsColorSpaceCMYK      HEX: 0020 }
312     { ImageFlagsColorSpaceGRAY      HEX: 0040 }
313     { ImageFlagsColorSpaceYCBCR     HEX: 0080 }
314     { ImageFlagsColorSpaceYCCK      HEX: 0100 }
315     { ImageFlagsHasRealDPI          HEX: 1000 }
316     { ImageFlagsHasRealPixelSize    HEX: 2000 }
317     { ImageFlagsReadOnly            HEX: 00010000 }
318     { ImageFlagsCaching             HEX: 00020000 } ;
319
320 ENUM: CombineMode
321     CombineModeReplace
322     CombineModeIntersect
323     CombineModeUnion
324     CombineModeXor
325     CombineModeExclude
326     CombineModeComplement ;
327
328 ENUM: GpFlushIntention
329     { FlushIntentionFlush   0 }
330     { FlushIntentionSync    1 } ;
331
332 ENUM: GpCoordinateSpace
333     CoordinateSpaceWorld
334     CoordinateSpacePage
335     CoordinateSpaceDevice ;
336
337 ENUM: GpTestControlEnum
338     { TestControlForceBilinear    0 }
339     { TestControlNoICM            1 }
340     { TestControlGetBuildNumber   2 } ;
341
342 ENUM: MetafileFrameUnit
343     { MetafileFrameUnitPixel        UnitPixel }
344     { MetafileFrameUnitPoint        UnitPoint }
345     { MetafileFrameUnitInch         UnitInch }
346     { MetafileFrameUnitDocument     UnitDocument }
347     { MetafileFrameUnitMillimeter   UnitMillimeter }
348     MetafileFrameUnitGdi ;
349
350 ENUM: HatchStyle
351     { HatchStyleHorizontal   0 }
352     { HatchStyleVertical   1 }
353     { HatchStyleForwardDiagonal   2 }
354     { HatchStyleBackwardDiagonal   3 }
355     { HatchStyleCross   4 }
356     { HatchStyleDiagonalCross   5 }
357     { HatchStyle05Percent   6 }
358     { HatchStyle10Percent   7 }
359     { HatchStyle20Percent   8 }
360     { HatchStyle25Percent   9 }
361     { HatchStyle30Percent   10 }
362     { HatchStyle40Percent   11 }
363     { HatchStyle50Percent   12 }
364     { HatchStyle60Percent   13 }
365     { HatchStyle70Percent   14 }
366     { HatchStyle75Percent   15 }
367     { HatchStyle80Percent   16 }
368     { HatchStyle90Percent   17 }
369     { HatchStyleLightDownwardDiagonal   18 }
370     { HatchStyleLightUpwardDiagonal   19 }
371     { HatchStyleDarkDownwardDiagonal   20 }
372     { HatchStyleDarkUpwardDiagonal   21 }
373     { HatchStyleWideDownwardDiagonal   22 }
374     { HatchStyleWideUpwardDiagonal   23 }
375     { HatchStyleLightVertical   24 }
376     { HatchStyleLightHorizontal   25 }
377     { HatchStyleNarrowVertical   26 }
378     { HatchStyleNarrowHorizontal   27 }
379     { HatchStyleDarkVertical   28 }
380     { HatchStyleDarkHorizontal   29 }
381     { HatchStyleDashedDownwardDiagonal   30 }
382     { HatchStyleDashedUpwardDiagonal   31 }
383     { HatchStyleDashedHorizontal   32 }
384     { HatchStyleDashedVertical   33 }
385     { HatchStyleSmallConfetti   34 }
386     { HatchStyleLargeConfetti   35 }
387     { HatchStyleZigZag   36 }
388     { HatchStyleWave   37 }
389     { HatchStyleDiagonalBrick   38 }
390     { HatchStyleHorizontalBrick   39 }
391     { HatchStyleWeave   40 }
392     { HatchStylePlaid   41 }
393     { HatchStyleDivot   42 }
394     { HatchStyleDottedGrid   43 }
395     { HatchStyleDottedDiamond   44 }
396     { HatchStyleShingle   45 }
397     { HatchStyleTrellis   46 }
398     { HatchStyleSphere   47 }
399     { HatchStyleSmallGrid   48 }
400     { HatchStyleSmallCheckerBoard   49 }
401     { HatchStyleLargeCheckerBoard   50 }
402     { HatchStyleOutlinedDiamond   51 }
403     { HatchStyleSolidDiamond   52 }
404     { HatchStyleTotal   53 }
405     { HatchStyleLargeGrid   4 }
406     { HatchStyleMin   0 }
407     { HatchStyleMax   52 } ;
408
409 ENUM: DebugEventLevel
410     DebugEventLevelFatal
411     DebugEventLevelWarning ;
412
413 CALLBACK: void DebugEventProc ( DebugEventLevel level, c-string msg ) ;
414 CALLBACK: GpStatus NotificationHookProc ( ULONG_PTR* x ) ;
415 CALLBACK: void NotificationUnhookProc ( ULONG_PTR x ) ;
416
417 STRUCT: GdiplusStartupInput
418     { GdiplusVersion UINT32 }
419     { DebugEventCallback DebugEventProc }
420     { SuppressBackgroundThread BOOL }
421     { SuppressExternalCodecs BOOL } ;
422
423 STRUCT: GdiplusStartupOutput
424     { NotificationHook NotificationHookProc }
425     { NotificationUnhook NotificationUnhookProc } ;
426
427 FUNCTION: GpStatus GdiplusStartup ( ULONG_PTR* x, GdiplusStartupInput* in, GdiplusStartupOutput* out ) ;
428 FUNCTION: void GdiplusShutdown ( ULONG_PTR x ) ;
429
430 TYPEDEF: DWORD ARGB
431 TYPEDEF: INT PixelFormat
432
433 <PRIVATE
434 : pixel-format-constant ( n m l -- format )
435     [ ] [ 8 shift ] [ ] tri* bitor bitor ; inline
436 PRIVATE>
437
438 CONSTANT: PixelFormatIndexed   HEX: 00010000
439 CONSTANT: PixelFormatGDI       HEX: 00020000
440 CONSTANT: PixelFormatAlpha     HEX: 00040000
441 CONSTANT: PixelFormatPAlpha    HEX: 00080000
442 CONSTANT: PixelFormatExtended  HEX: 00100000
443 CONSTANT: PixelFormatCanonical HEX: 00200000
444
445 CONSTANT: PixelFormatUndefined 0
446 CONSTANT: PixelFormatDontCare  0
447 CONSTANT: PixelFormatMax               15
448
449 : PixelFormat1bppIndexed ( -- x )
450     1  1 PixelFormatIndexed PixelFormatGDI bitor pixel-format-constant ; inline
451 : PixelFormat4bppIndexed ( -- x )
452     2  4 PixelFormatIndexed PixelFormatGDI bitor pixel-format-constant ; inline
453 : PixelFormat8bppIndexed ( -- x )
454     3  8 PixelFormatIndexed PixelFormatGDI bitor pixel-format-constant ; inline
455 : PixelFormat16bppGrayScale ( -- x )
456     4 16 PixelFormatExtended pixel-format-constant ; inline
457 : PixelFormat16bppRGB555 ( -- x )
458     5 16 PixelFormatGDI pixel-format-constant ; inline
459 : PixelFormat16bppRGB565 ( -- x )
460     6 16 PixelFormatGDI pixel-format-constant ; inline
461 : PixelFormat16bppARGB1555 ( -- x )
462     7 16 PixelFormatAlpha PixelFormatGDI bitor pixel-format-constant ; inline
463 : PixelFormat24bppRGB ( -- x )
464     8 24 PixelFormatGDI pixel-format-constant ; inline
465 : PixelFormat32bppRGB ( -- x )
466     9 32 PixelFormatGDI pixel-format-constant ; inline
467 : PixelFormat32bppARGB ( -- x )
468     10 32 PixelFormatAlpha PixelFormatGDI PixelFormatCanonical bitor bitor pixel-format-constant ; inline
469 : PixelFormat32bppPARGB ( -- x )
470     11 32 PixelFormatAlpha PixelFormatPAlpha PixelFormatGDI bitor bitor pixel-format-constant ; inline
471 : PixelFormat48bppRGB ( -- x )
472     12 48 PixelFormatExtended pixel-format-constant ; inline
473 : PixelFormat64bppARGB ( -- x )
474     13 64 PixelFormatAlpha PixelFormatCanonical PixelFormatExtended bitor bitor pixel-format-constant ; inline
475 : PixelFormat64bppPARGB ( -- x )
476     14 64 PixelFormatAlpha PixelFormatPAlpha PixelFormatExtended bitor bitor pixel-format-constant ; inline
477
478 STRUCT: ColorPalette
479     { Flags UINT }
480     { Count UINT }
481     { Entries ARGB[1] } ;
482
483 ! XXX RECTL and SIZEL should go with other metafile definitions if we add them
484 STRUCT: RECTL
485     { left   LONG }
486     { top    LONG }
487     { right  LONG }
488     { bottom LONG } ;
489
490 STRUCT: SIZEL
491     { width LONG }
492     { height LONG } ;
493
494 STRUCT: ENHMETAHEADER3
495     { iType DWORD }
496     { nSize DWORD }
497     { rclBounds RECTL }
498     { rclFrame RECTL }
499     { dSignature DWORD }
500     { nVersion DWORD }
501     { nBytes DWORD }
502     { nRecords DWORD }
503     { nHandles WORD }
504     { sReserved WORD }
505     { nDescription DWORD }
506     { offDescription DWORD }
507     { nPalEntries DWORD }
508     { szlDevice SIZEL }
509     { szlMillimeters SIZEL } ;
510
511 STRUCT: PWMFRect16
512     { Left INT16 }
513     { Top INT16 }
514     { Right INT16 }
515     { Bottom INT16 } ;
516
517 STRUCT: WmfPlaceableFileHeader
518     { Key UINT32 }
519     { Hmf INT16 }
520     { BoundingBox PWMFRect16 }
521     { Inch INT16 }
522     { Reserved INT16[2] }
523     { Checksum INT16 } ;
524
525 CONSTANT: GDIP_EMFPLUSFLAGS_DISPLAY 1
526
527 ! XXX we don't have a METAHEADER struct defined
528 ! UNION-STRUCT: MetafileHeader-union
529 !     { WmfHeader METAHEADER }
530 !     { EmfHeader ENHMETAHEADER3 } ;
531
532 UNION-STRUCT: MetafileHeader-union
533     { EmfHeader ENHMETAHEADER3 } ;
534
535 STRUCT: MetafileHeader
536     { Type MetafileType }
537     { Size UINT }
538     { Version UINT }
539     { EmfPlusFlags UINT }
540     { DpiX REAL }
541     { DpiY REAL }
542     { X INT }
543     { Y INT }
544     { Width INT }
545     { Height INT }
546     { Header-union MetafileHeader-union }
547     { EmfPlusHeaderSize INT }
548     { LogicalDpiX INT }
549     { LogicalDpiY INT } ;
550
551 CONSTANT: ImageFormatUndefined      GUID: {b96b3ca9-0728-11d3-9d7b-0000f81ef32e}
552 CONSTANT: ImageFormatMemoryBMP      GUID: {b96b3caa-0728-11d3-9d7b-0000f81ef32e}
553 CONSTANT: ImageFormatBMP            GUID: {b96b3cab-0728-11d3-9d7b-0000f81ef32e}
554 CONSTANT: ImageFormatEMF            GUID: {b96b3cac-0728-11d3-9d7b-0000f81ef32e}
555 CONSTANT: ImageFormatWMF            GUID: {b96b3cad-0728-11d3-9d7b-0000f81ef32e}
556 CONSTANT: ImageFormatJPEG           GUID: {b96b3cae-0728-11d3-9d7b-0000f81ef32e}
557 CONSTANT: ImageFormatPNG            GUID: {b96b3caf-0728-11d3-9d7b-0000f81ef32e}
558 CONSTANT: ImageFormatGIF            GUID: {b96b3cb0-0728-11d3-9d7b-0000f81ef32e}
559 CONSTANT: ImageFormatTIFF           GUID: {b96b3cb1-0728-11d3-9d7b-0000f81ef32e}
560 CONSTANT: ImageFormatEXIF           GUID: {b96b3cb2-0728-11d3-9d7b-0000f81ef32e}
561 CONSTANT: ImageFormatIcon           GUID: {b96b3cb5-0728-11d3-9d7b-0000f81ef32e}
562
563 CONSTANT: FrameDimensionTime        GUID: {6aedbd6d-3fb5-418a-83a6-7f45229dc872}
564 CONSTANT: FrameDimensionPage        GUID: {7462dc86-6180-4c7e-8e3f-ee7333a7a483}
565 CONSTANT: FrameDimensionResolution  GUID: {84236f7b-3bd3-428f-8dab-4ea1439ca315}
566
567 ENUM: ImageLockMode
568     { ImageLockModeRead           1 }
569     { ImageLockModeWrite          2 }
570     { ImageLockModeUserInputBuf   4 } ;
571
572 ENUM: RotateFlipType
573     { RotateNoneFlipNone 0 }
574     { Rotate180FlipXY    RotateNoneFlipNone }
575
576     { Rotate90FlipNone   1 }
577     { Rotate270FlipXY    Rotate90FlipNone }
578
579     { Rotate180FlipNone  2 }
580     { RotateNoneFlipXY   Rotate180FlipNone }
581
582     { Rotate270FlipNone  3 }
583     { Rotate90FlipXY     Rotate270FlipNone }
584
585     { RotateNoneFlipX    4 }
586     { Rotate180FlipY     RotateNoneFlipX }
587
588     { Rotate90FlipX      5 }
589     { Rotate270FlipY     Rotate90FlipX }
590
591     { Rotate180FlipX     6 }
592     { RotateNoneFlipY    Rotate180FlipX }
593
594     { Rotate270FlipX     7 }
595     { Rotate90FlipY      Rotate270FlipX } ;
596
597 STRUCT: EncoderParameter
598     { Guid GUID }
599     { NumberOfValues ULONG }
600     { Type ULONG }
601     { Value void* } ;
602
603 STRUCT: EncoderParameters
604     { Count UINT }
605     { Parameter EncoderParameter[1] } ;
606
607 STRUCT: ImageCodecInfo
608     { Clsid CLSID }
609     { FormatID GUID }
610     { CodecName WCHAR* }
611     { DllName WCHAR* }
612     { FormatDescription WCHAR* }
613     { FilenameExtension WCHAR* }
614     { MimeType WCHAR* }
615     { Flags DWORD }
616     { Version DWORD }
617     { SigCount DWORD }
618     { SigSize DWORD }
619     { SigPattern BYTE* }
620     { SigMask BYTE* } ;
621
622 STRUCT: BitmapData
623     { Width UINT }
624     { Height UINT }
625     { Stride INT }
626     { PixelFormat PixelFormat }
627     { Scan0 void* }
628     { Reserved UINT_PTR } ;
629
630 STRUCT: ImageItemData
631     { Size UINT }
632     { Position UINT }
633     { Desc void* }
634     { DescSize UINT }
635     { Data void* }
636     { DataSize UINT }
637     { Cookie UINT } ;
638
639 STRUCT: PropertyItem
640     { id PROPID }
641     { length ULONG }
642     { type WORD }
643     { value void* } ;
644
645 CONSTANT: PropertyTagTypeByte       1
646 CONSTANT: PropertyTagTypeASCII      2
647 CONSTANT: PropertyTagTypeShort      3
648 CONSTANT: PropertyTagTypeLong       4
649 CONSTANT: PropertyTagTypeRational   5
650 CONSTANT: PropertyTagTypeUndefined  7
651 CONSTANT: PropertyTagTypeSLONG      9
652 CONSTANT: PropertyTagTypeSRational 10
653
654 CONSTANT: PropertyTagExifIFD                HEX: 8769
655 CONSTANT: PropertyTagGpsIFD                 HEX: 8825
656
657 CONSTANT: PropertyTagNewSubfileType         HEX: 00FE
658 CONSTANT: PropertyTagSubfileType            HEX: 00FF
659 CONSTANT: PropertyTagImageWidth             HEX: 0100
660 CONSTANT: PropertyTagImageHeight            HEX: 0101
661 CONSTANT: PropertyTagBitsPerSample          HEX: 0102
662 CONSTANT: PropertyTagCompression            HEX: 0103
663 CONSTANT: PropertyTagPhotometricInterp      HEX: 0106
664 CONSTANT: PropertyTagThreshHolding          HEX: 0107
665 CONSTANT: PropertyTagCellWidth              HEX: 0108
666 CONSTANT: PropertyTagCellHeight             HEX: 0109
667 CONSTANT: PropertyTagFillOrder              HEX: 010A
668 CONSTANT: PropertyTagDocumentName           HEX: 010D
669 CONSTANT: PropertyTagImageDescription       HEX: 010E
670 CONSTANT: PropertyTagEquipMake              HEX: 010F
671 CONSTANT: PropertyTagEquipModel             HEX: 0110
672 CONSTANT: PropertyTagStripOffsets           HEX: 0111
673 CONSTANT: PropertyTagOrientation            HEX: 0112
674 CONSTANT: PropertyTagSamplesPerPixel        HEX: 0115
675 CONSTANT: PropertyTagRowsPerStrip           HEX: 0116
676 CONSTANT: PropertyTagStripBytesCount        HEX: 0117
677 CONSTANT: PropertyTagMinSampleValue         HEX: 0118
678 CONSTANT: PropertyTagMaxSampleValue         HEX: 0119
679 CONSTANT: PropertyTagXResolution            HEX: 011A
680 CONSTANT: PropertyTagYResolution            HEX: 011B
681 CONSTANT: PropertyTagPlanarConfig           HEX: 011C
682 CONSTANT: PropertyTagPageName               HEX: 011D
683 CONSTANT: PropertyTagXPosition              HEX: 011E
684 CONSTANT: PropertyTagYPosition              HEX: 011F
685 CONSTANT: PropertyTagFreeOffset             HEX: 0120
686 CONSTANT: PropertyTagFreeByteCounts         HEX: 0121
687 CONSTANT: PropertyTagGrayResponseUnit       HEX: 0122
688 CONSTANT: PropertyTagGrayResponseCurve      HEX: 0123
689 CONSTANT: PropertyTagT4Option               HEX: 0124
690 CONSTANT: PropertyTagT6Option               HEX: 0125
691 CONSTANT: PropertyTagResolutionUnit         HEX: 0128
692 CONSTANT: PropertyTagPageNumber             HEX: 0129
693 CONSTANT: PropertyTagTransferFuncition      HEX: 012D
694 CONSTANT: PropertyTagSoftwareUsed           HEX: 0131
695 CONSTANT: PropertyTagDateTime               HEX: 0132
696 CONSTANT: PropertyTagArtist                 HEX: 013B
697 CONSTANT: PropertyTagHostComputer           HEX: 013C
698 CONSTANT: PropertyTagPredictor              HEX: 013D
699 CONSTANT: PropertyTagWhitePoint             HEX: 013E
700 CONSTANT: PropertyTagPrimaryChromaticities  HEX: 013F
701 CONSTANT: PropertyTagColorMap               HEX: 0140
702 CONSTANT: PropertyTagHalftoneHints          HEX: 0141
703 CONSTANT: PropertyTagTileWidth              HEX: 0142
704 CONSTANT: PropertyTagTileLength             HEX: 0143
705 CONSTANT: PropertyTagTileOffset             HEX: 0144
706 CONSTANT: PropertyTagTileByteCounts         HEX: 0145
707 CONSTANT: PropertyTagInkSet                 HEX: 014C
708 CONSTANT: PropertyTagInkNames               HEX: 014D
709 CONSTANT: PropertyTagNumberOfInks           HEX: 014E
710 CONSTANT: PropertyTagDotRange               HEX: 0150
711 CONSTANT: PropertyTagTargetPrinter          HEX: 0151
712 CONSTANT: PropertyTagExtraSamples           HEX: 0152
713 CONSTANT: PropertyTagSampleFormat           HEX: 0153
714 CONSTANT: PropertyTagSMinSampleValue        HEX: 0154
715 CONSTANT: PropertyTagSMaxSampleValue        HEX: 0155
716 CONSTANT: PropertyTagTransferRange          HEX: 0156
717
718 CONSTANT: PropertyTagJPEGProc               HEX: 0200
719 CONSTANT: PropertyTagJPEGInterFormat        HEX: 0201
720 CONSTANT: PropertyTagJPEGInterLength        HEX: 0202
721 CONSTANT: PropertyTagJPEGRestartInterval    HEX: 0203
722 CONSTANT: PropertyTagJPEGLosslessPredictors HEX: 0205
723 CONSTANT: PropertyTagJPEGPointTransforms    HEX: 0206
724 CONSTANT: PropertyTagJPEGQTables            HEX: 0207
725 CONSTANT: PropertyTagJPEGDCTables           HEX: 0208
726 CONSTANT: PropertyTagJPEGACTables           HEX: 0209
727
728 CONSTANT: PropertyTagYCbCrCoefficients      HEX: 0211
729 CONSTANT: PropertyTagYCbCrSubsampling       HEX: 0212
730 CONSTANT: PropertyTagYCbCrPositioning       HEX: 0213
731 CONSTANT: PropertyTagREFBlackWhite          HEX: 0214
732
733 CONSTANT: PropertyTagICCProfile          HEX: 8773
734
735 CONSTANT: PropertyTagGamma                HEX: 0301
736 CONSTANT: PropertyTagICCProfileDescriptor HEX: 0302
737 CONSTANT: PropertyTagSRGBRenderingIntent  HEX: 0303
738
739 CONSTANT: PropertyTagImageTitle          HEX: 0320
740 CONSTANT: PropertyTagCopyright           HEX: 8298
741
742 CONSTANT: PropertyTagResolutionXUnit            HEX: 5001
743 CONSTANT: PropertyTagResolutionYUnit            HEX: 5002
744 CONSTANT: PropertyTagResolutionXLengthUnit      HEX: 5003
745 CONSTANT: PropertyTagResolutionYLengthUnit      HEX: 5004
746 CONSTANT: PropertyTagPrintFlags                 HEX: 5005
747 CONSTANT: PropertyTagPrintFlagsVersion          HEX: 5006
748 CONSTANT: PropertyTagPrintFlagsCrop             HEX: 5007
749 CONSTANT: PropertyTagPrintFlagsBleedWidth       HEX: 5008
750 CONSTANT: PropertyTagPrintFlagsBleedWidthScale  HEX: 5009
751 CONSTANT: PropertyTagHalftoneLPI                HEX: 500A
752 CONSTANT: PropertyTagHalftoneLPIUnit            HEX: 500B
753 CONSTANT: PropertyTagHalftoneDegree             HEX: 500C
754 CONSTANT: PropertyTagHalftoneShape              HEX: 500D
755 CONSTANT: PropertyTagHalftoneMisc               HEX: 500E
756 CONSTANT: PropertyTagHalftoneScreen             HEX: 500F
757 CONSTANT: PropertyTagJPEGQuality                HEX: 5010
758 CONSTANT: PropertyTagGridSize                   HEX: 5011
759 CONSTANT: PropertyTagThumbnailFormat            HEX: 5012
760 CONSTANT: PropertyTagThumbnailWidth             HEX: 5013
761 CONSTANT: PropertyTagThumbnailHeight            HEX: 5014
762 CONSTANT: PropertyTagThumbnailColorDepth        HEX: 5015
763 CONSTANT: PropertyTagThumbnailPlanes            HEX: 5016
764 CONSTANT: PropertyTagThumbnailRawBytes          HEX: 5017
765 CONSTANT: PropertyTagThumbnailSize              HEX: 5018
766 CONSTANT: PropertyTagThumbnailCompressedSize    HEX: 5019
767 CONSTANT: PropertyTagColorTransferFunction      HEX: 501A
768 CONSTANT: PropertyTagThumbnailData              HEX: 501B
769
770 CONSTANT: PropertyTagThumbnailImageWidth        HEX: 5020
771 CONSTANT: PropertyTagThumbnailImageHeight       HEX: 5021
772 CONSTANT: PropertyTagThumbnailBitsPerSample     HEX: 5022
773 CONSTANT: PropertyTagThumbnailCompression       HEX: 5023
774 CONSTANT: PropertyTagThumbnailPhotometricInterp HEX: 5024
775 CONSTANT: PropertyTagThumbnailImageDescription  HEX: 5025
776 CONSTANT: PropertyTagThumbnailEquipMake         HEX: 5026
777 CONSTANT: PropertyTagThumbnailEquipModel        HEX: 5027
778 CONSTANT: PropertyTagThumbnailStripOffsets      HEX: 5028
779 CONSTANT: PropertyTagThumbnailOrientation       HEX: 5029
780 CONSTANT: PropertyTagThumbnailSamplesPerPixel   HEX: 502A
781 CONSTANT: PropertyTagThumbnailRowsPerStrip      HEX: 502B
782 CONSTANT: PropertyTagThumbnailStripBytesCount   HEX: 502C
783 CONSTANT: PropertyTagThumbnailResolutionX       HEX: 502D
784 CONSTANT: PropertyTagThumbnailResolutionY       HEX: 502E
785 CONSTANT: PropertyTagThumbnailPlanarConfig      HEX: 502F
786 CONSTANT: PropertyTagThumbnailResolutionUnit    HEX: 5030
787 CONSTANT: PropertyTagThumbnailTransferFunction  HEX: 5031
788 CONSTANT: PropertyTagThumbnailSoftwareUsed      HEX: 5032
789 CONSTANT: PropertyTagThumbnailDateTime          HEX: 5033
790 CONSTANT: PropertyTagThumbnailArtist            HEX: 5034
791 CONSTANT: PropertyTagThumbnailWhitePoint        HEX: 5035
792 CONSTANT: PropertyTagThumbnailPrimaryChromaticities HEX: 5036
793 CONSTANT: PropertyTagThumbnailYCbCrCoefficients HEX: 5037
794 CONSTANT: PropertyTagThumbnailYCbCrSubsampling  HEX: 5038
795 CONSTANT: PropertyTagThumbnailYCbCrPositioning  HEX: 5039
796 CONSTANT: PropertyTagThumbnailRefBlackWhite     HEX: 503A
797 CONSTANT: PropertyTagThumbnailCopyRight         HEX: 503B
798
799 CONSTANT: PropertyTagLuminanceTable    HEX: 5090
800 CONSTANT: PropertyTagChrominanceTable  HEX: 5091
801
802 CONSTANT: PropertyTagFrameDelay        HEX: 5100
803 CONSTANT: PropertyTagLoopCount         HEX: 5101
804
805 CONSTANT: PropertyTagPixelUnit         HEX: 5110
806 CONSTANT: PropertyTagPixelPerUnitX     HEX: 5111
807 CONSTANT: PropertyTagPixelPerUnitY     HEX: 5112
808 CONSTANT: PropertyTagPaletteHistogram  HEX: 5113
809
810 CONSTANT: PropertyTagExifExposureTime  HEX: 829A
811 CONSTANT: PropertyTagExifFNumber       HEX: 829D
812
813 CONSTANT: PropertyTagExifExposureProg  HEX: 8822
814 CONSTANT: PropertyTagExifSpectralSense HEX: 8824
815 CONSTANT: PropertyTagExifISOSpeed      HEX: 8827
816 CONSTANT: PropertyTagExifOECF          HEX: 8828
817
818 CONSTANT: PropertyTagExifVer           HEX: 9000
819 CONSTANT: PropertyTagExifDTOrig        HEX: 9003
820 CONSTANT: PropertyTagExifDTDigitized   HEX: 9004
821
822 CONSTANT: PropertyTagExifCompConfig    HEX: 9101
823 CONSTANT: PropertyTagExifCompBPP       HEX: 9102
824
825 CONSTANT: PropertyTagExifShutterSpeed  HEX: 9201
826 CONSTANT: PropertyTagExifAperture      HEX: 9202
827 CONSTANT: PropertyTagExifBrightness    HEX: 9203
828 CONSTANT: PropertyTagExifExposureBias  HEX: 9204
829 CONSTANT: PropertyTagExifMaxAperture   HEX: 9205
830 CONSTANT: PropertyTagExifSubjectDist   HEX: 9206
831 CONSTANT: PropertyTagExifMeteringMode  HEX: 9207
832 CONSTANT: PropertyTagExifLightSource   HEX: 9208
833 CONSTANT: PropertyTagExifFlash         HEX: 9209
834 CONSTANT: PropertyTagExifFocalLength   HEX: 920A
835 CONSTANT: PropertyTagExifMakerNote     HEX: 927C
836 CONSTANT: PropertyTagExifUserComment   HEX: 9286
837 CONSTANT: PropertyTagExifDTSubsec      HEX: 9290
838 CONSTANT: PropertyTagExifDTOrigSS      HEX: 9291
839 CONSTANT: PropertyTagExifDTDigSS       HEX: 9292
840
841 CONSTANT: PropertyTagExifFPXVer        HEX: A000
842 CONSTANT: PropertyTagExifColorSpace    HEX: A001
843 CONSTANT: PropertyTagExifPixXDim       HEX: A002
844 CONSTANT: PropertyTagExifPixYDim       HEX: A003
845 CONSTANT: PropertyTagExifRelatedWav    HEX: A004
846 CONSTANT: PropertyTagExifInterop       HEX: A005
847 CONSTANT: PropertyTagExifFlashEnergy   HEX: A20B
848 CONSTANT: PropertyTagExifSpatialFR     HEX: A20C
849 CONSTANT: PropertyTagExifFocalXRes     HEX: A20E
850 CONSTANT: PropertyTagExifFocalYRes     HEX: A20F
851 CONSTANT: PropertyTagExifFocalResUnit  HEX: A210
852 CONSTANT: PropertyTagExifSubjectLoc    HEX: A214
853 CONSTANT: PropertyTagExifExposureIndex HEX: A215
854 CONSTANT: PropertyTagExifSensingMethod HEX: A217
855 CONSTANT: PropertyTagExifFileSource    HEX: A300
856 CONSTANT: PropertyTagExifSceneType     HEX: A301
857 CONSTANT: PropertyTagExifCfaPattern    HEX: A302
858
859 CONSTANT: PropertyTagGpsVer            HEX: 0000
860 CONSTANT: PropertyTagGpsLatitudeRef    HEX: 0001
861 CONSTANT: PropertyTagGpsLatitude       HEX: 0002
862 CONSTANT: PropertyTagGpsLongitudeRef   HEX: 0003
863 CONSTANT: PropertyTagGpsLongitude      HEX: 0004
864 CONSTANT: PropertyTagGpsAltitudeRef    HEX: 0005
865 CONSTANT: PropertyTagGpsAltitude       HEX: 0006
866 CONSTANT: PropertyTagGpsGpsTime        HEX: 0007
867 CONSTANT: PropertyTagGpsGpsSatellites  HEX: 0008
868 CONSTANT: PropertyTagGpsGpsStatus      HEX: 0009
869 CONSTANT: PropertyTagGpsGpsMeasureMode HEX: 000A
870 CONSTANT: PropertyTagGpsGpsDop         HEX: 000B
871 CONSTANT: PropertyTagGpsSpeedRef       HEX: 000C
872 CONSTANT: PropertyTagGpsSpeed          HEX: 000D
873 CONSTANT: PropertyTagGpsTrackRef       HEX: 000E
874 CONSTANT: PropertyTagGpsTrack          HEX: 000F
875 CONSTANT: PropertyTagGpsImgDirRef      HEX: 0010
876 CONSTANT: PropertyTagGpsImgDir         HEX: 0011
877 CONSTANT: PropertyTagGpsMapDatum       HEX: 0012
878 CONSTANT: PropertyTagGpsDestLatRef     HEX: 0013
879 CONSTANT: PropertyTagGpsDestLat        HEX: 0014
880 CONSTANT: PropertyTagGpsDestLongRef    HEX: 0015
881 CONSTANT: PropertyTagGpsDestLong       HEX: 0016
882 CONSTANT: PropertyTagGpsDestBearRef    HEX: 0017
883 CONSTANT: PropertyTagGpsDestBear       HEX: 0018
884 CONSTANT: PropertyTagGpsDestDistRef    HEX: 0019
885 CONSTANT: PropertyTagGpsDestDist       HEX: 001A
886
887 ENUM: ColorChannelFlags
888     ColorChannelFlagsC
889     ColorChannelFlagsM
890     ColorChannelFlagsY
891     ColorChannelFlagsK
892     ColorChannelFlagsLast ;
893
894 STRUCT: GpColor
895     { Argb ARGB } ;
896
897 STRUCT: ColorMatrix
898     { m REAL[5][5] } ;
899
900 ENUM: ColorMatrixFlags
901     { ColorMatrixFlagsDefault    0 }
902     { ColorMatrixFlagsSkipGrays  1 }
903     { ColorMatrixFlagsAltGray    2 } ;
904
905 ENUM: ColorAdjustType
906     ColorAdjustTypeDefault
907     ColorAdjustTypeBitmap
908     ColorAdjustTypeBrush
909     ColorAdjustTypePen
910     ColorAdjustTypeText
911     ColorAdjustTypeCount
912     ColorAdjustTypeAny ;
913
914 STRUCT: ColorMap
915     { oldColor GpColor }
916     { newColor GpColor } ;
917
918 C-TYPE: GpGraphics 
919 C-TYPE: GpPen 
920 C-TYPE: GpBrush 
921 C-TYPE: GpHatch 
922 C-TYPE: GpSolidFill 
923 C-TYPE: GpPath 
924 C-TYPE: GpMatrix 
925 C-TYPE: GpPathIterator 
926 C-TYPE: GpCustomLineCap 
927 C-TYPE: GpAdjustableArrowCap 
928 C-TYPE: GpImage 
929 C-TYPE: GpMetafile 
930 C-TYPE: GpImageAttributes 
931 C-TYPE: GpCachedBitmap 
932 C-TYPE: GpBitmap 
933 C-TYPE: GpPathGradient 
934 C-TYPE: GpLineGradient 
935 C-TYPE: GpTexture 
936 C-TYPE: GpFont 
937 C-TYPE: GpFontCollection 
938 C-TYPE: GpFontFamily 
939 C-TYPE: GpStringFormat 
940 C-TYPE: GpRegion 
941 C-TYPE: CGpEffect 
942
943 ! dummy out other windows types we don't care to define yet
944 C-TYPE: LOGFONTA
945 C-TYPE: LOGFONTW
946
947 FUNCTION: GpStatus GdipCreateAdjustableArrowCap ( REAL x, REAL x, BOOL x, GpAdjustableArrowCap** x ) ;
948 FUNCTION: GpStatus GdipGetAdjustableArrowCapFillState ( GpAdjustableArrowCap* x, BOOL* x ) ;
949 FUNCTION: GpStatus GdipGetAdjustableArrowCapHeight ( GpAdjustableArrowCap* x, REAL* x ) ;
950 FUNCTION: GpStatus GdipGetAdjustableArrowCapMiddleInset ( GpAdjustableArrowCap* x, REAL* x ) ;
951 FUNCTION: GpStatus GdipGetAdjustableArrowCapWidth ( GpAdjustableArrowCap* x, REAL* x ) ;
952 FUNCTION: GpStatus GdipSetAdjustableArrowCapFillState ( GpAdjustableArrowCap* x, BOOL x ) ;
953 FUNCTION: GpStatus GdipSetAdjustableArrowCapHeight ( GpAdjustableArrowCap* x, REAL x ) ;
954 FUNCTION: GpStatus GdipSetAdjustableArrowCapMiddleInset ( GpAdjustableArrowCap* x, REAL x ) ;
955 FUNCTION: GpStatus GdipSetAdjustableArrowCapWidth ( GpAdjustableArrowCap* x, REAL x ) ;
956
957 FUNCTION: GpStatus GdipBitmapApplyEffect ( GpBitmap* x, CGpEffect* x, RECT* x, BOOL x, VOID** x, INT* x ) ;
958 FUNCTION: GpStatus GdipBitmapCreateApplyEffect ( GpBitmap** x, INT x, CGpEffect* x, RECT* x, RECT* x, GpBitmap** x, BOOL x, VOID** x, INT* x ) ;
959 FUNCTION: GpStatus GdipBitmapGetPixel ( GpBitmap* x, INT x, INT x, ARGB* x ) ;
960 FUNCTION: GpStatus GdipBitmapLockBits ( GpBitmap* x, GpRect* x, UINT x, 
961              PixelFormat x, BitmapData* x ) ;
962 FUNCTION: GpStatus GdipBitmapSetPixel ( GpBitmap* x, INT x, INT x, ARGB x ) ;
963 FUNCTION: GpStatus GdipBitmapSetResolution ( GpBitmap* x, REAL x, REAL x ) ;
964 FUNCTION: GpStatus GdipBitmapUnlockBits ( GpBitmap* x, BitmapData* x ) ;
965 FUNCTION: GpStatus GdipCloneBitmapArea ( REAL x, REAL x, REAL x, REAL x, PixelFormat x, GpBitmap* x, GpBitmap** x ) ;
966 FUNCTION: GpStatus GdipCloneBitmapAreaI ( INT x, INT x, INT x, INT x, PixelFormat x, GpBitmap* x, GpBitmap** x ) ;
967 FUNCTION: GpStatus GdipCreateBitmapFromFile ( WCHAR* x, GpBitmap** x ) ;
968 FUNCTION: GpStatus GdipCreateBitmapFromFileICM ( WCHAR* x, GpBitmap** x ) ;
969 FUNCTION: GpStatus GdipCreateBitmapFromGdiDib ( BITMAPINFO* x, VOID* x, GpBitmap** x ) ;
970 FUNCTION: GpStatus GdipCreateBitmapFromGraphics ( INT x, INT x, GpGraphics* x, GpBitmap** x ) ;
971 FUNCTION: GpStatus GdipCreateBitmapFromHBITMAP ( HBITMAP x,  HPALETTE x,  GpBitmap** x ) ;
972 FUNCTION: GpStatus GdipCreateBitmapFromHICON ( HICON x,  GpBitmap** x ) ;
973 FUNCTION: GpStatus GdipCreateBitmapFromResource ( HINSTANCE x, WCHAR* x, GpBitmap** x ) ;
974 FUNCTION: GpStatus GdipCreateBitmapFromScan0 ( INT x, INT x, INT x, PixelFormat x, BYTE* x, 
975              GpBitmap** x ) ;
976 FUNCTION: GpStatus GdipCreateBitmapFromStream ( IStream* x, GpBitmap** x ) ;
977 FUNCTION: GpStatus GdipCreateBitmapFromStreamICM ( IStream* x, GpBitmap** x ) ;
978 FUNCTION: GpStatus GdipCreateHBITMAPFromBitmap ( GpBitmap* x, HBITMAP* x, ARGB x ) ;
979 FUNCTION: GpStatus GdipCreateHICONFromBitmap ( GpBitmap* x, HICON* x ) ;
980 FUNCTION: GpStatus GdipDeleteEffect ( CGpEffect* x ) ;
981 FUNCTION: GpStatus GdipSetEffectParameters ( CGpEffect* x, VOID* x, UINT x ) ;
982
983
984 FUNCTION: GpStatus GdipCloneBrush ( GpBrush* x, GpBrush** x ) ;
985 FUNCTION: GpStatus GdipDeleteBrush ( GpBrush* x ) ;
986 FUNCTION: GpStatus GdipGetBrushType ( GpBrush* x, GpBrushType* x ) ;
987
988
989 FUNCTION: GpStatus GdipCreateCachedBitmap ( GpBitmap* x, GpGraphics* x, 
990              GpCachedBitmap** x ) ;
991 FUNCTION: GpStatus GdipDeleteCachedBitmap ( GpCachedBitmap* x ) ;
992 FUNCTION: GpStatus GdipDrawCachedBitmap ( GpGraphics* x, GpCachedBitmap* x, INT x, INT x ) ;
993
994
995 FUNCTION: GpStatus GdipCloneCustomLineCap ( GpCustomLineCap* x, GpCustomLineCap** x ) ;
996 FUNCTION: GpStatus GdipCreateCustomLineCap ( GpPath* x, GpPath* x, GpLineCap x, REAL x, 
997              GpCustomLineCap** x ) ;
998 FUNCTION: GpStatus GdipDeleteCustomLineCap ( GpCustomLineCap* x ) ;
999 FUNCTION: GpStatus GdipGetCustomLineCapBaseCap ( GpCustomLineCap* x, GpLineCap* x ) ;
1000 FUNCTION: GpStatus GdipSetCustomLineCapBaseCap ( GpCustomLineCap* x, GpLineCap x ) ;
1001 FUNCTION: GpStatus GdipGetCustomLineCapBaseInset ( GpCustomLineCap* x, REAL* x ) ;
1002 FUNCTION: GpStatus GdipSetCustomLineCapBaseInset ( GpCustomLineCap* x, REAL x ) ;
1003 FUNCTION: GpStatus GdipSetCustomLineCapStrokeCaps ( GpCustomLineCap* x, GpLineCap x, 
1004              GpLineCap x ) ;
1005 FUNCTION: GpStatus GdipGetCustomLineCapStrokeJoin ( GpCustomLineCap* x, GpLineJoin* x ) ;
1006 FUNCTION: GpStatus GdipSetCustomLineCapStrokeJoin ( GpCustomLineCap* x, GpLineJoin x ) ;
1007 FUNCTION: GpStatus GdipGetCustomLineCapWidthScale ( GpCustomLineCap* x, REAL* x ) ;
1008 FUNCTION: GpStatus GdipSetCustomLineCapWidthScale ( GpCustomLineCap* x, REAL x ) ;
1009
1010 FUNCTION: GpStatus GdipCloneFont ( GpFont* x, GpFont** x ) ;
1011 FUNCTION: GpStatus GdipCreateFont ( GpFontFamily* x,  REAL x,  INT x,  GpUnit x, 
1012              GpFont** x ) ;
1013 FUNCTION: GpStatus GdipCreateFontFromDC ( HDC x, GpFont** x ) ;
1014 FUNCTION: GpStatus GdipCreateFontFromLogfontA ( HDC x, LOGFONTA* x, GpFont** x ) ;
1015 FUNCTION: GpStatus GdipCreateFontFromLogfontW ( HDC x, LOGFONTW* x, GpFont** x ) ;
1016 FUNCTION: GpStatus GdipDeleteFont ( GpFont* x ) ;
1017 FUNCTION: GpStatus GdipGetLogFontA ( GpFont* x, GpGraphics* x, LOGFONTA* x ) ;
1018 FUNCTION: GpStatus GdipGetLogFontW ( GpFont* x, GpGraphics* x, LOGFONTW* x ) ;
1019 FUNCTION: GpStatus GdipGetFamily ( GpFont* x,  GpFontFamily** x ) ;
1020 FUNCTION: GpStatus GdipGetFontUnit ( GpFont* x,  GpUnit* x ) ;
1021 FUNCTION: GpStatus GdipGetFontSize ( GpFont* x,  REAL* x ) ;
1022 FUNCTION: GpStatus GdipGetFontStyle ( GpFont* x,  INT* x ) ;
1023 FUNCTION: GpStatus GdipGetFontHeight ( GpFont* x,  GpGraphics* x, 
1024                  REAL* x ) ;
1025 FUNCTION: GpStatus GdipGetFontHeightGivenDPI ( GpFont* x,  REAL x,  REAL* x ) ;
1026
1027
1028 FUNCTION: GpStatus GdipNewInstalledFontCollection ( GpFontCollection** x ) ;
1029 FUNCTION: GpStatus GdipNewPrivateFontCollection ( GpFontCollection** x ) ;
1030 FUNCTION: GpStatus GdipDeletePrivateFontCollection ( GpFontCollection** x ) ;
1031 FUNCTION: GpStatus GdipPrivateAddFontFile ( GpFontCollection* x,  WCHAR* x ) ;
1032 FUNCTION: GpStatus GdipPrivateAddMemoryFont ( GpFontCollection* x, 
1033                  void* x, INT x ) ;
1034 FUNCTION: GpStatus GdipGetFontCollectionFamilyCount ( GpFontCollection* x,  INT* x ) ;
1035 FUNCTION: GpStatus GdipGetFontCollectionFamilyList ( GpFontCollection* x,  INT x, 
1036                  GpFontFamily** x,  INT* x ) ;
1037
1038
1039 FUNCTION: GpStatus GdipCloneFontFamily ( GpFontFamily* x,  GpFontFamily** x ) ;
1040 FUNCTION: GpStatus GdipCreateFontFamilyFromName ( WCHAR* x, 
1041              GpFontCollection* x,  GpFontFamily** x ) ;
1042 FUNCTION: GpStatus GdipDeleteFontFamily ( GpFontFamily* x ) ;
1043 FUNCTION: GpStatus GdipGetFamilyName ( GpFontFamily* x,  WCHAR* x,  LANGID x ) ;
1044 FUNCTION: GpStatus GdipGetCellAscent ( GpFontFamily* x,  INT x,  UINT16* x ) ;
1045 FUNCTION: GpStatus GdipGetCellDescent ( GpFontFamily* x,  INT x,  UINT16* x ) ;
1046 FUNCTION: GpStatus GdipGetEmHeight ( GpFontFamily* x,  INT x,  UINT16* x ) ;
1047 FUNCTION: GpStatus GdipGetGenericFontFamilySansSerif ( GpFontFamily** x ) ;
1048 FUNCTION: GpStatus GdipGetGenericFontFamilySerif ( GpFontFamily** x ) ;
1049 FUNCTION: GpStatus GdipGetGenericFontFamilyMonospace ( GpFontFamily** x ) ;
1050 FUNCTION: GpStatus GdipGetLineSpacing ( GpFontFamily* x,  INT x,  UINT16* x ) ;
1051 FUNCTION: GpStatus GdipIsStyleAvailable ( GpFontFamily* x,  INT x,  BOOL* x ) ;
1052
1053
1054 FUNCTION: GpStatus GdipFlush ( GpGraphics* x,  GpFlushIntention x ) ;
1055 FUNCTION: GpStatus GdipBeginContainer ( GpGraphics* x, GpRectF* x, GpRectF* x, GpUnit x, GraphicsContainer* x ) ;
1056 FUNCTION: GpStatus GdipBeginContainer2 ( GpGraphics* x, GraphicsContainer* x ) ;
1057 FUNCTION: GpStatus GdipBeginContainerI ( GpGraphics* x, GpRect* x, GpRect* x, GpUnit x, GraphicsContainer* x ) ;
1058 FUNCTION: GpStatus GdipEndContainer ( GpGraphics* x, GraphicsContainer x ) ;
1059 FUNCTION: GpStatus GdipComment ( GpGraphics* x, UINT x, BYTE* x ) ;
1060 FUNCTION: GpStatus GdipCreateFromHDC ( HDC x, GpGraphics** x ) ;
1061 FUNCTION: GpStatus GdipCreateFromHDC2 ( HDC x, HANDLE x, GpGraphics** x ) ;
1062 FUNCTION: GpStatus GdipCreateFromHWND ( HWND x, GpGraphics** x ) ;
1063 FUNCTION: GpStatus GdipCreateFromHWNDICM ( HWND x, GpGraphics** x ) ;
1064 FUNCTION: HPALETTE GdipCreateHalftonePalette ( ) ;
1065 FUNCTION: GpStatus GdipDeleteGraphics ( GpGraphics* x ) ;
1066 FUNCTION: GpStatus GdipDrawArc ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1067 FUNCTION: GpStatus GdipDrawArcI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x, REAL x, REAL x ) ;
1068 FUNCTION: GpStatus GdipDrawBezier ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1069 FUNCTION: GpStatus GdipDrawBezierI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x, INT x, INT x, INT x, INT x ) ;
1070 FUNCTION: GpStatus GdipDrawBeziers ( GpGraphics* x, GpPen* x, GpPointF* x, INT x ) ;
1071 FUNCTION: GpStatus GdipDrawBeziersI ( GpGraphics* x, GpPen* x, GpPoint* x, INT x ) ;
1072 FUNCTION: GpStatus GdipDrawClosedCurve ( GpGraphics* x, GpPen* x, GpPointF* x, INT x ) ;
1073 FUNCTION: GpStatus GdipDrawClosedCurveI ( GpGraphics* x, GpPen* x, GpPoint* x, INT x ) ;
1074 FUNCTION: GpStatus GdipDrawClosedCurve2 ( GpGraphics* x, GpPen* x, GpPointF* x, INT x, REAL x ) ;
1075 FUNCTION: GpStatus GdipDrawClosedCurve2I ( GpGraphics* x, GpPen* x, GpPoint* x, INT x, REAL x ) ;
1076 FUNCTION: GpStatus GdipDrawCurve ( GpGraphics* x, GpPen* x, GpPointF* x, INT x ) ;
1077 FUNCTION: GpStatus GdipDrawCurveI ( GpGraphics* x, GpPen* x, GpPoint* x, INT x ) ;
1078 FUNCTION: GpStatus GdipDrawCurve2 ( GpGraphics* x, GpPen* x, GpPointF* x, INT x, REAL x ) ;
1079 FUNCTION: GpStatus GdipDrawCurve2I ( GpGraphics* x, GpPen* x, GpPoint* x, INT x, REAL x ) ;
1080 FUNCTION: GpStatus GdipDrawCurve3 ( GpGraphics* x, GpPen* x, GpPointF* x, INT x, INT x, INT x, REAL x ) ;
1081 FUNCTION: GpStatus GdipDrawCurve3I ( GpGraphics* x, GpPen* x, GpPoint* x, INT x, INT x, INT x, REAL x ) ;
1082 FUNCTION: GpStatus GdipDrawDriverString ( GpGraphics* x, UINT16* x, INT x, 
1083              GpFont* x, GpBrush* x, GpPointF* x, INT x, GpMatrix* x ) ;
1084 FUNCTION: GpStatus GdipDrawEllipse ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x ) ;
1085 FUNCTION: GpStatus GdipDrawEllipseI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x ) ;
1086 FUNCTION: GpStatus GdipDrawImage ( GpGraphics* x, GpImage* x, REAL x, REAL x ) ;
1087 FUNCTION: GpStatus GdipDrawImageI ( GpGraphics* x, GpImage* x, INT x, INT x ) ;
1088 FUNCTION: GpStatus GdipDrawImagePointRect ( GpGraphics* x, GpImage* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, GpUnit x ) ;
1089 FUNCTION: GpStatus GdipDrawImagePointRectI ( GpGraphics* x, GpImage* x, INT x, INT x, INT x, INT x, INT x, INT x, GpUnit x ) ;
1090 FUNCTION: GpStatus GdipDrawImagePoints ( GpGraphics* x, GpImage* x, GpPointF* x, INT x ) ;
1091 FUNCTION: GpStatus GdipDrawImagePointsI ( GpGraphics* x, GpImage* x, GpPoint* x, INT x ) ;
1092 FUNCTION: GpStatus GdipDrawImagePointsRect ( GpGraphics* x, GpImage* x, 
1093              GpPointF* x, INT x, REAL x, REAL x, REAL x, REAL x, GpUnit x, 
1094              GpImageAttributes* x, DrawImageAbort x, VOID* x ) ;
1095 FUNCTION: GpStatus GdipDrawImagePointsRectI ( GpGraphics* x, GpImage* x, 
1096              GpPoint* x, INT x, INT x, INT x, INT x, INT x, GpUnit x, 
1097              GpImageAttributes* x, DrawImageAbort x, VOID* x ) ;
1098 FUNCTION: GpStatus GdipDrawImageRect ( GpGraphics* x, GpImage* x, REAL x, REAL x, REAL x, REAL x ) ;
1099 FUNCTION: GpStatus GdipDrawImageRectI ( GpGraphics* x, GpImage* x, INT x, INT x, INT x, INT x ) ;
1100 FUNCTION: GpStatus GdipDrawImageRectRect ( GpGraphics* x, GpImage* x, REAL x, REAL x, REAL x, 
1101              REAL x, REAL x, REAL x, REAL x, REAL x, GpUnit x, GpImageAttributes* x, DrawImageAbort x, 
1102              VOID* x ) ;
1103 FUNCTION: GpStatus GdipDrawImageRectRectI ( GpGraphics* x, GpImage* x, INT x, INT x, INT x, 
1104              INT x, INT x, INT x, INT x, INT x, GpUnit x, GpImageAttributes* x, DrawImageAbort x, 
1105              VOID* x ) ;
1106 FUNCTION: GpStatus GdipDrawLine ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x ) ;
1107 FUNCTION: GpStatus GdipDrawLineI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x ) ;
1108 FUNCTION: GpStatus GdipDrawLines ( GpGraphics* x, GpPen* x, GpPointF* x, INT x ) ;
1109 FUNCTION: GpStatus GdipDrawLinesI ( GpGraphics* x, GpPen* x, GpPoint* x, INT x ) ;
1110 FUNCTION: GpStatus GdipDrawPath ( GpGraphics* x, GpPen* x, GpPath* x ) ;
1111 FUNCTION: GpStatus GdipDrawPie ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1112 FUNCTION: GpStatus GdipDrawPieI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x, REAL x, REAL x ) ;
1113 FUNCTION: GpStatus GdipDrawPolygon ( GpGraphics* x, GpPen* x, GpPointF* x,  INT x ) ;
1114 FUNCTION: GpStatus GdipDrawPolygonI ( GpGraphics* x, GpPen* x, GpPoint* x,  INT x ) ;
1115 FUNCTION: GpStatus GdipDrawRectangle ( GpGraphics* x, GpPen* x, REAL x, REAL x, REAL x, REAL x ) ;
1116 FUNCTION: GpStatus GdipDrawRectangleI ( GpGraphics* x, GpPen* x, INT x, INT x, INT x, INT x ) ;
1117 FUNCTION: GpStatus GdipDrawRectangles ( GpGraphics* x, GpPen* x, GpRectF* x, INT x ) ;
1118 FUNCTION: GpStatus GdipDrawRectanglesI ( GpGraphics* x, GpPen* x, GpRect* x, INT x ) ;
1119 FUNCTION: GpStatus GdipDrawString ( GpGraphics* x, WCHAR* x, INT x, 
1120              GpFont* x, GpRectF* x,  GpStringFormat* x, 
1121              GpBrush* x ) ;
1122 FUNCTION: GpStatus GdipFillClosedCurve2 ( GpGraphics* x, GpBrush* x, GpPointF* x, INT x, 
1123              REAL x, GpFillMode x ) ;
1124 FUNCTION: GpStatus GdipFillClosedCurve2I ( GpGraphics* x, GpBrush* x, GpPoint* x, INT x, 
1125              REAL x, GpFillMode x ) ;
1126 FUNCTION: GpStatus GdipFillEllipse ( GpGraphics* x, GpBrush* x, REAL x, REAL x, REAL x, REAL x ) ;
1127 FUNCTION: GpStatus GdipFillEllipseI ( GpGraphics* x, GpBrush* x, INT x, INT x, INT x, INT x ) ;
1128 FUNCTION: GpStatus GdipFillPath ( GpGraphics* x, GpBrush* x, GpPath* x ) ;
1129 FUNCTION: GpStatus GdipFillPie ( GpGraphics* x, GpBrush* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1130 FUNCTION: GpStatus GdipFillPieI ( GpGraphics* x, GpBrush* x, INT x, INT x, INT x, INT x, REAL x, REAL x ) ;
1131 FUNCTION: GpStatus GdipFillPolygon ( GpGraphics* x, GpBrush* x, GpPointF* x, 
1132              INT x, GpFillMode x ) ;
1133 FUNCTION: GpStatus GdipFillPolygonI ( GpGraphics* x, GpBrush* x, GpPoint* x, 
1134              INT x, GpFillMode x ) ;
1135 FUNCTION: GpStatus GdipFillPolygon2 ( GpGraphics* x, GpBrush* x, GpPointF* x, INT x ) ;
1136 FUNCTION: GpStatus GdipFillPolygon2I ( GpGraphics* x, GpBrush* x, GpPoint* x, INT x ) ;
1137 FUNCTION: GpStatus GdipFillRectangle ( GpGraphics* x, GpBrush* x, REAL x, REAL x, REAL x, REAL x ) ;
1138 FUNCTION: GpStatus GdipFillRectangleI ( GpGraphics* x, GpBrush* x, INT x, INT x, INT x, INT x ) ;
1139 FUNCTION: GpStatus GdipFillRectangles ( GpGraphics* x, GpBrush* x, GpRectF* x, INT x ) ;
1140 FUNCTION: GpStatus GdipFillRectanglesI ( GpGraphics* x, GpBrush* x, GpRect* x, INT x ) ;
1141 FUNCTION: GpStatus GdipFillRegion ( GpGraphics* x, GpBrush* x, GpRegion* x ) ;
1142 FUNCTION: GpStatus GdipGetClip ( GpGraphics* x, GpRegion* x ) ;
1143 FUNCTION: GpStatus GdipGetClipBounds ( GpGraphics* x, GpRectF* x ) ;
1144 FUNCTION: GpStatus GdipGetClipBoundsI ( GpGraphics* x, GpRect* x ) ;
1145 FUNCTION: GpStatus GdipGetCompositingMode ( GpGraphics* x, CompositingMode* x ) ;
1146 FUNCTION: GpStatus GdipGetCompositingQuality ( GpGraphics* x, CompositingQuality* x ) ;
1147 FUNCTION: GpStatus GdipGetDC ( GpGraphics* x, HDC* x ) ;
1148 FUNCTION: GpStatus GdipGetDpiX ( GpGraphics* x, REAL* x ) ;
1149 FUNCTION: GpStatus GdipGetDpiY ( GpGraphics* x, REAL* x ) ;
1150 FUNCTION: GpStatus GdipGetImageDecoders ( UINT x, UINT x, ImageCodecInfo* x ) ;
1151 FUNCTION: GpStatus GdipGetImageDecodersSize ( UINT* x, UINT* x ) ;
1152 FUNCTION: GpStatus GdipGetImageGraphicsContext ( GpImage* x, GpGraphics** x ) ;
1153 FUNCTION: GpStatus GdipGetInterpolationMode ( GpGraphics* x, InterpolationMode* x ) ;
1154 FUNCTION: GpStatus GdipGetNearestColor ( GpGraphics* x, ARGB* x ) ;
1155 FUNCTION: GpStatus GdipGetPageScale ( GpGraphics* x, REAL* x ) ;
1156 FUNCTION: GpStatus GdipGetPageUnit ( GpGraphics* x, GpUnit* x ) ;
1157 FUNCTION: GpStatus GdipGetPixelOffsetMode ( GpGraphics* x, PixelOffsetMode* x ) ;
1158 FUNCTION: GpStatus GdipGetSmoothingMode ( GpGraphics* x, SmoothingMode* x ) ;
1159 FUNCTION: GpStatus GdipGetTextContrast ( GpGraphics* x, UINT* x ) ;
1160 FUNCTION: GpStatus GdipGetTextRenderingHint ( GpGraphics* x, TextRenderingHint* x ) ;
1161 FUNCTION: GpStatus GdipGetWorldTransform ( GpGraphics* x, GpMatrix* x ) ;
1162 FUNCTION: GpStatus GdipGraphicsClear ( GpGraphics* x, ARGB x ) ;
1163 FUNCTION: GpStatus GdipGetVisibleClipBounds ( GpGraphics* x, GpRectF* x ) ;
1164 FUNCTION: GpStatus GdipGetVisibleClipBoundsI ( GpGraphics* x, GpRect* x ) ;
1165 FUNCTION: GpStatus GdipIsClipEmpty ( GpGraphics* x,  BOOL* x ) ;
1166 FUNCTION: GpStatus GdipIsVisiblePoint ( GpGraphics* x, REAL x, REAL x, BOOL* x ) ;
1167 FUNCTION: GpStatus GdipIsVisiblePointI ( GpGraphics* x, INT x, INT x, BOOL* x ) ;
1168 FUNCTION: GpStatus GdipIsVisibleRect ( GpGraphics* x, REAL x, REAL x, REAL x, REAL x, BOOL* x ) ;
1169 FUNCTION: GpStatus GdipIsVisibleRectI ( GpGraphics* x, INT x, INT x, INT x, INT x, BOOL* x ) ;
1170 FUNCTION: GpStatus GdipMeasureCharacterRanges ( GpGraphics* x,  WCHAR* x, 
1171              INT x,  GpFont* x,  GpRectF* x,  GpStringFormat* x,  INT x, 
1172              GpRegion** x ) ;
1173 FUNCTION: GpStatus GdipMeasureDriverString ( GpGraphics* x, UINT16* x, INT x, 
1174              GpFont* x, GpPointF* x, INT x, GpMatrix* x, GpRectF* x ) ;
1175 FUNCTION: GpStatus GdipMeasureString ( GpGraphics* x, WCHAR* x, INT x, 
1176              GpFont* x, GpRectF* x, GpStringFormat* x, GpRectF* x, INT* x, INT* x ) ;
1177 FUNCTION: GpStatus GdipMultiplyWorldTransform ( GpGraphics* x, GpMatrix* x, GpMatrixOrder x ) ;
1178 FUNCTION: GpStatus GdipRecordMetafileFileName ( WCHAR* x, HDC x, EmfType x, 
1179              GpRectF* x, MetafileFrameUnit x, WCHAR* x, GpMetafile** x ) ;
1180 FUNCTION: GpStatus GdipRecordMetafileFileNameI ( WCHAR* x, HDC x, EmfType x, 
1181              GpRect* x, MetafileFrameUnit x, WCHAR* x, GpMetafile** x ) ;
1182 FUNCTION: GpStatus GdipRecordMetafileI ( HDC x, EmfType x, GpRect* x, 
1183              MetafileFrameUnit x, WCHAR* x, GpMetafile** x ) ;
1184 FUNCTION: GpStatus GdipReleaseDC ( GpGraphics* x, HDC x ) ;
1185 FUNCTION: GpStatus GdipResetClip ( GpGraphics* x ) ;
1186 FUNCTION: GpStatus GdipResetWorldTransform ( GpGraphics* x ) ;
1187 FUNCTION: GpStatus GdipRestoreGraphics ( GpGraphics* x, GraphicsState x ) ;
1188 FUNCTION: GpStatus GdipRotateWorldTransform ( GpGraphics* x, REAL x, GpMatrixOrder x ) ;
1189 FUNCTION: GpStatus GdipSaveGraphics ( GpGraphics* x, GraphicsState* x ) ;
1190 FUNCTION: GpStatus GdipScaleWorldTransform ( GpGraphics* x, REAL x, REAL x, GpMatrixOrder x ) ;
1191 FUNCTION: GpStatus GdipSetClipHrgn ( GpGraphics* x, HRGN x, CombineMode x ) ;
1192 FUNCTION: GpStatus GdipSetClipGraphics ( GpGraphics* x, GpGraphics* x, CombineMode x ) ;
1193 FUNCTION: GpStatus GdipSetClipPath ( GpGraphics* x, GpPath* x, CombineMode x ) ;
1194 FUNCTION: GpStatus GdipSetClipRect ( GpGraphics* x, REAL x, REAL x, REAL x, REAL x, CombineMode x ) ;
1195 FUNCTION: GpStatus GdipSetClipRectI ( GpGraphics* x, INT x, INT x, INT x, INT x, CombineMode x ) ;
1196 FUNCTION: GpStatus GdipSetClipRegion ( GpGraphics* x, GpRegion* x, CombineMode x ) ;
1197 FUNCTION: GpStatus GdipSetCompositingMode ( GpGraphics* x, CompositingMode x ) ;
1198 FUNCTION: GpStatus GdipSetCompositingQuality ( GpGraphics* x, CompositingQuality x ) ;
1199 FUNCTION: GpStatus GdipSetInterpolationMode ( GpGraphics* x, InterpolationMode x ) ;
1200 FUNCTION: GpStatus GdipSetPageScale ( GpGraphics* x, REAL x ) ;
1201 FUNCTION: GpStatus GdipSetPageUnit ( GpGraphics* x, GpUnit x ) ;
1202 FUNCTION: GpStatus GdipSetPixelOffsetMode ( GpGraphics* x, PixelOffsetMode x ) ;
1203 FUNCTION: GpStatus GdipSetRenderingOrigin ( GpGraphics* x, INT x, INT x ) ;
1204 FUNCTION: GpStatus GdipSetSmoothingMode ( GpGraphics* x, SmoothingMode x ) ;
1205 FUNCTION: GpStatus GdipSetTextContrast ( GpGraphics* x, UINT x ) ;
1206 FUNCTION: GpStatus GdipSetTextRenderingHint ( GpGraphics* x, TextRenderingHint x ) ;
1207 FUNCTION: GpStatus GdipSetWorldTransform ( GpGraphics* x, GpMatrix* x ) ;
1208 FUNCTION: GpStatus GdipTransformPoints ( GpGraphics* x,  GpCoordinateSpace x,  GpCoordinateSpace x, 
1209                                                  GpPointF* x,  INT x ) ;
1210 FUNCTION: GpStatus GdipTransformPointsI ( GpGraphics* x,  GpCoordinateSpace x,  GpCoordinateSpace x, 
1211                                                   GpPoint* x,  INT x ) ;
1212 FUNCTION: GpStatus GdipTranslateClip ( GpGraphics* x, REAL x, REAL x ) ;
1213 FUNCTION: GpStatus GdipTranslateClipI ( GpGraphics* x, INT x, INT x ) ;
1214 FUNCTION: GpStatus GdipTranslateWorldTransform ( GpGraphics* x, REAL x, REAL x, GpMatrixOrder x ) ;
1215
1216
1217 FUNCTION: GpStatus GdipAddPathArc ( GpPath* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1218 FUNCTION: GpStatus GdipAddPathArcI ( GpPath* x, INT x, INT x, INT x, INT x, REAL x, REAL x ) ;
1219 FUNCTION: GpStatus GdipAddPathBezier ( GpPath* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1220 FUNCTION: GpStatus GdipAddPathBezierI ( GpPath* x, INT x, INT x, INT x, INT x, INT x, INT x, INT x, INT x ) ;
1221 FUNCTION: GpStatus GdipAddPathBeziers ( GpPath* x, GpPointF* x, INT x ) ;
1222 FUNCTION: GpStatus GdipAddPathBeziersI ( GpPath* x, GpPoint* x, INT x ) ;
1223 FUNCTION: GpStatus GdipAddPathClosedCurve ( GpPath* x, GpPointF* x, INT x ) ;
1224 FUNCTION: GpStatus GdipAddPathClosedCurveI ( GpPath* x, GpPoint* x, INT x ) ;
1225 FUNCTION: GpStatus GdipAddPathClosedCurve2 ( GpPath* x, GpPointF* x, INT x, REAL x ) ;
1226 FUNCTION: GpStatus GdipAddPathClosedCurve2I ( GpPath* x, GpPoint* x, INT x, REAL x ) ;
1227 FUNCTION: GpStatus GdipAddPathCurve ( GpPath* x, GpPointF* x, INT x ) ;
1228 FUNCTION: GpStatus GdipAddPathCurveI ( GpPath* x, GpPoint* x, INT x ) ;
1229 FUNCTION: GpStatus GdipAddPathCurve2 ( GpPath* x, GpPointF* x, INT x, REAL x ) ;
1230 FUNCTION: GpStatus GdipAddPathCurve2I ( GpPath* x, GpPoint* x, INT x, REAL x ) ;
1231 FUNCTION: GpStatus GdipAddPathCurve3 ( GpPath* x, GpPointF* x, INT x, INT x, INT x, REAL x ) ;
1232 FUNCTION: GpStatus GdipAddPathCurve3I ( GpPath* x, GpPoint* x, INT x, INT x, INT x, REAL x ) ;
1233 FUNCTION: GpStatus GdipAddPathEllipse ( GpPath* x, REAL x, REAL x, REAL x, REAL x ) ;
1234 FUNCTION: GpStatus GdipAddPathEllipseI ( GpPath* x, INT x, INT x, INT x, INT x ) ;
1235 FUNCTION: GpStatus GdipAddPathLine ( GpPath* x, REAL x, REAL x, REAL x, REAL x ) ;
1236 FUNCTION: GpStatus GdipAddPathLineI ( GpPath* x, INT x, INT x, INT x, INT x ) ;
1237 FUNCTION: GpStatus GdipAddPathLine2 ( GpPath* x, GpPointF* x, INT x ) ;
1238 FUNCTION: GpStatus GdipAddPathLine2I ( GpPath* x, GpPoint* x, INT x ) ;
1239 FUNCTION: GpStatus GdipAddPathPath ( GpPath* x, GpPath* x, BOOL x ) ;
1240 FUNCTION: GpStatus GdipAddPathPie ( GpPath* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1241 FUNCTION: GpStatus GdipAddPathPieI ( GpPath* x, INT x, INT x, INT x, INT x, REAL x, REAL x ) ;
1242 FUNCTION: GpStatus GdipAddPathPolygon ( GpPath* x, GpPointF* x, INT x ) ;
1243 FUNCTION: GpStatus GdipAddPathPolygonI ( GpPath* x, GpPoint* x, INT x ) ;
1244 FUNCTION: GpStatus GdipAddPathRectangle ( GpPath* x, REAL x, REAL x, REAL x, REAL x ) ;
1245 FUNCTION: GpStatus GdipAddPathRectangleI ( GpPath* x, INT x, INT x, INT x, INT x ) ;
1246 FUNCTION: GpStatus GdipAddPathRectangles ( GpPath* x, GpRectF* x, INT x ) ;
1247 FUNCTION: GpStatus GdipAddPathRectanglesI ( GpPath* x, GpRect* x, INT x ) ;
1248 FUNCTION: GpStatus GdipAddPathString ( GpPath* x, WCHAR* x, INT x, GpFontFamily* x, INT x, REAL x, GpRectF* x, GpStringFormat* x ) ;
1249 FUNCTION: GpStatus GdipAddPathStringI ( GpPath* x, WCHAR* x, INT x, GpFontFamily* x, INT x, REAL x, GpRect* x, GpStringFormat* x ) ;
1250 FUNCTION: GpStatus GdipClearPathMarkers ( GpPath* x ) ;
1251 FUNCTION: GpStatus GdipClonePath ( GpPath* x, GpPath** x ) ;
1252 FUNCTION: GpStatus GdipClosePathFigure ( GpPath* x ) ;
1253 FUNCTION: GpStatus GdipClosePathFigures ( GpPath* x ) ;
1254 FUNCTION: GpStatus GdipCreatePath ( GpFillMode x, GpPath** x ) ;
1255 FUNCTION: GpStatus GdipCreatePath2 ( GpPointF* x, BYTE* x, INT x, 
1256              GpFillMode x, GpPath** x ) ;
1257 FUNCTION: GpStatus GdipCreatePath2I ( GpPoint* x, BYTE* x, INT x, GpFillMode x, GpPath** x ) ;
1258 FUNCTION: GpStatus GdipDeletePath ( GpPath* x ) ;
1259 FUNCTION: GpStatus GdipFlattenPath ( GpPath* x, GpMatrix* x, REAL x ) ;
1260 FUNCTION: GpStatus GdipIsOutlineVisiblePathPoint ( GpPath* x, REAL x, REAL x, GpPen* x, 
1261              GpGraphics* x, BOOL* x ) ;
1262 FUNCTION: GpStatus GdipIsOutlineVisiblePathPointI ( GpPath* x, INT x, INT x, GpPen* x, 
1263              GpGraphics* x, BOOL* x ) ;
1264 FUNCTION: GpStatus GdipIsVisiblePathPoint ( GpPath* x, REAL x, REAL x, GpGraphics* x, BOOL* x ) ;
1265 FUNCTION: GpStatus GdipIsVisiblePathPointI ( GpPath* x, INT x, INT x, GpGraphics* x, BOOL* x ) ;
1266 FUNCTION: GpStatus GdipGetPathData ( GpPath* x, GpPathData* x ) ;
1267 FUNCTION: GpStatus GdipGetPathFillMode ( GpPath* x, GpFillMode* x ) ;
1268 FUNCTION: GpStatus GdipGetPathLastPoint ( GpPath* x, GpPointF* x ) ;
1269 FUNCTION: GpStatus GdipGetPathPoints ( GpPath* x, GpPointF* x, INT x ) ;
1270 FUNCTION: GpStatus GdipGetPathPointsI ( GpPath* x, GpPoint* x, INT x ) ;
1271 FUNCTION: GpStatus GdipGetPathTypes ( GpPath* x, BYTE* x, INT x ) ;
1272 FUNCTION: GpStatus GdipGetPathWorldBounds ( GpPath* x, GpRectF* x, GpMatrix* x, GpPen* x ) ;
1273 FUNCTION: GpStatus GdipGetPathWorldBoundsI ( GpPath* x, GpRect* x, GpMatrix* x, GpPen* x ) ;
1274 FUNCTION: GpStatus GdipGetPointCount ( GpPath* x, INT* x ) ;
1275 FUNCTION: GpStatus GdipResetPath ( GpPath* x ) ;
1276 FUNCTION: GpStatus GdipReversePath ( GpPath* x ) ;
1277 FUNCTION: GpStatus GdipSetPathFillMode ( GpPath* x, GpFillMode x ) ;
1278 FUNCTION: GpStatus GdipSetPathMarker ( GpPath* x ) ;
1279 FUNCTION: GpStatus GdipStartPathFigure ( GpPath* x ) ;
1280 FUNCTION: GpStatus GdipTransformPath ( GpPath* x, GpMatrix* x ) ;
1281 FUNCTION: GpStatus GdipWarpPath ( GpPath* x, GpMatrix* x, GpPointF* x, INT x, REAL x, 
1282              REAL x, REAL x, REAL x, WarpMode x, REAL x ) ;
1283 FUNCTION: GpStatus GdipWidenPath ( GpPath* x, GpPen* x, GpMatrix* x, REAL x ) ;
1284
1285
1286 FUNCTION: GpStatus GdipCreateHatchBrush ( HatchStyle x, ARGB x, ARGB x, GpHatch** x ) ;
1287 FUNCTION: GpStatus GdipGetHatchBackgroundColor ( GpHatch* x, ARGB* x ) ;
1288 FUNCTION: GpStatus GdipGetHatchForegroundColor ( GpHatch* x, ARGB* x ) ;
1289 FUNCTION: GpStatus GdipGetHatchStyle ( GpHatch* x, HatchStyle* x ) ;
1290
1291
1292 FUNCTION: GpStatus GdipCloneImage ( GpImage* x,  GpImage** x ) ;
1293 FUNCTION: GpStatus GdipCloneImageAttributes ( GpImageAttributes* x, GpImageAttributes** x ) ;
1294 FUNCTION: GpStatus GdipDisposeImage ( GpImage* x ) ;
1295 FUNCTION: GpStatus GdipEmfToWmfBits ( HENHMETAFILE x, UINT x, LPBYTE x, INT x, INT x ) ;
1296 FUNCTION: GpStatus GdipFindFirstImageItem ( GpImage* x, ImageItemData* x ) ;
1297 FUNCTION: GpStatus GdipFindNextImageItem ( GpImage* x, ImageItemData* x ) ;
1298 FUNCTION: GpStatus GdipGetAllPropertyItems ( GpImage* x, UINT x, UINT x, PropertyItem* x ) ;
1299 FUNCTION: GpStatus GdipGetImageBounds ( GpImage* x, GpRectF* x, GpUnit* x ) ;
1300 FUNCTION: GpStatus GdipGetImageDimension ( GpImage* x, REAL* x, REAL* x ) ;
1301 FUNCTION: GpStatus GdipGetImageFlags ( GpImage* x, UINT* x ) ;
1302 FUNCTION: GpStatus GdipGetImageHeight ( GpImage* x, UINT* x ) ;
1303 FUNCTION: GpStatus GdipGetImageHorizontalResolution ( GpImage* x, REAL* x ) ;
1304 FUNCTION: GpStatus GdipGetImageItemData ( GpImage* x, ImageItemData* x ) ;
1305 FUNCTION: GpStatus GdipGetImagePalette ( GpImage* x, ColorPalette* x, INT x ) ;
1306 FUNCTION: GpStatus GdipGetImagePaletteSize ( GpImage* x, INT* x ) ;
1307 FUNCTION: GpStatus GdipGetImagePixelFormat ( GpImage* x, PixelFormat* x ) ;
1308 FUNCTION: GpStatus GdipGetImageRawFormat ( GpImage* x, GUID* x ) ;
1309 FUNCTION: GpStatus GdipGetImageThumbnail ( GpImage* x, UINT x, UINT x, GpImage** x, GetThumbnailImageAbort x, VOID* x ) ;
1310 FUNCTION: GpStatus GdipGetImageType ( GpImage* x, ImageType* x ) ;
1311 FUNCTION: GpStatus GdipGetImageVerticalResolution ( GpImage* x, REAL* x ) ;
1312 FUNCTION: GpStatus GdipGetImageWidth ( GpImage* x, UINT* x ) ;
1313 FUNCTION: GpStatus GdipGetPropertyCount ( GpImage* x, UINT* x ) ;
1314 FUNCTION: GpStatus GdipGetPropertyIdList ( GpImage* x, UINT x, PROPID* x ) ;
1315 FUNCTION: GpStatus GdipGetPropertyItem ( GpImage* x, PROPID x, UINT x, PropertyItem* x ) ;
1316 FUNCTION: GpStatus GdipGetPropertyItemSize ( GpImage* x, PROPID x, UINT* x ) ;
1317 FUNCTION: GpStatus GdipGetPropertySize ( GpImage* x, UINT* x, UINT* x ) ;
1318 FUNCTION: GpStatus GdipImageForceValidation ( GpImage* x ) ;
1319 FUNCTION: GpStatus GdipImageGetFrameCount ( GpImage* x, GUID* x, UINT* x ) ;
1320 FUNCTION: GpStatus GdipImageGetFrameDimensionsCount ( GpImage* x, UINT* x ) ;
1321 FUNCTION: GpStatus GdipImageGetFrameDimensionsList ( GpImage* x, GUID* x, UINT x ) ;
1322 FUNCTION: GpStatus GdipImageRotateFlip ( GpImage* x, RotateFlipType x ) ;
1323 FUNCTION: GpStatus GdipImageSelectActiveFrame ( GpImage* x, GUID* x, UINT x ) ;
1324 FUNCTION: GpStatus GdipLoadImageFromFile ( WCHAR* x, GpImage** x ) ;
1325 FUNCTION: GpStatus GdipLoadImageFromFileICM ( WCHAR* x, GpImage** x ) ;
1326 FUNCTION: GpStatus GdipLoadImageFromStream ( IStream* x, GpImage** x ) ;
1327 FUNCTION: GpStatus GdipLoadImageFromStreamICM ( IStream* x, GpImage** x ) ;
1328 FUNCTION: GpStatus GdipRemovePropertyItem ( GpImage* x, PROPID x ) ;
1329 FUNCTION: GpStatus GdipSaveImageToFile ( GpImage* x, WCHAR* x, CLSID* x, EncoderParameters* x ) ;
1330 FUNCTION: GpStatus GdipSaveImageToStream ( GpImage* x, IStream* x, 
1331              CLSID* x, EncoderParameters* x ) ;
1332 FUNCTION: GpStatus GdipSetImagePalette ( GpImage* x, ColorPalette* x ) ;
1333 FUNCTION: GpStatus GdipSetPropertyItem ( GpImage* x, PropertyItem* x ) ;
1334
1335
1336 FUNCTION: GpStatus GdipCreateImageAttributes ( GpImageAttributes** x ) ;
1337 FUNCTION: GpStatus GdipDisposeImageAttributes ( GpImageAttributes* x ) ;
1338 FUNCTION: GpStatus GdipSetImageAttributesCachedBackground ( GpImageAttributes* x, 
1339              BOOL x ) ;
1340 FUNCTION: GpStatus GdipSetImageAttributesColorKeys ( GpImageAttributes* x, 
1341              ColorAdjustType x, BOOL x, ARGB x, ARGB x ) ;
1342 FUNCTION: GpStatus GdipSetImageAttributesColorMatrix ( GpImageAttributes* x, 
1343              ColorAdjustType x, BOOL x, ColorMatrix* x, ColorMatrix* x, 
1344              ColorMatrixFlags x ) ;
1345 FUNCTION: GpStatus GdipSetImageAttributesGamma ( GpImageAttributes* x, 
1346              ColorAdjustType x, BOOL x, REAL x ) ;
1347 FUNCTION: GpStatus GdipSetImageAttributesNoOp ( GpImageAttributes* x, 
1348              ColorAdjustType x, BOOL x ) ;
1349 FUNCTION: GpStatus GdipSetImageAttributesOutputChannel ( GpImageAttributes* x, 
1350              ColorAdjustType x, BOOL x, ColorChannelFlags x ) ;
1351 FUNCTION: GpStatus GdipSetImageAttributesOutputChannelColorProfile ( 
1352              GpImageAttributes* x, ColorAdjustType x, BOOL x, WCHAR* x ) ;
1353 FUNCTION: GpStatus GdipSetImageAttributesRemapTable ( GpImageAttributes* x, 
1354              ColorAdjustType x, BOOL x, UINT x, ColorMap* x ) ;
1355 FUNCTION: GpStatus GdipSetImageAttributesThreshold ( GpImageAttributes* x, 
1356              ColorAdjustType x, BOOL x, REAL x ) ;
1357 FUNCTION: GpStatus GdipSetImageAttributesToIdentity ( GpImageAttributes* x, 
1358              ColorAdjustType x ) ;
1359 FUNCTION: GpStatus GdipSetImageAttributesWrapMode ( GpImageAttributes* x, GpWrapMode x, 
1360              ARGB x, BOOL x ) ;
1361
1362
1363 FUNCTION: GpStatus GdipCreateLineBrush ( GpPointF* x, GpPointF* x, 
1364              ARGB x, ARGB x, GpWrapMode x, GpLineGradient** x ) ;
1365 FUNCTION: GpStatus GdipCreateLineBrushI ( GpPoint* x, GpPoint* x, 
1366              ARGB x, ARGB x, GpWrapMode x, GpLineGradient** x ) ;
1367 FUNCTION: GpStatus GdipCreateLineBrushFromRect ( GpRectF* x, ARGB x, ARGB x, 
1368              LinearGradientMode x, GpWrapMode x, GpLineGradient** x ) ;
1369 FUNCTION: GpStatus GdipCreateLineBrushFromRectI ( GpRect* x, ARGB x, ARGB x, 
1370              LinearGradientMode x, GpWrapMode x, GpLineGradient** x ) ;
1371 FUNCTION: GpStatus GdipCreateLineBrushFromRectWithAngle ( GpRectF* x, 
1372              ARGB x, ARGB x, REAL x, BOOL x, GpWrapMode x, GpLineGradient** x ) ;
1373 FUNCTION: GpStatus GdipCreateLineBrushFromRectWithAngleI ( GpRect* x, 
1374              ARGB x, ARGB x, REAL x, BOOL x, GpWrapMode x, GpLineGradient** x ) ;
1375 FUNCTION: GpStatus GdipGetLineColors ( GpLineGradient* x, ARGB* x ) ;
1376 FUNCTION: GpStatus GdipGetLineGammaCorrection ( GpLineGradient* x, BOOL* x ) ;
1377 FUNCTION: GpStatus GdipGetLineRect ( GpLineGradient* x, GpRectF* x ) ;
1378 FUNCTION: GpStatus GdipGetLineRectI ( GpLineGradient* x, GpRect* x ) ;
1379 FUNCTION: GpStatus GdipGetLineWrapMode ( GpLineGradient* x, GpWrapMode* x ) ;
1380 FUNCTION: GpStatus GdipSetLineBlend ( GpLineGradient* x, REAL* x, 
1381              REAL* x, INT x ) ;
1382 FUNCTION: GpStatus GdipGetLineBlend ( GpLineGradient* x, REAL* x, REAL* x, INT x ) ;
1383 FUNCTION: GpStatus GdipGetLineBlendCount ( GpLineGradient* x, INT* x ) ;
1384 FUNCTION: GpStatus GdipSetLinePresetBlend ( GpLineGradient* x, ARGB* x, 
1385              REAL* x, INT x ) ;
1386 FUNCTION: GpStatus GdipGetLinePresetBlend ( GpLineGradient* x, ARGB* x, REAL* x, INT x ) ;
1387 FUNCTION: GpStatus GdipGetLinePresetBlendCount ( GpLineGradient* x, INT* x ) ;
1388 FUNCTION: GpStatus GdipResetLineTransform ( GpLineGradient* x ) ;
1389 FUNCTION: GpStatus GdipRotateLineTransform ( GpLineGradient* x, REAL x, GpMatrixOrder x ) ;
1390 FUNCTION: GpStatus GdipScaleLineTransform ( GpLineGradient* x, REAL x, REAL x, 
1391              GpMatrixOrder x ) ;
1392 FUNCTION: GpStatus GdipSetLineColors ( GpLineGradient* x, ARGB x, ARGB x ) ;
1393 FUNCTION: GpStatus GdipSetLineGammaCorrection ( GpLineGradient* x, BOOL x ) ;
1394 FUNCTION: GpStatus GdipSetLineSigmaBlend ( GpLineGradient* x, REAL x, REAL x ) ;
1395 FUNCTION: GpStatus GdipSetLineTransform ( GpLineGradient* x, GpMatrix* x ) ;
1396 FUNCTION: GpStatus GdipSetLineLinearBlend ( GpLineGradient* x, REAL x, REAL x ) ;
1397 FUNCTION: GpStatus GdipSetLineWrapMode ( GpLineGradient* x, GpWrapMode x ) ;
1398 FUNCTION: GpStatus GdipTranslateLineTransform ( GpLineGradient* x, REAL x, REAL x, 
1399              GpMatrixOrder x ) ;
1400
1401
1402 FUNCTION: GpStatus GdipCloneMatrix ( GpMatrix* x, GpMatrix** x ) ;
1403 FUNCTION: GpStatus GdipCreateMatrix ( GpMatrix** x ) ;
1404 FUNCTION: GpStatus GdipCreateMatrix2 ( REAL x, REAL x, REAL x, REAL x, REAL x, REAL x, GpMatrix** x ) ;
1405 FUNCTION: GpStatus GdipCreateMatrix3 ( GpRectF* x, GpPointF* x, GpMatrix** x ) ;
1406 FUNCTION: GpStatus GdipCreateMatrix3I ( GpRect* x, GpPoint* x, GpMatrix** x ) ;
1407 FUNCTION: GpStatus GdipDeleteMatrix ( GpMatrix* x ) ;
1408 FUNCTION: GpStatus GdipGetMatrixElements ( GpMatrix* x, REAL* x ) ;
1409 FUNCTION: GpStatus GdipInvertMatrix ( GpMatrix* x ) ;
1410 FUNCTION: GpStatus GdipIsMatrixEqual ( GpMatrix* x,  GpMatrix* x,  BOOL* x ) ;
1411 FUNCTION: GpStatus GdipIsMatrixIdentity ( GpMatrix* x,  BOOL* x ) ;
1412 FUNCTION: GpStatus GdipIsMatrixInvertible ( GpMatrix* x,  BOOL* x ) ;
1413 FUNCTION: GpStatus GdipMultiplyMatrix ( GpMatrix* x, GpMatrix* x, GpMatrixOrder x ) ;
1414 FUNCTION: GpStatus GdipRotateMatrix ( GpMatrix* x, REAL x, GpMatrixOrder x ) ;
1415 FUNCTION: GpStatus GdipShearMatrix ( GpMatrix* x, REAL x, REAL x, GpMatrixOrder x ) ;
1416 FUNCTION: GpStatus GdipScaleMatrix ( GpMatrix* x, REAL x, REAL x, GpMatrixOrder x ) ;
1417 FUNCTION: GpStatus GdipSetMatrixElements ( GpMatrix* x, REAL x, REAL x, REAL x, REAL x, REAL x, REAL x ) ;
1418 FUNCTION: GpStatus GdipTransformMatrixPoints ( GpMatrix* x, GpPointF* x, INT x ) ;
1419 FUNCTION: GpStatus GdipTransformMatrixPointsI ( GpMatrix* x, GpPoint* x, INT x ) ;
1420 FUNCTION: GpStatus GdipTranslateMatrix ( GpMatrix* x, REAL x, REAL x, GpMatrixOrder x ) ;
1421 FUNCTION: GpStatus GdipVectorTransformMatrixPoints ( GpMatrix* x, GpPointF* x, INT x ) ;
1422 FUNCTION: GpStatus GdipVectorTransformMatrixPointsI ( GpMatrix* x, GpPoint* x, INT x ) ;
1423
1424
1425 FUNCTION: GpStatus GdipConvertToEmfPlus ( GpGraphics* x, GpMetafile* x, INT* x, 
1426              EmfType x, WCHAR* x, GpMetafile** x ) ;
1427 FUNCTION: GpStatus GdipConvertToEmfPlusToFile ( GpGraphics* x, GpMetafile* x, INT* x, WCHAR* x, EmfType x, WCHAR* x, GpMetafile** x ) ;
1428 FUNCTION: GpStatus GdipConvertToEmfPlusToStream ( GpGraphics* x, GpMetafile* x, INT* x, IStream* x, EmfType x, WCHAR* x, GpMetafile** x ) ;
1429 FUNCTION: GpStatus GdipCreateMetafileFromEmf ( HENHMETAFILE x, BOOL x, GpMetafile** x ) ;
1430 FUNCTION: GpStatus GdipCreateMetafileFromWmf ( HMETAFILE x, BOOL x, 
1431              WmfPlaceableFileHeader* x, GpMetafile** x ) ;
1432 FUNCTION: GpStatus GdipCreateMetafileFromWmfFile ( WCHAR* x,  WmfPlaceableFileHeader* x, 
1433              GpMetafile** x ) ;
1434 FUNCTION: GpStatus GdipCreateMetafileFromFile ( WCHAR* x, GpMetafile** x ) ;
1435 FUNCTION: GpStatus GdipCreateMetafileFromStream ( IStream* x, GpMetafile** x ) ;
1436 FUNCTION: GpStatus GdipSetMetafileDownLevelRasterizationLimit ( GpMetafile* x, UINT x ) ;
1437
1438
1439 FUNCTION: GpStatus GdipGetMetafileHeaderFromEmf ( HENHMETAFILE x, MetafileHeader* x ) ;
1440 FUNCTION: GpStatus GdipGetMetafileHeaderFromFile ( WCHAR* x, MetafileHeader* x ) ;
1441 FUNCTION: GpStatus GdipGetMetafileHeaderFromMetafile ( GpMetafile* x, MetafileHeader* x ) ;
1442 FUNCTION: GpStatus GdipGetMetafileHeaderFromStream ( IStream* x, MetafileHeader* x ) ;
1443 FUNCTION: GpStatus GdipGetMetafileHeaderFromWmf ( HMETAFILE x, WmfPlaceableFileHeader* x, MetafileHeader* x ) ;
1444
1445
1446 FUNCTION: GpStatus GdiplusNotificationHook ( ULONG_PTR* x ) ;
1447 FUNCTION: void GdiplusNotificationUnhook ( ULONG_PTR x ) ;
1448
1449
1450 FUNCTION: GpStatus GdipCreatePathGradient ( GpPointF* x, INT x, GpWrapMode x, GpPathGradient** x ) ;
1451 FUNCTION: GpStatus GdipCreatePathGradientI ( GpPoint* x, INT x, GpWrapMode x, GpPathGradient** x ) ;
1452 FUNCTION: GpStatus GdipCreatePathGradientFromPath ( GpPath* x, 
1453              GpPathGradient** x ) ;
1454 FUNCTION: GpStatus GdipGetPathGradientBlend ( GpPathGradient* x, REAL* x, REAL* x, INT x ) ;
1455 FUNCTION: GpStatus GdipGetPathGradientBlendCount ( GpPathGradient* x, INT* x ) ;
1456 FUNCTION: GpStatus GdipGetPathGradientCenterColor ( GpPathGradient* x, ARGB* x ) ;
1457 FUNCTION: GpStatus GdipGetPathGradientCenterPoint ( GpPathGradient* x, GpPointF* x ) ;
1458 FUNCTION: GpStatus GdipGetPathGradientCenterPointI ( GpPathGradient* x, GpPoint* x ) ;
1459 FUNCTION: GpStatus GdipGetPathGradientFocusScales ( GpPathGradient* x, REAL* x, REAL* x ) ;
1460 FUNCTION: GpStatus GdipGetPathGradientGammaCorrection ( GpPathGradient* x, BOOL* x ) ;
1461 FUNCTION: GpStatus GdipGetPathGradientPointCount ( GpPathGradient* x, INT* x ) ;
1462 FUNCTION: GpStatus GdipSetPathGradientPresetBlend ( GpPathGradient* x, 
1463              ARGB* x, REAL* x, INT x ) ;
1464 FUNCTION: GpStatus GdipGetPathGradientRect ( GpPathGradient* x, GpRectF* x ) ;
1465 FUNCTION: GpStatus GdipGetPathGradientRectI ( GpPathGradient* x, GpRect* x ) ;
1466 FUNCTION: GpStatus GdipGetPathGradientSurroundColorsWithCount ( GpPathGradient* x, 
1467              ARGB* x, INT* x ) ;
1468 FUNCTION: GpStatus GdipGetPathGradientWrapMode ( GpPathGradient* x, GpWrapMode* x ) ;
1469 FUNCTION: GpStatus GdipSetPathGradientBlend ( GpPathGradient* x, REAL* x, REAL* x, INT x ) ;
1470 FUNCTION: GpStatus GdipSetPathGradientCenterColor ( GpPathGradient* x, ARGB x ) ;
1471 FUNCTION: GpStatus GdipSetPathGradientCenterPoint ( GpPathGradient* x, GpPointF* x ) ;
1472 FUNCTION: GpStatus GdipSetPathGradientCenterPointI ( GpPathGradient* x, GpPoint* x ) ;
1473 FUNCTION: GpStatus GdipSetPathGradientFocusScales ( GpPathGradient* x, REAL x, REAL x ) ;
1474 FUNCTION: GpStatus GdipSetPathGradientGammaCorrection ( GpPathGradient* x, BOOL x ) ;
1475 FUNCTION: GpStatus GdipSetPathGradientSigmaBlend ( GpPathGradient* x, REAL x, REAL x ) ;
1476 FUNCTION: GpStatus GdipSetPathGradientSurroundColorsWithCount ( GpPathGradient* x, 
1477              ARGB* x, INT* x ) ;
1478 FUNCTION: GpStatus GdipSetPathGradientWrapMode ( GpPathGradient* x, GpWrapMode x ) ;
1479 FUNCTION: GpStatus GdipGetPathGradientSurroundColorCount ( GpPathGradient* x, INT* x ) ;
1480
1481
1482 FUNCTION: GpStatus GdipCreatePathIter ( GpPathIterator** x, GpPath* x ) ;
1483 FUNCTION: GpStatus GdipDeletePathIter ( GpPathIterator* x ) ;
1484 FUNCTION: GpStatus GdipPathIterCopyData ( GpPathIterator* x, INT* x, GpPointF* x, BYTE* x, 
1485              INT x, INT x ) ;
1486 FUNCTION: GpStatus GdipPathIterGetCount ( GpPathIterator* x, INT* x ) ;
1487 FUNCTION: GpStatus GdipPathIterGetSubpathCount ( GpPathIterator* x, INT* x ) ;
1488 FUNCTION: GpStatus GdipPathIterEnumerate ( GpPathIterator* x, INT* x, GpPointF* x, BYTE* x, INT x ) ;
1489 FUNCTION: GpStatus GdipPathIterHasCurve ( GpPathIterator* x, BOOL* x ) ;
1490 FUNCTION: GpStatus GdipPathIterIsValid ( GpPathIterator* x, BOOL* x ) ;
1491 FUNCTION: GpStatus GdipPathIterNextMarker ( GpPathIterator* x, INT* x, INT* x, INT* x ) ;
1492 FUNCTION: GpStatus GdipPathIterNextMarkerPath ( GpPathIterator* x, INT* x, GpPath* x ) ;
1493 FUNCTION: GpStatus GdipPathIterNextPathType ( GpPathIterator* x, INT* x, BYTE* x, INT* x, INT* x ) ;
1494 FUNCTION: GpStatus GdipPathIterNextSubpath ( GpPathIterator* x, INT* x, INT* x, INT* x, BOOL* x ) ;
1495 FUNCTION: GpStatus GdipPathIterNextSubpathPath ( GpPathIterator* x, INT* x, GpPath* x, BOOL* x ) ;
1496 FUNCTION: GpStatus GdipPathIterRewind ( GpPathIterator* x ) ;
1497
1498
1499 FUNCTION: GpStatus GdipClonePen ( GpPen* x, GpPen** x ) ;
1500 FUNCTION: GpStatus GdipCreatePen1 ( ARGB x, REAL x, GpUnit x, GpPen** x ) ;
1501 FUNCTION: GpStatus GdipCreatePen2 ( GpBrush* x, REAL x, GpUnit x, GpPen** x ) ;
1502 FUNCTION: GpStatus GdipDeletePen ( GpPen* x ) ;
1503 FUNCTION: GpStatus GdipGetPenBrushFill ( GpPen* x, GpBrush** x ) ;
1504 FUNCTION: GpStatus GdipGetPenColor ( GpPen* x, ARGB* x ) ;
1505 FUNCTION: GpStatus GdipGetPenCustomStartCap ( GpPen* x, GpCustomLineCap** x ) ;
1506 FUNCTION: GpStatus GdipGetPenCustomEndCap ( GpPen* x, GpCustomLineCap** x ) ;
1507 FUNCTION: GpStatus GdipGetPenDashArray ( GpPen* x, REAL* x, INT x ) ;
1508 FUNCTION: GpStatus GdipGetPenDashCount ( GpPen* x, INT* x ) ;
1509 FUNCTION: GpStatus GdipGetPenDashOffset ( GpPen* x, REAL* x ) ;
1510 FUNCTION: GpStatus GdipGetPenDashStyle ( GpPen* x, GpDashStyle* x ) ;
1511 FUNCTION: GpStatus GdipGetPenMode ( GpPen* x, GpPenAlignment* x ) ;
1512 FUNCTION: GpStatus GdipResetPenTransform ( GpPen* x ) ;
1513 FUNCTION: GpStatus GdipScalePenTransform ( GpPen* x, REAL x, REAL x, GpMatrixOrder x ) ;
1514 FUNCTION: GpStatus GdipSetPenBrushFill ( GpPen* x, GpBrush* x ) ;
1515 FUNCTION: GpStatus GdipSetPenColor ( GpPen* x, ARGB x ) ;
1516 FUNCTION: GpStatus GdipSetPenCompoundArray ( GpPen* x, REAL* x, INT x ) ;
1517 FUNCTION: GpStatus GdipSetPenCustomEndCap ( GpPen* x, GpCustomLineCap* x ) ;
1518 FUNCTION: GpStatus GdipSetPenCustomStartCap ( GpPen* x, GpCustomLineCap* x ) ;
1519 FUNCTION: GpStatus GdipSetPenDashArray ( GpPen* x, REAL* x, INT x ) ;
1520 FUNCTION: GpStatus GdipSetPenDashCap197819 ( GpPen* x, GpDashCap x ) ;
1521 FUNCTION: GpStatus GdipSetPenDashOffset ( GpPen* x, REAL x ) ;
1522 FUNCTION: GpStatus GdipSetPenDashStyle ( GpPen* x, GpDashStyle x ) ;
1523 FUNCTION: GpStatus GdipSetPenEndCap ( GpPen* x, GpLineCap x ) ;
1524 FUNCTION: GpStatus GdipGetPenFillType ( GpPen* x, GpPenType* x ) ;
1525 FUNCTION: GpStatus GdipSetPenLineCap197819 ( GpPen* x, GpLineCap x, GpLineCap x, GpDashCap x ) ;
1526 FUNCTION: GpStatus GdipSetPenLineJoin ( GpPen* x, GpLineJoin x ) ;
1527 FUNCTION: GpStatus GdipSetPenMode ( GpPen* x, GpPenAlignment x ) ;
1528 FUNCTION: GpStatus GdipSetPenMiterLimit ( GpPen* x, REAL x ) ;
1529 FUNCTION: GpStatus GdipSetPenStartCap ( GpPen* x, GpLineCap x ) ;
1530 FUNCTION: GpStatus GdipSetPenWidth ( GpPen* x, REAL x ) ;
1531 FUNCTION: GpStatus GdipGetPenDashCap197819 ( GpPen* x, GpDashCap* x ) ;
1532 FUNCTION: GpStatus GdipGetPenEndCap ( GpPen* x, GpLineCap* x ) ;
1533 FUNCTION: GpStatus GdipGetPenLineJoin ( GpPen* x, GpLineJoin* x ) ;
1534 FUNCTION: GpStatus GdipGetPenMiterLimit ( GpPen* x, REAL* x ) ;
1535 FUNCTION: GpStatus GdipGetPenStartCap ( GpPen* x, GpLineCap* x ) ;
1536 FUNCTION: GpStatus GdipGetPenUnit ( GpPen* x, GpUnit* x ) ;
1537 FUNCTION: GpStatus GdipGetPenWidth ( GpPen* x, REAL* x ) ;
1538
1539
1540 FUNCTION: GpStatus GdipCloneRegion ( GpRegion* x,  GpRegion** x ) ;
1541 FUNCTION: GpStatus GdipCombineRegionPath ( GpRegion* x,  GpPath* x,  CombineMode x ) ;
1542 FUNCTION: GpStatus GdipCombineRegionRect ( GpRegion* x,  GpRectF* x,  CombineMode x ) ;
1543 FUNCTION: GpStatus GdipCombineRegionRectI ( GpRegion* x,  GpRect* x,  CombineMode x ) ;
1544 FUNCTION: GpStatus GdipCombineRegionRegion ( GpRegion* x,  GpRegion* x,  CombineMode x ) ;
1545 FUNCTION: GpStatus GdipCreateRegion ( GpRegion** x ) ;
1546 FUNCTION: GpStatus GdipCreateRegionPath ( GpPath* x,  GpRegion** x ) ;
1547 FUNCTION: GpStatus GdipCreateRegionRect ( GpRectF* x,  GpRegion** x ) ;
1548 FUNCTION: GpStatus GdipCreateRegionRectI ( GpRect* x,  GpRegion** x ) ;
1549 FUNCTION: GpStatus GdipCreateRegionRgnData ( BYTE* x,  INT x,  GpRegion** x ) ;
1550 FUNCTION: GpStatus GdipCreateRegionHrgn ( HRGN x,  GpRegion** x ) ;
1551 FUNCTION: GpStatus GdipDeleteRegion ( GpRegion* x ) ;
1552 FUNCTION: GpStatus GdipGetRegionBounds ( GpRegion* x,  GpGraphics* x,  GpRectF* x ) ;
1553 FUNCTION: GpStatus GdipGetRegionBoundsI ( GpRegion* x,  GpGraphics* x,  GpRect* x ) ;
1554 FUNCTION: GpStatus GdipGetRegionData ( GpRegion* x,  BYTE* x,  UINT x,  UINT* x ) ;
1555 FUNCTION: GpStatus GdipGetRegionDataSize ( GpRegion* x,  UINT* x ) ;
1556 FUNCTION: GpStatus GdipGetRegionHRgn ( GpRegion* x,  GpGraphics* x,  HRGN* x ) ;
1557 FUNCTION: GpStatus GdipIsEmptyRegion ( GpRegion* x,  GpGraphics* x,  BOOL* x ) ;
1558 FUNCTION: GpStatus GdipIsEqualRegion ( GpRegion* x,  GpRegion* x,  GpGraphics* x,  BOOL* x ) ;
1559 FUNCTION: GpStatus GdipIsInfiniteRegion ( GpRegion* x,  GpGraphics* x,  BOOL* x ) ;
1560 FUNCTION: GpStatus GdipIsVisibleRegionPoint ( GpRegion* x,  REAL x,  REAL x,  GpGraphics* x,  BOOL* x ) ;
1561 FUNCTION: GpStatus GdipIsVisibleRegionPointI ( GpRegion* x,  INT x,  INT x,  GpGraphics* x,  BOOL* x ) ;
1562 FUNCTION: GpStatus GdipIsVisibleRegionRect ( GpRegion* x,  REAL x,  REAL x,  REAL x,  REAL x,  GpGraphics* x,  BOOL* x ) ;
1563 FUNCTION: GpStatus GdipIsVisibleRegionRectI ( GpRegion* x,  INT x,  INT x,  INT x,  INT x,  GpGraphics* x,  BOOL* x ) ;
1564 FUNCTION: GpStatus GdipSetEmpty ( GpRegion* x ) ;
1565 FUNCTION: GpStatus GdipSetInfinite ( GpRegion* x ) ;
1566 FUNCTION: GpStatus GdipTransformRegion ( GpRegion* x,  GpMatrix* x ) ;
1567 FUNCTION: GpStatus GdipTranslateRegion ( GpRegion* x,  REAL x,  REAL x ) ;
1568 FUNCTION: GpStatus GdipTranslateRegionI ( GpRegion* x,  INT x,  INT x ) ;
1569
1570
1571 FUNCTION: GpStatus GdipCreateSolidFill ( ARGB x, GpSolidFill** x ) ;
1572 FUNCTION: GpStatus GdipGetSolidFillColor ( GpSolidFill* x, ARGB* x ) ;
1573 FUNCTION: GpStatus GdipSetSolidFillColor ( GpSolidFill* x, ARGB x ) ;
1574
1575
1576 FUNCTION: GpStatus GdipCloneStringFormat ( GpStringFormat* x, GpStringFormat** x ) ;
1577 FUNCTION: GpStatus GdipCreateStringFormat ( INT x, LANGID x, GpStringFormat** x ) ;
1578 FUNCTION: GpStatus GdipDeleteStringFormat ( GpStringFormat* x ) ;
1579 FUNCTION: GpStatus GdipGetStringFormatAlign ( GpStringFormat* x, StringAlignment* x ) ;
1580 FUNCTION: GpStatus GdipGetStringFormatDigitSubstitution ( GpStringFormat* x, LANGID* x, 
1581                  StringDigitSubstitute* x ) ;
1582 FUNCTION: GpStatus GdipGetStringFormatFlags ( GpStringFormat* x,  INT* x ) ;
1583 FUNCTION: GpStatus GdipGetStringFormatHotkeyPrefix ( GpStringFormat* x, INT* x ) ;
1584 FUNCTION: GpStatus GdipGetStringFormatLineAlign ( GpStringFormat* x, StringAlignment* x ) ;
1585 FUNCTION: GpStatus GdipGetStringFormatMeasurableCharacterRangeCount ( 
1586                  GpStringFormat* x,  INT* x ) ;
1587 FUNCTION: GpStatus GdipGetStringFormatTabStopCount ( GpStringFormat* x, INT* x ) ;
1588 FUNCTION: GpStatus GdipGetStringFormatTabStops ( GpStringFormat* x, INT x, REAL* x, REAL* x ) ;
1589 FUNCTION: GpStatus GdipGetStringFormatTrimming ( GpStringFormat* x, StringTrimming* x ) ;
1590 FUNCTION: GpStatus GdipSetStringFormatAlign ( GpStringFormat* x, StringAlignment x ) ;
1591 FUNCTION: GpStatus GdipSetStringFormatDigitSubstitution ( GpStringFormat* x, LANGID x, StringDigitSubstitute x ) ;
1592 FUNCTION: GpStatus GdipSetStringFormatHotkeyPrefix ( GpStringFormat* x, INT x ) ;
1593 FUNCTION: GpStatus GdipSetStringFormatLineAlign ( GpStringFormat* x, StringAlignment x ) ;
1594 FUNCTION: GpStatus GdipSetStringFormatMeasurableCharacterRanges ( 
1595                  GpStringFormat* x,  INT x,  CharacterRange* x ) ;
1596 FUNCTION: GpStatus GdipSetStringFormatTabStops ( GpStringFormat* x, REAL x, INT x, REAL* x ) ;
1597 FUNCTION: GpStatus GdipSetStringFormatTrimming ( GpStringFormat* x, StringTrimming x ) ;
1598 FUNCTION: GpStatus GdipSetStringFormatFlags ( GpStringFormat* x,  INT x ) ;
1599 FUNCTION: GpStatus GdipStringFormatGetGenericDefault ( GpStringFormat** x ) ;
1600 FUNCTION: GpStatus GdipStringFormatGetGenericTypographic ( GpStringFormat** x ) ;
1601
1602
1603 FUNCTION: GpStatus GdipCreateTexture ( GpImage* x, GpWrapMode x, GpTexture** x ) ;
1604 FUNCTION: GpStatus GdipCreateTexture2 ( GpImage* x, GpWrapMode x, REAL x, REAL x, REAL x, REAL x, GpTexture** x ) ;
1605 FUNCTION: GpStatus GdipCreateTexture2I ( GpImage* x, GpWrapMode x, INT x, INT x, INT x, INT x, GpTexture** x ) ;
1606 FUNCTION: GpStatus GdipCreateTextureIA ( GpImage* x, GpImageAttributes* x, 
1607              REAL x, REAL x, REAL x, REAL x, GpTexture** x ) ;
1608 FUNCTION: GpStatus GdipCreateTextureIAI ( GpImage* x, GpImageAttributes* x, 
1609              INT x, INT x, INT x, INT x, GpTexture** x ) ;
1610 FUNCTION: GpStatus GdipGetTextureTransform ( GpTexture* x, GpMatrix* x ) ;
1611 FUNCTION: GpStatus GdipGetTextureWrapMode ( GpTexture* x,  GpWrapMode* x ) ;
1612 FUNCTION: GpStatus GdipMultiplyTextureTransform ( GpTexture* x, 
1613              GpMatrix* x, GpMatrixOrder x ) ;
1614 FUNCTION: GpStatus GdipResetTextureTransform ( GpTexture* x ) ;
1615 FUNCTION: GpStatus GdipRotateTextureTransform ( GpTexture* x, REAL x, GpMatrixOrder x ) ;
1616 FUNCTION: GpStatus GdipScaleTextureTransform ( GpTexture* x, REAL x, REAL x, GpMatrixOrder x ) ;
1617 FUNCTION: GpStatus GdipSetTextureTransform ( GpTexture* x, GpMatrix* x ) ;
1618 FUNCTION: GpStatus GdipSetTextureWrapMode ( GpTexture* x,  GpWrapMode x ) ;
1619 FUNCTION: GpStatus GdipTranslateTextureTransform ( GpTexture* x, REAL x, REAL x, 
1620              GpMatrixOrder x ) ;
1621
1622
1623 FUNCTION: GpStatus GdipCreateStreamOnFile ( WCHAR* x, UINT x, IStream** x ) ;
1624 FUNCTION: GpStatus GdipGetImageEncodersSize ( UINT* numEncoders,  UINT* size ) ;
1625 FUNCTION: GpStatus GdipGetImageEncoders ( UINT numEncoders,  UINT size,  ImageCodecInfo* encoders ) ;
1626 FUNCTION: GpStatus GdipTestControl ( GpTestControlEnum x, void* x ) ;
1627
1628 ERROR: gdi+-error status ;
1629
1630 : check-gdi+-status ( GpStatus -- )
1631     dup Ok = [ drop ] [ gdi+-error ] if ;
1632
1633 CONSTANT: standard-gdi+-startup-input
1634     S{ GdiplusStartupInput
1635         { GdiplusVersion 1 }
1636         { DebugEventCallback f }
1637         { SuppressBackgroundThread 0 }
1638         { SuppressExternalCodecs 0 }
1639     }
1640
1641 : (start-gdi+) ( startup-input -- token startup-output )
1642     { ULONG_PTR GdiplusStartupOutput }
1643     [ swapd GdiplusStartup check-gdi+-status ] [ ] with-out-parameters ;
1644 : start-gdi+ ( -- token )
1645     standard-gdi+-startup-input (start-gdi+) drop ; inline
1646 : stop-gdi+ ( token -- )
1647     GdiplusShutdown ;
1648
1649 DESTRUCTOR: stop-gdi+