2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS gdiplus.dll
4 * FILE: include/GdiPlusPrivate.h
5 * PURPOSE: GDI+ private definitions
7 #ifndef __GDIPLUSPRIVATE_H
8 #define __GDIPLUSPRIVATE_H
10 #include <gdiplusenums.h>
11 #include <gdipluspixelformats.h>
15 #include <gdipluscolormatrix.h>
17 #define WINGDIPAPI __stdcall
18 #define GDIPCONST const
20 typedef BOOL (CALLBACK
* ImageAbort
)(VOID
*);
21 typedef ImageAbort DrawImageAbort
;
22 typedef ImageAbort GetThumbnailImageAbort
;
23 typedef BOOL (CALLBACK
* EnumerateMetafileProc
)(EmfPlusRecordType
,
35 InsufficientBuffer
= 5,
43 UnknownImageFormat
= 13,
44 FontFamilyNotFound
= 14,
45 FontStyleNotFound
= 15,
47 UnsupportedGdiplusVersion
= 17,
48 GdiplusNotInitialized
= 18,
49 PropertyNotFound
= 19,
50 PropertyNotSupported
= 20,
54 typedef GpStatus Status
;
58 } GpAdjustableArrowCap
;
82 } IDirectDrawSurface7
;
88 typedef BrushType GpBrushType
;
90 typedef HatchStyle GpHatchStyle
;
110 WCHAR
*FormatDescription
;
111 WCHAR
*FilenameExtension
;
139 typedef FillMode GpFillMode
;
157 typedef FlushIntention GpFlushIntention
;
174 ULONG NumberOfValues
;
182 EncoderParameter Parameter
[1];
205 ColorChannelFlagsC
= 0,
206 ColorChannelFlagsM
= 1,
207 ColorChannelFlagsY
= 2,
208 ColorChannelFlagsK
= 3,
209 ColorChannelFlagsLast
= 4
212 typedef LineCap GpLineCap
;
218 typedef LineJoin GpLineJoin
;
220 typedef WrapMode GpWrapMode
;
226 typedef MatrixOrder GpMatrixOrder
;
252 typedef RectF GpRectF
;
278 PWMFRect16 BoundingBox
;
282 } WmfPlaceableFileHeader
;
300 typedef DashCap GpDashCap
;
302 typedef PenAlignment GpPenAlignment
;
304 typedef PenType GpPenType
;
306 typedef DashStyle GpDashStyle
;
316 typedef CoordinateSpace GpCoordinateSpace
;
319 DebugEventLevelFatal
,
320 DebugEventLevelWarning
323 typedef VOID (WINAPI
*DebugEventProc
)(DebugEventLevel level
,
328 UINT32 GdiplusVersion
;
329 DebugEventProc DebugEventCallback
;
330 BOOL SuppressBackgroundThread
;
331 BOOL SuppressExternalCodecs
;
332 } GdiplusStartupInput
;
334 typedef Status (WINAPI
*NotificationHookProc
)(OUT ULONG_PTR
*token
);
335 typedef VOID (WINAPI
*NotificationUnhookProc
)(ULONG_PTR token
);
338 NotificationHookProc NotificationHook
;
339 NotificationUnhookProc NotificationUnhook
;
340 } GdiplusStartupOutput
;
342 #endif /* __GDIPLUSPRIVATE_H */