ReactOS 0.4.15-dev-5667-ged97270
gdiplusflat.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WINGDIPAPI   __stdcall
 
#define GDIPCONST   const
 

Functions

GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap (REAL, REAL, BOOL, GpAdjustableArrowCap **)
 
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState (GpAdjustableArrowCap *, BOOL *)
 
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight (GpAdjustableArrowCap *, REAL *)
 
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset (GpAdjustableArrowCap *, REAL *)
 
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth (GpAdjustableArrowCap *, REAL *)
 
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState (GpAdjustableArrowCap *, BOOL)
 
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight (GpAdjustableArrowCap *, REAL)
 
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset (GpAdjustableArrowCap *, REAL)
 
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth (GpAdjustableArrowCap *, REAL)
 
GpStatus WINGDIPAPI GdipBitmapApplyEffect (GpBitmap *, CGpEffect *, RECT *, BOOL, VOID **, INT *)
 
GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect (GpBitmap **, INT, CGpEffect *, RECT *, RECT *, GpBitmap **, BOOL, VOID **, INT *)
 
GpStatus WINGDIPAPI GdipBitmapGetHistogram (GpBitmap *, HistogramFormat, UINT, UINT *, UINT *, UINT *, UINT *)
 
GpStatus WINGDIPAPI GdipBitmapGetHistogramSize (HistogramFormat, UINT *)
 
GpStatus WINGDIPAPI GdipBitmapGetPixel (GpBitmap *, INT, INT, ARGB *)
 
GpStatus WINGDIPAPI GdipBitmapLockBits (GpBitmap *, GDIPCONST GpRect *, UINT, PixelFormat, BitmapData *)
 
GpStatus WINGDIPAPI GdipBitmapSetPixel (GpBitmap *, INT, INT, ARGB)
 
GpStatus WINGDIPAPI GdipBitmapSetResolution (GpBitmap *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipBitmapUnlockBits (GpBitmap *, BitmapData *)
 
GpStatus WINGDIPAPI GdipCloneBitmapArea (REAL, REAL, REAL, REAL, PixelFormat, GpBitmap *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCloneBitmapAreaI (INT, INT, INT, INT, PixelFormat, GpBitmap *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromFile (GDIPCONST WCHAR *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM (GDIPCONST WCHAR *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib (GDIPCONST BITMAPINFO *, VOID *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics (INT, INT, GpGraphics *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP (HBITMAP, HPALETTE, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromHICON (HICON, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromResource (HINSTANCE, GDIPCONST WCHAR *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromScan0 (INT, INT, INT, PixelFormat, BYTE *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromStream (IStream *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM (IStream *, GpBitmap **)
 
GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap (GpBitmap *, HBITMAP *, ARGB)
 
GpStatus WINGDIPAPI GdipCreateHICONFromBitmap (GpBitmap *, HICON *)
 
GpStatus WINGDIPAPI GdipDeleteEffect (CGpEffect *)
 
GpStatus WINGDIPAPI GdipSetEffectParameters (CGpEffect *, const VOID *, const UINT)
 
GpStatus WINGDIPAPI GdipCloneBrush (GpBrush *, GpBrush **)
 
GpStatus WINGDIPAPI GdipDeleteBrush (GpBrush *)
 
GpStatus WINGDIPAPI GdipGetBrushType (GpBrush *, GpBrushType *)
 
GpStatus WINGDIPAPI GdipCreateCachedBitmap (GpBitmap *, GpGraphics *, GpCachedBitmap **)
 
GpStatus WINGDIPAPI GdipDeleteCachedBitmap (GpCachedBitmap *)
 
GpStatus WINGDIPAPI GdipDrawCachedBitmap (GpGraphics *, GpCachedBitmap *, INT, INT)
 
GpStatus WINGDIPAPI GdipCloneCustomLineCap (GpCustomLineCap *, GpCustomLineCap **)
 
GpStatus WINGDIPAPI GdipCreateCustomLineCap (GpPath *, GpPath *, GpLineCap, REAL, GpCustomLineCap **)
 
GpStatus WINGDIPAPI GdipDeleteCustomLineCap (GpCustomLineCap *)
 
GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap (GpCustomLineCap *, GpLineCap *)
 
GpStatus WINGDIPAPI GdipSetCustomLineCapBaseCap (GpCustomLineCap *, GpLineCap)
 
GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset (GpCustomLineCap *, REAL *)
 
GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset (GpCustomLineCap *, REAL)
 
GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps (GpCustomLineCap *, GpLineCap, GpLineCap)
 
GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin (GpCustomLineCap *, GpLineJoin *)
 
GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin (GpCustomLineCap *, GpLineJoin)
 
GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale (GpCustomLineCap *, REAL *)
 
GpStatus WINGDIPAPI GdipSetCustomLineCapWidthScale (GpCustomLineCap *, REAL)
 
GpStatus WINGDIPAPI GdipGetCustomLineCapType (GpCustomLineCap *, CustomLineCapType *)
 
GpStatus WINGDIPAPI GdipCloneFont (GpFont *, GpFont **)
 
GpStatus WINGDIPAPI GdipCreateFont (GDIPCONST GpFontFamily *, REAL, INT, Unit, GpFont **)
 
GpStatus WINGDIPAPI GdipCreateFontFromDC (HDC, GpFont **)
 
GpStatus WINGDIPAPI GdipCreateFontFromLogfontA (HDC, GDIPCONST LOGFONTA *, GpFont **)
 
GpStatus WINGDIPAPI GdipCreateFontFromLogfontW (HDC, GDIPCONST LOGFONTW *, GpFont **)
 
GpStatus WINGDIPAPI GdipDeleteFont (GpFont *)
 
GpStatus WINGDIPAPI GdipGetLogFontA (GpFont *, GpGraphics *, LOGFONTA *)
 
GpStatus WINGDIPAPI GdipGetLogFontW (GpFont *, GpGraphics *, LOGFONTW *)
 
GpStatus WINGDIPAPI GdipGetFamily (GpFont *, GpFontFamily **)
 
GpStatus WINGDIPAPI GdipGetFontUnit (GpFont *, Unit *)
 
GpStatus WINGDIPAPI GdipGetFontSize (GpFont *, REAL *)
 
GpStatus WINGDIPAPI GdipGetFontStyle (GpFont *, INT *)
 
GpStatus WINGDIPAPI GdipGetFontHeight (GDIPCONST GpFont *, GDIPCONST GpGraphics *, REAL *)
 
GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI (GDIPCONST GpFont *, REAL, REAL *)
 
GpStatus WINGDIPAPI GdipNewInstalledFontCollection (GpFontCollection **)
 
GpStatus WINGDIPAPI GdipNewPrivateFontCollection (GpFontCollection **)
 
GpStatus WINGDIPAPI GdipDeletePrivateFontCollection (GpFontCollection **)
 
GpStatus WINGDIPAPI GdipPrivateAddFontFile (GpFontCollection *, GDIPCONST WCHAR *)
 
GpStatus WINGDIPAPI GdipPrivateAddMemoryFont (GpFontCollection *, GDIPCONST void *, INT)
 
GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount (GpFontCollection *, INT *)
 
GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList (GpFontCollection *, INT, GpFontFamily *[], INT *)
 
GpStatus WINGDIPAPI GdipCloneFontFamily (GpFontFamily *, GpFontFamily **)
 
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName (GDIPCONST WCHAR *, GpFontCollection *, GpFontFamily **)
 
GpStatus WINGDIPAPI GdipDeleteFontFamily (GpFontFamily *)
 
GpStatus WINGDIPAPI GdipGetFamilyName (GDIPCONST GpFontFamily *, WCHAR *, LANGID)
 
GpStatus WINGDIPAPI GdipGetCellAscent (GDIPCONST GpFontFamily *, INT, UINT16 *)
 
GpStatus WINGDIPAPI GdipGetCellDescent (GDIPCONST GpFontFamily *, INT, UINT16 *)
 
GpStatus WINGDIPAPI GdipGetEmHeight (GDIPCONST GpFontFamily *, INT, UINT16 *)
 
GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif (GpFontFamily **)
 
GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif (GpFontFamily **)
 
GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace (GpFontFamily **)
 
GpStatus WINGDIPAPI GdipGetLineSpacing (GDIPCONST GpFontFamily *, INT, UINT16 *)
 
GpStatus WINGDIPAPI GdipIsStyleAvailable (GDIPCONST GpFontFamily *, INT, BOOL *)
 
GpStatus WINGDIPAPI GdipFlush (GpGraphics *, GpFlushIntention)
 
GpStatus WINGDIPAPI GdipBeginContainer (GpGraphics *, GDIPCONST GpRectF *, GDIPCONST GpRectF *, GpUnit, GraphicsContainer *)
 
GpStatus WINGDIPAPI GdipBeginContainer2 (GpGraphics *, GraphicsContainer *)
 
GpStatus WINGDIPAPI GdipBeginContainerI (GpGraphics *, GDIPCONST GpRect *, GDIPCONST GpRect *, GpUnit, GraphicsContainer *)
 
GpStatus WINGDIPAPI GdipEndContainer (GpGraphics *, GraphicsContainer)
 
GpStatus WINGDIPAPI GdipComment (GpGraphics *, UINT, GDIPCONST BYTE *)
 
GpStatus WINGDIPAPI GdipCreateFromHDC (HDC, GpGraphics **)
 
GpStatus WINGDIPAPI GdipCreateFromHDC2 (HDC, HANDLE, GpGraphics **)
 
GpStatus WINGDIPAPI GdipCreateFromHWND (HWND, GpGraphics **)
 
GpStatus WINGDIPAPI GdipCreateFromHWNDICM (HWND, GpGraphics **)
 
HPALETTE WINGDIPAPI GdipCreateHalftonePalette (void)
 
GpStatus WINGDIPAPI GdipDeleteGraphics (GpGraphics *)
 
GpStatus WINGDIPAPI GdipDrawArc (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawArcI (GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawBezier (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawBezierI (GpGraphics *, GpPen *, INT, INT, INT, INT, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawBeziers (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawBeziersI (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawClosedCurve (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawClosedCurveI (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawClosedCurve2 (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawClosedCurve2I (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawCurve (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawCurveI (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawCurve2 (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawCurve2I (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawCurve3 (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, INT, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawCurve3I (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, INT, INT, REAL)
 
GpStatus WINGDIPAPI GdipDrawDriverString (GpGraphics *, GDIPCONST UINT16 *, INT, GDIPCONST GpFont *, GDIPCONST GpBrush *, GDIPCONST PointF *, INT, GDIPCONST GpMatrix *)
 
GpStatus WINGDIPAPI GdipDrawEllipse (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawEllipseI (GpGraphics *, GpPen *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawImage (GpGraphics *, GpImage *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawImageI (GpGraphics *, GpImage *, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawImagePointRect (GpGraphics *, GpImage *, REAL, REAL, REAL, REAL, REAL, REAL, GpUnit)
 
GpStatus WINGDIPAPI GdipDrawImagePointRectI (GpGraphics *, GpImage *, INT, INT, INT, INT, INT, INT, GpUnit)
 
GpStatus WINGDIPAPI GdipDrawImagePoints (GpGraphics *, GpImage *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawImagePointsI (GpGraphics *, GpImage *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawImagePointsRect (GpGraphics *, GpImage *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, GpUnit, GDIPCONST GpImageAttributes *, DrawImageAbort, VOID *)
 
GpStatus WINGDIPAPI GdipDrawImagePointsRectI (GpGraphics *, GpImage *, GDIPCONST GpPoint *, INT, INT, INT, INT, INT, GpUnit, GDIPCONST GpImageAttributes *, DrawImageAbort, VOID *)
 
GpStatus WINGDIPAPI GdipDrawImageRect (GpGraphics *, GpImage *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawImageRectI (GpGraphics *, GpImage *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawImageRectRect (GpGraphics *, GpImage *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL, GpUnit, GDIPCONST GpImageAttributes *, DrawImageAbort, VOID *)
 
GpStatus WINGDIPAPI GdipDrawImageRectRectI (GpGraphics *, GpImage *, INT, INT, INT, INT, INT, INT, INT, INT, GpUnit, GDIPCONST GpImageAttributes *, DrawImageAbort, VOID *)
 
GpStatus WINGDIPAPI GdipDrawLine (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawLineI (GpGraphics *, GpPen *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawLines (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawLinesI (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawPath (GpGraphics *, GpPen *, GpPath *)
 
GpStatus WINGDIPAPI GdipDrawPie (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawPieI (GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawPolygon (GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipDrawPolygonI (GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipDrawRectangle (GpGraphics *, GpPen *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipDrawRectangleI (GpGraphics *, GpPen *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipDrawRectangles (GpGraphics *, GpPen *, GDIPCONST GpRectF *, INT)
 
GpStatus WINGDIPAPI GdipDrawRectanglesI (GpGraphics *, GpPen *, GDIPCONST GpRect *, INT)
 
GpStatus WINGDIPAPI GdipDrawString (GpGraphics *, GDIPCONST WCHAR *, INT, GDIPCONST GpFont *, GDIPCONST RectF *, GDIPCONST GpStringFormat *, GDIPCONST GpBrush *)
 
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint (GpGraphics *, GDIPCONST GpMetafile *, GDIPCONST GpPointF *, EnumerateMetafileProc, VOID *, GDIPCONST GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI (GpGraphics *, GDIPCONST GpMetafile *, GDIPCONST GpPoint *, EnumerateMetafileProc, VOID *, GDIPCONST GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect (GpGraphics *, GDIPCONST GpMetafile *, GDIPCONST GpRectF *, EnumerateMetafileProc, VOID *, GDIPCONST GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI (GpGraphics *, GDIPCONST GpMetafile *, GDIPCONST GpRect *, EnumerateMetafileProc, VOID *, GDIPCONST GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints (GpGraphics *, GDIPCONST GpMetafile *, GDIPCONST GpPointF *, INT, GDIPCONST GpRectF *, Unit, EnumerateMetafileProc, VOID *, GDIPCONST GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipFillClosedCurve2 (GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, REAL, GpFillMode)
 
GpStatus WINGDIPAPI GdipFillClosedCurve2I (GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, REAL, GpFillMode)
 
GpStatus WINGDIPAPI GdipFillClosedCurve (GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipFillClosedCurveI (GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipFillEllipse (GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipFillEllipseI (GpGraphics *, GpBrush *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipFillPath (GpGraphics *, GpBrush *, GpPath *)
 
GpStatus WINGDIPAPI GdipFillPie (GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipFillPieI (GpGraphics *, GpBrush *, INT, INT, INT, INT, REAL, REAL)
 
GpStatus WINGDIPAPI GdipFillPolygon (GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, GpFillMode)
 
GpStatus WINGDIPAPI GdipFillPolygonI (GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, GpFillMode)
 
GpStatus WINGDIPAPI GdipFillPolygon2 (GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipFillPolygon2I (GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipFillRectangle (GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipFillRectangleI (GpGraphics *, GpBrush *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipFillRectangles (GpGraphics *, GpBrush *, GDIPCONST GpRectF *, INT)
 
GpStatus WINGDIPAPI GdipFillRectanglesI (GpGraphics *, GpBrush *, GDIPCONST GpRect *, INT)
 
GpStatus WINGDIPAPI GdipFillRegion (GpGraphics *, GpBrush *, GpRegion *)
 
GpStatus WINGDIPAPI GdipGetClip (GpGraphics *, GpRegion *)
 
GpStatus WINGDIPAPI GdipGetClipBounds (GpGraphics *, GpRectF *)
 
GpStatus WINGDIPAPI GdipGetClipBoundsI (GpGraphics *, GpRect *)
 
GpStatus WINGDIPAPI GdipGetCompositingMode (GpGraphics *, CompositingMode *)
 
GpStatus WINGDIPAPI GdipGetCompositingQuality (GpGraphics *, CompositingQuality *)
 
GpStatus WINGDIPAPI GdipGetDC (GpGraphics *, HDC *)
 
GpStatus WINGDIPAPI GdipGetDpiX (GpGraphics *, REAL *)
 
GpStatus WINGDIPAPI GdipGetDpiY (GpGraphics *, REAL *)
 
GpStatus WINGDIPAPI GdipGetEncoderParameterListSize (GpImage *, GDIPCONST CLSID *, UINT *)
 
GpStatus WINGDIPAPI GdipGetImageDecoders (UINT, UINT, ImageCodecInfo *)
 
GpStatus WINGDIPAPI GdipGetImageDecodersSize (UINT *, UINT *)
 
GpStatus WINGDIPAPI GdipGetImageGraphicsContext (GpImage *, GpGraphics **)
 
GpStatus WINGDIPAPI GdipGetInterpolationMode (GpGraphics *, InterpolationMode *)
 
GpStatus WINGDIPAPI GdipGetNearestColor (GpGraphics *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetPageScale (GpGraphics *, REAL *)
 
GpStatus WINGDIPAPI GdipGetPageUnit (GpGraphics *, GpUnit *)
 
GpStatus WINGDIPAPI GdipGetPixelOffsetMode (GpGraphics *, PixelOffsetMode *)
 
GpStatus WINGDIPAPI GdipGetRenderingOrigin (GpGraphics *, INT *, INT *)
 
GpStatus WINGDIPAPI GdipGetSmoothingMode (GpGraphics *, SmoothingMode *)
 
GpStatus WINGDIPAPI GdipGetTextContrast (GpGraphics *, UINT *)
 
GpStatus WINGDIPAPI GdipGetTextRenderingHint (GpGraphics *, TextRenderingHint *)
 
GpStatus WINGDIPAPI GdipGetWorldTransform (GpGraphics *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipGraphicsClear (GpGraphics *, ARGB)
 
GpStatus WINGDIPAPI GdipGraphicsSetAbort (GpGraphics *, GdiplusAbort *)
 
GpStatus WINGDIPAPI GdipGetVisibleClipBounds (GpGraphics *, GpRectF *)
 
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI (GpGraphics *, GpRect *)
 
GpStatus WINGDIPAPI GdipInitializePalette (ColorPalette *, PaletteType, INT, BOOL, GpBitmap *)
 
GpStatus WINGDIPAPI GdipIsClipEmpty (GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleClipEmpty (GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisiblePoint (GpGraphics *, REAL, REAL, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisiblePointI (GpGraphics *, INT, INT, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRect (GpGraphics *, REAL, REAL, REAL, REAL, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRectI (GpGraphics *, INT, INT, INT, INT, BOOL *)
 
GpStatus WINGDIPAPI GdipMeasureCharacterRanges (GpGraphics *, GDIPCONST WCHAR *, INT, GDIPCONST GpFont *, GDIPCONST RectF *, GDIPCONST GpStringFormat *, INT, GpRegion **)
 
GpStatus WINGDIPAPI GdipMeasureDriverString (GpGraphics *, GDIPCONST UINT16 *, INT, GDIPCONST GpFont *, GDIPCONST PointF *, INT, GDIPCONST GpMatrix *, RectF *)
 
GpStatus WINGDIPAPI GdipMeasureString (GpGraphics *, GDIPCONST WCHAR *, INT, GDIPCONST GpFont *, GDIPCONST RectF *, GDIPCONST GpStringFormat *, RectF *, INT *, INT *)
 
GpStatus WINGDIPAPI GdipMultiplyWorldTransform (GpGraphics *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipRecordMetafileFileName (GDIPCONST WCHAR *, HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipRecordMetafileFileNameI (GDIPCONST WCHAR *, HDC, EmfType, GDIPCONST GpRect *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipRecordMetafileI (HDC, EmfType, GDIPCONST GpRect *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipReleaseDC (GpGraphics *, HDC)
 
GpStatus WINGDIPAPI GdipResetClip (GpGraphics *)
 
GpStatus WINGDIPAPI GdipResetWorldTransform (GpGraphics *)
 
GpStatus WINGDIPAPI GdipRestoreGraphics (GpGraphics *, GraphicsState)
 
GpStatus WINGDIPAPI GdipRotateWorldTransform (GpGraphics *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSaveAdd (GpImage *, GDIPCONST EncoderParameters *)
 
GpStatus WINGDIPAPI GdipSaveGraphics (GpGraphics *, GraphicsState *)
 
GpStatus WINGDIPAPI GdipScaleWorldTransform (GpGraphics *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetClipHrgn (GpGraphics *, HRGN, CombineMode)
 
GpStatus WINGDIPAPI GdipSetClipGraphics (GpGraphics *, GpGraphics *, CombineMode)
 
GpStatus WINGDIPAPI GdipSetClipPath (GpGraphics *, GpPath *, CombineMode)
 
GpStatus WINGDIPAPI GdipSetClipRect (GpGraphics *, REAL, REAL, REAL, REAL, CombineMode)
 
GpStatus WINGDIPAPI GdipSetClipRectI (GpGraphics *, INT, INT, INT, INT, CombineMode)
 
GpStatus WINGDIPAPI GdipSetClipRegion (GpGraphics *, GpRegion *, CombineMode)
 
GpStatus WINGDIPAPI GdipSetCompositingMode (GpGraphics *, CompositingMode)
 
GpStatus WINGDIPAPI GdipSetCompositingQuality (GpGraphics *, CompositingQuality)
 
GpStatus WINGDIPAPI GdipSetInterpolationMode (GpGraphics *, InterpolationMode)
 
GpStatus WINGDIPAPI GdipSetPageScale (GpGraphics *, REAL)
 
GpStatus WINGDIPAPI GdipSetPageUnit (GpGraphics *, GpUnit)
 
GpStatus WINGDIPAPI GdipSetPixelOffsetMode (GpGraphics *, PixelOffsetMode)
 
GpStatus WINGDIPAPI GdipSetRenderingOrigin (GpGraphics *, INT, INT)
 
GpStatus WINGDIPAPI GdipSetSmoothingMode (GpGraphics *, SmoothingMode)
 
GpStatus WINGDIPAPI GdipSetTextContrast (GpGraphics *, UINT)
 
GpStatus WINGDIPAPI GdipSetTextRenderingHint (GpGraphics *, TextRenderingHint)
 
GpStatus WINGDIPAPI GdipSetWorldTransform (GpGraphics *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipTransformPoints (GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipTransformPointsI (GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipTranslateClip (GpGraphics *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipTranslateClipI (GpGraphics *, INT, INT)
 
GpStatus WINGDIPAPI GdipTranslateWorldTransform (GpGraphics *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipAddPathArc (GpPath *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathArcI (GpPath *, INT, INT, INT, INT, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathBezier (GpPath *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathBezierI (GpPath *, INT, INT, INT, INT, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipAddPathBeziers (GpPath *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathBeziersI (GpPath *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipAddPathClosedCurve (GpPath *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathClosedCurveI (GpPath *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipAddPathClosedCurve2 (GpPath *, GDIPCONST GpPointF *, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathClosedCurve2I (GpPath *, GDIPCONST GpPoint *, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathCurve (GpPath *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathCurveI (GpPath *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipAddPathCurve2 (GpPath *, GDIPCONST GpPointF *, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathCurve2I (GpPath *, GDIPCONST GpPoint *, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathCurve3 (GpPath *, GDIPCONST GpPointF *, INT, INT, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathCurve3I (GpPath *, GDIPCONST GpPoint *, INT, INT, INT, REAL)
 
GpStatus WINGDIPAPI GdipAddPathEllipse (GpPath *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathEllipseI (GpPath *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipAddPathLine (GpPath *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathLineI (GpPath *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipAddPathLine2 (GpPath *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathLine2I (GpPath *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipAddPathPath (GpPath *, GDIPCONST GpPath *, BOOL)
 
GpStatus WINGDIPAPI GdipAddPathPie (GpPath *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathPieI (GpPath *, INT, INT, INT, INT, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathPolygon (GpPath *, GDIPCONST GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathPolygonI (GpPath *, GDIPCONST GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipAddPathRectangle (GpPath *, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipAddPathRectangleI (GpPath *, INT, INT, INT, INT)
 
GpStatus WINGDIPAPI GdipAddPathRectangles (GpPath *, GDIPCONST GpRectF *, INT)
 
GpStatus WINGDIPAPI GdipAddPathRectanglesI (GpPath *, GDIPCONST GpRect *, INT)
 
GpStatus WINGDIPAPI GdipAddPathString (GpPath *, GDIPCONST WCHAR *, INT, GDIPCONST GpFontFamily *, INT, REAL, GDIPCONST RectF *, GDIPCONST GpStringFormat *)
 
GpStatus WINGDIPAPI GdipAddPathStringI (GpPath *, GDIPCONST WCHAR *, INT, GDIPCONST GpFontFamily *, INT, REAL, GDIPCONST Rect *, GDIPCONST GpStringFormat *)
 
GpStatus WINGDIPAPI GdipClearPathMarkers (GpPath *)
 
GpStatus WINGDIPAPI GdipClonePath (GpPath *, GpPath **)
 
GpStatus WINGDIPAPI GdipClosePathFigure (GpPath *)
 
GpStatus WINGDIPAPI GdipClosePathFigures (GpPath *)
 
GpStatus WINGDIPAPI GdipCreatePath (GpFillMode, GpPath **)
 
GpStatus WINGDIPAPI GdipCreatePath2 (GDIPCONST GpPointF *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **)
 
GpStatus WINGDIPAPI GdipCreatePath2I (GDIPCONST GpPoint *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **)
 
GpStatus WINGDIPAPI GdipDeletePath (GpPath *)
 
GpStatus WINGDIPAPI GdipFlattenPath (GpPath *, GpMatrix *, REAL)
 
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint (GpPath *, REAL, REAL, GpPen *, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI (GpPath *, INT, INT, GpPen *, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisiblePathPoint (GpPath *, REAL, REAL, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisiblePathPointI (GpPath *, INT, INT, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipGetPathData (GpPath *, GpPathData *)
 
GpStatus WINGDIPAPI GdipGetPathFillMode (GpPath *, GpFillMode *)
 
GpStatus WINGDIPAPI GdipGetPathLastPoint (GpPath *, GpPointF *)
 
GpStatus WINGDIPAPI GdipGetPathPoints (GpPath *, GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipGetPathPointsI (GpPath *, GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipGetPathTypes (GpPath *, BYTE *, INT)
 
GpStatus WINGDIPAPI GdipGetPathWorldBounds (GpPath *, GpRectF *, GDIPCONST GpMatrix *, GDIPCONST GpPen *)
 
GpStatus WINGDIPAPI GdipGetPathWorldBoundsI (GpPath *, GpRect *, GDIPCONST GpMatrix *, GDIPCONST GpPen *)
 
GpStatus WINGDIPAPI GdipGetPointCount (GpPath *, INT *)
 
GpStatus WINGDIPAPI GdipResetPath (GpPath *)
 
GpStatus WINGDIPAPI GdipReversePath (GpPath *)
 
GpStatus WINGDIPAPI GdipSetPathFillMode (GpPath *, GpFillMode)
 
GpStatus WINGDIPAPI GdipSetPathMarker (GpPath *)
 
GpStatus WINGDIPAPI GdipStartPathFigure (GpPath *)
 
GpStatus WINGDIPAPI GdipTransformPath (GpPath *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipWarpPath (GpPath *, GpMatrix *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, WarpMode, REAL)
 
GpStatus WINGDIPAPI GdipWidenPath (GpPath *, GpPen *, GpMatrix *, REAL)
 
GpStatus WINGDIPAPI GdipWindingModeOutline (GpPath *, GpMatrix *, REAL)
 
GpStatus WINGDIPAPI GdipCreateHatchBrush (GpHatchStyle, ARGB, ARGB, GpHatch **)
 
GpStatus WINGDIPAPI GdipGetHatchBackgroundColor (GpHatch *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetHatchForegroundColor (GpHatch *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetHatchStyle (GpHatch *, GpHatchStyle *)
 
GpStatus WINGDIPAPI GdipCloneImage (GpImage *, GpImage **)
 
GpStatus WINGDIPAPI GdipCloneImageAttributes (GDIPCONST GpImageAttributes *, GpImageAttributes **)
 
GpStatus WINGDIPAPI GdipDisposeImage (GpImage *)
 
GpStatus WINGDIPAPI GdipEmfToWmfBits (HENHMETAFILE, UINT, LPBYTE, INT, INT)
 
GpStatus WINGDIPAPI GdipFindFirstImageItem (GpImage *, ImageItemData *)
 
GpStatus WINGDIPAPI GdipFindNextImageItem (GpImage *, ImageItemData *)
 
GpStatus WINGDIPAPI GdipGetAllPropertyItems (GpImage *, UINT, UINT, PropertyItem *)
 
GpStatus WINGDIPAPI GdipGetImageBounds (GpImage *, GpRectF *, GpUnit *)
 
GpStatus WINGDIPAPI GdipGetImageDimension (GpImage *, REAL *, REAL *)
 
GpStatus WINGDIPAPI GdipGetImageFlags (GpImage *, UINT *)
 
GpStatus WINGDIPAPI GdipGetImageHeight (GpImage *, UINT *)
 
GpStatus WINGDIPAPI GdipGetImageHorizontalResolution (GpImage *, REAL *)
 
GpStatus WINGDIPAPI GdipGetImageItemData (GpImage *, ImageItemData *)
 
GpStatus WINGDIPAPI GdipGetImagePalette (GpImage *, ColorPalette *, INT)
 
GpStatus WINGDIPAPI GdipGetImagePaletteSize (GpImage *, INT *)
 
GpStatus WINGDIPAPI GdipGetImagePixelFormat (GpImage *, PixelFormat *)
 
GpStatus WINGDIPAPI GdipGetImageRawFormat (GpImage *, GUID *)
 
GpStatus WINGDIPAPI GdipGetImageThumbnail (GpImage *, UINT, UINT, GpImage **, GetThumbnailImageAbort, VOID *)
 
GpStatus WINGDIPAPI GdipGetImageType (GpImage *, ImageType *)
 
GpStatus WINGDIPAPI GdipGetImageVerticalResolution (GpImage *, REAL *)
 
GpStatus WINGDIPAPI GdipGetImageWidth (GpImage *, UINT *)
 
GpStatus WINGDIPAPI GdipGetPropertyCount (GpImage *, UINT *)
 
GpStatus WINGDIPAPI GdipGetPropertyIdList (GpImage *, UINT, PROPID *)
 
GpStatus WINGDIPAPI GdipGetPropertyItem (GpImage *, PROPID, UINT, PropertyItem *)
 
GpStatus WINGDIPAPI GdipGetPropertyItemSize (GpImage *, PROPID, UINT *)
 
GpStatus WINGDIPAPI GdipGetPropertySize (GpImage *, UINT *, UINT *)
 
GpStatus WINGDIPAPI GdipImageForceValidation (GpImage *)
 
GpStatus WINGDIPAPI GdipImageGetFrameCount (GpImage *, GDIPCONST GUID *, UINT *)
 
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount (GpImage *, UINT *)
 
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList (GpImage *, GUID *, UINT)
 
GpStatus WINGDIPAPI GdipImageRotateFlip (GpImage *, RotateFlipType)
 
GpStatus WINGDIPAPI GdipImageSelectActiveFrame (GpImage *, GDIPCONST GUID *, UINT)
 
GpStatus WINGDIPAPI GdipImageSetAbort (GpImage *, GdiplusAbort *)
 
GpStatus WINGDIPAPI GdipLoadImageFromFile (GDIPCONST WCHAR *, GpImage **)
 
GpStatus WINGDIPAPI GdipLoadImageFromFileICM (GDIPCONST WCHAR *, GpImage **)
 
GpStatus WINGDIPAPI GdipLoadImageFromStream (IStream *, GpImage **)
 
GpStatus WINGDIPAPI GdipLoadImageFromStreamICM (IStream *, GpImage **)
 
GpStatus WINGDIPAPI GdipRemovePropertyItem (GpImage *, PROPID)
 
GpStatus WINGDIPAPI GdipSaveImageToFile (GpImage *, GDIPCONST WCHAR *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *)
 
GpStatus WINGDIPAPI GdipSaveImageToStream (GpImage *, IStream *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *)
 
GpStatus WINGDIPAPI GdipSetImagePalette (GpImage *, GDIPCONST ColorPalette *)
 
GpStatus WINGDIPAPI GdipSetPropertyItem (GpImage *, GDIPCONST PropertyItem *)
 
GpStatus WINGDIPAPI GdipCreateImageAttributes (GpImageAttributes **)
 
GpStatus WINGDIPAPI GdipDisposeImageAttributes (GpImageAttributes *)
 
GpStatus WINGDIPAPI GdipGetImageAttributesAdjustedPalette (GpImageAttributes *, ColorPalette *, ColorAdjustType)
 
GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground (GpImageAttributes *, BOOL)
 
GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys (GpImageAttributes *, ColorAdjustType, BOOL, ARGB, ARGB)
 
GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix (GpImageAttributes *, ColorAdjustType, BOOL, GDIPCONST ColorMatrix *, GDIPCONST ColorMatrix *, ColorMatrixFlags)
 
GpStatus WINGDIPAPI GdipSetImageAttributesGamma (GpImageAttributes *, ColorAdjustType, BOOL, REAL)
 
GpStatus WINGDIPAPI GdipSetImageAttributesNoOp (GpImageAttributes *, ColorAdjustType, BOOL)
 
GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannel (GpImageAttributes *, ColorAdjustType, BOOL, ColorChannelFlags)
 
GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile (GpImageAttributes *, ColorAdjustType, BOOL, GDIPCONST WCHAR *)
 
GpStatus WINGDIPAPI GdipSetImageAttributesRemapTable (GpImageAttributes *, ColorAdjustType, BOOL, UINT, GDIPCONST ColorMap *)
 
GpStatus WINGDIPAPI GdipSetImageAttributesThreshold (GpImageAttributes *, ColorAdjustType, BOOL, REAL)
 
GpStatus WINGDIPAPI GdipSetImageAttributesToIdentity (GpImageAttributes *, ColorAdjustType)
 
GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode (GpImageAttributes *, WrapMode, ARGB, BOOL)
 
GpStatus WINGDIPAPI GdipResetImageAttributes (GpImageAttributes *, ColorAdjustType)
 
GpStatus WINGDIPAPI GdipCreateLineBrush (GDIPCONST GpPointF *, GDIPCONST GpPointF *, ARGB, ARGB, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipCreateLineBrushI (GDIPCONST GpPoint *, GDIPCONST GpPoint *, ARGB, ARGB, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipCreateLineBrushFromRect (GDIPCONST GpRectF *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI (GDIPCONST GpRect *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle (GDIPCONST GpRectF *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI (GDIPCONST GpRect *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **)
 
GpStatus WINGDIPAPI GdipGetLineColors (GpLineGradient *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetLineGammaCorrection (GpLineGradient *, BOOL *)
 
GpStatus WINGDIPAPI GdipGetLineRect (GpLineGradient *, GpRectF *)
 
GpStatus WINGDIPAPI GdipGetLineRectI (GpLineGradient *, GpRect *)
 
GpStatus WINGDIPAPI GdipGetLineWrapMode (GpLineGradient *, GpWrapMode *)
 
GpStatus WINGDIPAPI GdipSetLineBlend (GpLineGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetLineBlend (GpLineGradient *, REAL *, REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetLineBlendCount (GpLineGradient *, INT *)
 
GpStatus WINGDIPAPI GdipSetLinePresetBlend (GpLineGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetLinePresetBlend (GpLineGradient *, ARGB *, REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetLinePresetBlendCount (GpLineGradient *, INT *)
 
GpStatus WINGDIPAPI GdipGetLineTransform (GpLineGradient *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipMultiplyLineTransform (GpLineGradient *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipResetLineTransform (GpLineGradient *)
 
GpStatus WINGDIPAPI GdipRotateLineTransform (GpLineGradient *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipScaleLineTransform (GpLineGradient *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetLineColors (GpLineGradient *, ARGB, ARGB)
 
GpStatus WINGDIPAPI GdipSetLineGammaCorrection (GpLineGradient *, BOOL)
 
GpStatus WINGDIPAPI GdipSetLineSigmaBlend (GpLineGradient *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipSetLineTransform (GpLineGradient *, GDIPCONST GpMatrix *)
 
GpStatus WINGDIPAPI GdipSetLineLinearBlend (GpLineGradient *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipSetLineWrapMode (GpLineGradient *, GpWrapMode)
 
GpStatus WINGDIPAPI GdipTranslateLineTransform (GpLineGradient *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipCloneMatrix (GpMatrix *, GpMatrix **)
 
GpStatus WINGDIPAPI GdipCreateMatrix (GpMatrix **)
 
GpStatus WINGDIPAPI GdipCreateMatrix2 (REAL, REAL, REAL, REAL, REAL, REAL, GpMatrix **)
 
GpStatus WINGDIPAPI GdipCreateMatrix3 (GDIPCONST GpRectF *, GDIPCONST GpPointF *, GpMatrix **)
 
GpStatus WINGDIPAPI GdipCreateMatrix3I (GDIPCONST GpRect *, GDIPCONST GpPoint *, GpMatrix **)
 
GpStatus WINGDIPAPI GdipDeleteMatrix (GpMatrix *)
 
GpStatus WINGDIPAPI GdipGetMatrixElements (GDIPCONST GpMatrix *, REAL *)
 
GpStatus WINGDIPAPI GdipInvertMatrix (GpMatrix *)
 
GpStatus WINGDIPAPI GdipIsMatrixEqual (GDIPCONST GpMatrix *, GDIPCONST GpMatrix *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsMatrixIdentity (GDIPCONST GpMatrix *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsMatrixInvertible (GDIPCONST GpMatrix *, BOOL *)
 
GpStatus WINGDIPAPI GdipMultiplyMatrix (GpMatrix *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipRotateMatrix (GpMatrix *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipShearMatrix (GpMatrix *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipScaleMatrix (GpMatrix *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetMatrixElements (GpMatrix *, REAL, REAL, REAL, REAL, REAL, REAL)
 
GpStatus WINGDIPAPI GdipTransformMatrixPoints (GpMatrix *, GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipTransformMatrixPointsI (GpMatrix *, GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipTranslateMatrix (GpMatrix *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints (GpMatrix *, GpPointF *, INT)
 
GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI (GpMatrix *, GpPoint *, INT)
 
GpStatus WINGDIPAPI GdipConvertToEmfPlus (const GpGraphics *, GpMetafile *, INT *, EmfType, const WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile (const GpGraphics *, GpMetafile *, INT *, const WCHAR *, EmfType, const WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream (const GpGraphics *, GpMetafile *, INT *, IStream *, EmfType, const WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipCreateMetafileFromEmf (HENHMETAFILE, BOOL, GpMetafile **)
 
GpStatus WINGDIPAPI GdipCreateMetafileFromWmf (HMETAFILE, BOOL, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile (GDIPCONST WCHAR *, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipCreateMetafileFromFile (GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipCreateMetafileFromStream (IStream *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipGetHemfFromMetafile (GpMetafile *, HENHMETAFILE *)
 
GpStatus WINGDIPAPI GdipPlayMetafileRecord (GDIPCONST GpMetafile *, EmfPlusRecordType, UINT, UINT, GDIPCONST BYTE *)
 
GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit (GpMetafile *, UINT)
 
GpStatus WINGDIPAPI GdipRecordMetafile (HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipRecordMetafileStream (IStream *, HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **)
 
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf (HENHMETAFILE, MetafileHeader *)
 
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile (GDIPCONST WCHAR *, MetafileHeader *)
 
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile (GpMetafile *, MetafileHeader *)
 
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream (IStream *, MetafileHeader *)
 
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf (HMETAFILE, GDIPCONST WmfPlaceableFileHeader *, MetafileHeader *)
 
GpStatus WINAPI GdiplusNotificationHook (ULONG_PTR *)
 
void WINAPI GdiplusNotificationUnhook (ULONG_PTR)
 
GpStatus WINGDIPAPI GdipCreatePathGradient (GDIPCONST GpPointF *, INT, GpWrapMode, GpPathGradient **)
 
GpStatus WINGDIPAPI GdipCreatePathGradientI (GDIPCONST GpPoint *, INT, GpWrapMode, GpPathGradient **)
 
GpStatus WINGDIPAPI GdipCreatePathGradientFromPath (GDIPCONST GpPath *, GpPathGradient **)
 
GpStatus WINGDIPAPI GdipGetPathGradientBlend (GpPathGradient *, REAL *, REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount (GpPathGradient *, INT *)
 
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor (GpPathGradient *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint (GpPathGradient *, GpPointF *)
 
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI (GpPathGradient *, GpPoint *)
 
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales (GpPathGradient *, REAL *, REAL *)
 
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection (GpPathGradient *, BOOL *)
 
GpStatus WINGDIPAPI GdipGetPathGradientPath (GpPathGradient *, GpPath *)
 
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlend (GpPathGradient *, ARGB *, REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount (GpPathGradient *, INT *)
 
GpStatus WINGDIPAPI GdipGetPathGradientPointCount (GpPathGradient *, INT *)
 
GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend (GpPathGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetPathGradientRect (GpPathGradient *, GpRectF *)
 
GpStatus WINGDIPAPI GdipGetPathGradientRectI (GpPathGradient *, GpRect *)
 
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount (GpPathGradient *, INT *)
 
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount (GpPathGradient *, ARGB *, INT *)
 
GpStatus WINGDIPAPI GdipGetPathGradientTransform (GpPathGradient *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode (GpPathGradient *, GpWrapMode *)
 
GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform (GpPathGradient *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipResetPathGradientTransform (GpPathGradient *)
 
GpStatus WINGDIPAPI GdipRotatePathGradientTransform (GpPathGradient *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipScalePathGradientTransform (GpPathGradient *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetPathGradientLinearBlend (GpPathGradient *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipSetPathGradientBlend (GpPathGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor (GpPathGradient *, ARGB)
 
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint (GpPathGradient *, GpPointF *)
 
GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI (GpPathGradient *, GpPoint *)
 
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales (GpPathGradient *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection (GpPathGradient *, BOOL)
 
GpStatus WINGDIPAPI GdipSetPathGradientPath (GpPathGradient *, GDIPCONST GpPath *)
 
GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend (GpPathGradient *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount (GpPathGradient *, GDIPCONST ARGB *, INT *)
 
GpStatus WINGDIPAPI GdipSetPathGradientTransform (GpPathGradient *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode (GpPathGradient *, GpWrapMode)
 
GpStatus WINGDIPAPI GdipTranslatePathGradientTransform (GpPathGradient *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipCreatePathIter (GpPathIterator **, GpPath *)
 
GpStatus WINGDIPAPI GdipDeletePathIter (GpPathIterator *)
 
GpStatus WINGDIPAPI GdipPathIterCopyData (GpPathIterator *, INT *, GpPointF *, BYTE *, INT, INT)
 
GpStatus WINGDIPAPI GdipPathIterGetCount (GpPathIterator *, INT *)
 
GpStatus WINGDIPAPI GdipPathIterGetSubpathCount (GpPathIterator *, INT *)
 
GpStatus WINGDIPAPI GdipPathIterEnumerate (GpPathIterator *, INT *, GpPointF *, BYTE *, INT)
 
GpStatus WINGDIPAPI GdipPathIterHasCurve (GpPathIterator *, BOOL *)
 
GpStatus WINGDIPAPI GdipPathIterIsValid (GpPathIterator *, BOOL *)
 
GpStatus WINGDIPAPI GdipPathIterNextMarker (GpPathIterator *, INT *, INT *, INT *)
 
GpStatus WINGDIPAPI GdipPathIterNextMarkerPath (GpPathIterator *, INT *, GpPath *)
 
GpStatus WINGDIPAPI GdipPathIterNextPathType (GpPathIterator *, INT *, BYTE *, INT *, INT *)
 
GpStatus WINGDIPAPI GdipPathIterNextSubpath (GpPathIterator *, INT *, INT *, INT *, BOOL *)
 
GpStatus WINGDIPAPI GdipPathIterNextSubpathPath (GpPathIterator *, INT *, GpPath *, BOOL *)
 
GpStatus WINGDIPAPI GdipPathIterRewind (GpPathIterator *)
 
GpStatus WINGDIPAPI GdipClonePen (GpPen *, GpPen **)
 
GpStatus WINGDIPAPI GdipCreatePen1 (ARGB, REAL, GpUnit, GpPen **)
 
GpStatus WINGDIPAPI GdipCreatePen2 (GpBrush *, REAL, GpUnit, GpPen **)
 
GpStatus WINGDIPAPI GdipDeletePen (GpPen *)
 
GpStatus WINGDIPAPI GdipGetPenBrushFill (GpPen *, GpBrush **)
 
GpStatus WINGDIPAPI GdipGetPenColor (GpPen *, ARGB *)
 
GpStatus WINGDIPAPI GdipGetPenCompoundCount (GpPen *, INT *)
 
GpStatus WINGDIPAPI GdipGetPenCustomStartCap (GpPen *, GpCustomLineCap **)
 
GpStatus WINGDIPAPI GdipGetPenCustomEndCap (GpPen *, GpCustomLineCap **)
 
GpStatus WINGDIPAPI GdipGetPenDashArray (GpPen *, REAL *, INT)
 
GpStatus WINGDIPAPI GdipGetPenDashCount (GpPen *, INT *)
 
GpStatus WINGDIPAPI GdipGetPenDashOffset (GpPen *, REAL *)
 
GpStatus WINGDIPAPI GdipGetPenDashStyle (GpPen *, GpDashStyle *)
 
GpStatus WINGDIPAPI GdipGetPenMode (GpPen *, GpPenAlignment *)
 
GpStatus WINGDIPAPI GdipGetPenTransform (GpPen *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipMultiplyPenTransform (GpPen *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipResetPenTransform (GpPen *)
 
GpStatus WINGDIPAPI GdipRotatePenTransform (GpPen *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipScalePenTransform (GpPen *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetPenBrushFill (GpPen *, GpBrush *)
 
GpStatus WINGDIPAPI GdipSetPenColor (GpPen *, ARGB)
 
GpStatus WINGDIPAPI GdipSetPenCompoundArray (GpPen *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipSetPenCustomEndCap (GpPen *, GpCustomLineCap *)
 
GpStatus WINGDIPAPI GdipSetPenCustomStartCap (GpPen *, GpCustomLineCap *)
 
GpStatus WINGDIPAPI GdipSetPenDashArray (GpPen *, GDIPCONST REAL *, INT)
 
GpStatus WINGDIPAPI GdipSetPenDashCap197819 (GpPen *, GpDashCap)
 
GpStatus WINGDIPAPI GdipSetPenDashOffset (GpPen *, REAL)
 
GpStatus WINGDIPAPI GdipSetPenDashStyle (GpPen *, GpDashStyle)
 
GpStatus WINGDIPAPI GdipSetPenEndCap (GpPen *, GpLineCap)
 
GpStatus WINGDIPAPI GdipGetPenFillType (GpPen *, GpPenType *)
 
GpStatus WINGDIPAPI GdipSetPenLineCap197819 (GpPen *, GpLineCap, GpLineCap, GpDashCap)
 
GpStatus WINGDIPAPI GdipSetPenLineJoin (GpPen *, GpLineJoin)
 
GpStatus WINGDIPAPI GdipSetPenMode (GpPen *, GpPenAlignment)
 
GpStatus WINGDIPAPI GdipSetPenMiterLimit (GpPen *, REAL)
 
GpStatus WINGDIPAPI GdipSetPenStartCap (GpPen *, GpLineCap)
 
GpStatus WINGDIPAPI GdipSetPenTransform (GpPen *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipSetPenWidth (GpPen *, REAL)
 
GpStatus WINGDIPAPI GdipGetPenDashCap197819 (GpPen *, GpDashCap *)
 
GpStatus WINGDIPAPI GdipGetPenEndCap (GpPen *, GpLineCap *)
 
GpStatus WINGDIPAPI GdipGetPenLineJoin (GpPen *, GpLineJoin *)
 
GpStatus WINGDIPAPI GdipGetPenMiterLimit (GpPen *, REAL *)
 
GpStatus WINGDIPAPI GdipGetPenStartCap (GpPen *, GpLineCap *)
 
GpStatus WINGDIPAPI GdipGetPenUnit (GpPen *, GpUnit *)
 
GpStatus WINGDIPAPI GdipGetPenWidth (GpPen *, REAL *)
 
GpStatus WINGDIPAPI GdipTranslatePenTransform (GpPen *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipCloneRegion (GpRegion *, GpRegion **)
 
GpStatus WINGDIPAPI GdipCombineRegionPath (GpRegion *, GpPath *, CombineMode)
 
GpStatus WINGDIPAPI GdipCombineRegionRect (GpRegion *, GDIPCONST GpRectF *, CombineMode)
 
GpStatus WINGDIPAPI GdipCombineRegionRectI (GpRegion *, GDIPCONST GpRect *, CombineMode)
 
GpStatus WINGDIPAPI GdipCombineRegionRegion (GpRegion *, GpRegion *, CombineMode)
 
GpStatus WINGDIPAPI GdipCreateRegion (GpRegion **)
 
GpStatus WINGDIPAPI GdipCreateRegionPath (GpPath *, GpRegion **)
 
GpStatus WINGDIPAPI GdipCreateRegionRect (GDIPCONST GpRectF *, GpRegion **)
 
GpStatus WINGDIPAPI GdipCreateRegionRectI (GDIPCONST GpRect *, GpRegion **)
 
GpStatus WINGDIPAPI GdipCreateRegionRgnData (GDIPCONST BYTE *, INT, GpRegion **)
 
GpStatus WINGDIPAPI GdipCreateRegionHrgn (HRGN, GpRegion **)
 
GpStatus WINGDIPAPI GdipDeleteRegion (GpRegion *)
 
GpStatus WINGDIPAPI GdipGetRegionBounds (GpRegion *, GpGraphics *, GpRectF *)
 
GpStatus WINGDIPAPI GdipGetRegionBoundsI (GpRegion *, GpGraphics *, GpRect *)
 
GpStatus WINGDIPAPI GdipGetRegionData (GpRegion *, BYTE *, UINT, UINT *)
 
GpStatus WINGDIPAPI GdipGetRegionDataSize (GpRegion *, UINT *)
 
GpStatus WINGDIPAPI GdipGetRegionHRgn (GpRegion *, GpGraphics *, HRGN *)
 
GpStatus WINGDIPAPI GdipGetRegionScans (GpRegion *, GpRectF *, INT *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipGetRegionScansI (GpRegion *, GpRect *, INT *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipGetRegionScansCount (GpRegion *, UINT *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipIsEmptyRegion (GpRegion *, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsEqualRegion (GpRegion *, GpRegion *, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsInfiniteRegion (GpRegion *, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRegionPoint (GpRegion *, REAL, REAL, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRegionPointI (GpRegion *, INT, INT, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRegionRect (GpRegion *, REAL, REAL, REAL, REAL, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipIsVisibleRegionRectI (GpRegion *, INT, INT, INT, INT, GpGraphics *, BOOL *)
 
GpStatus WINGDIPAPI GdipSetEmpty (GpRegion *)
 
GpStatus WINGDIPAPI GdipSetInfinite (GpRegion *)
 
GpStatus WINGDIPAPI GdipTransformRegion (GpRegion *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipTranslateRegion (GpRegion *, REAL, REAL)
 
GpStatus WINGDIPAPI GdipTranslateRegionI (GpRegion *, INT, INT)
 
GpStatus WINGDIPAPI GdipCreateSolidFill (ARGB, GpSolidFill **)
 
GpStatus WINGDIPAPI GdipGetSolidFillColor (GpSolidFill *, ARGB *)
 
GpStatus WINGDIPAPI GdipSetSolidFillColor (GpSolidFill *, ARGB)
 
GpStatus WINGDIPAPI GdipCloneStringFormat (GDIPCONST GpStringFormat *, GpStringFormat **)
 
GpStatus WINGDIPAPI GdipCreateStringFormat (INT, LANGID, GpStringFormat **)
 
GpStatus WINGDIPAPI GdipDeleteStringFormat (GpStringFormat *)
 
GpStatus WINGDIPAPI GdipGetStringFormatAlign (GpStringFormat *, StringAlignment *)
 
GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution (GDIPCONST GpStringFormat *, LANGID *, StringDigitSubstitute *)
 
GpStatus WINGDIPAPI GdipGetStringFormatFlags (GDIPCONST GpStringFormat *, INT *)
 
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix (GDIPCONST GpStringFormat *, INT *)
 
GpStatus WINGDIPAPI GdipGetStringFormatLineAlign (GpStringFormat *, StringAlignment *)
 
GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount (GDIPCONST GpStringFormat *, INT *)
 
GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount (GDIPCONST GpStringFormat *, INT *)
 
GpStatus WINGDIPAPI GdipGetStringFormatTabStops (GDIPCONST GpStringFormat *, INT, REAL *, REAL *)
 
GpStatus WINGDIPAPI GdipGetStringFormatTrimming (GpStringFormat *, StringTrimming *)
 
GpStatus WINGDIPAPI GdipSetStringFormatAlign (GpStringFormat *, StringAlignment)
 
GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution (GpStringFormat *, LANGID, StringDigitSubstitute)
 
GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix (GpStringFormat *, INT)
 
GpStatus WINGDIPAPI GdipSetStringFormatLineAlign (GpStringFormat *, StringAlignment)
 
GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges (GpStringFormat *, INT, GDIPCONST CharacterRange *)
 
GpStatus WINGDIPAPI GdipSetStringFormatTabStops (GpStringFormat *, REAL, INT, GDIPCONST REAL *)
 
GpStatus WINGDIPAPI GdipSetStringFormatTrimming (GpStringFormat *, StringTrimming)
 
GpStatus WINGDIPAPI GdipSetStringFormatFlags (GpStringFormat *, INT)
 
GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault (GpStringFormat **)
 
GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic (GpStringFormat **)
 
GpStatus WINGDIPAPI GdipCreateTexture (GpImage *, GpWrapMode, GpTexture **)
 
GpStatus WINGDIPAPI GdipCreateTexture2 (GpImage *, GpWrapMode, REAL, REAL, REAL, REAL, GpTexture **)
 
GpStatus WINGDIPAPI GdipCreateTexture2I (GpImage *, GpWrapMode, INT, INT, INT, INT, GpTexture **)
 
GpStatus WINGDIPAPI GdipCreateTextureIA (GpImage *, GDIPCONST GpImageAttributes *, REAL, REAL, REAL, REAL, GpTexture **)
 
GpStatus WINGDIPAPI GdipCreateTextureIAI (GpImage *, GDIPCONST GpImageAttributes *, INT, INT, INT, INT, GpTexture **)
 
GpStatus WINGDIPAPI GdipGetTextureImage (GpTexture *, GpImage **)
 
GpStatus WINGDIPAPI GdipGetTextureTransform (GpTexture *, GpMatrix *)
 
GpStatus WINGDIPAPI GdipGetTextureWrapMode (GpTexture *, GpWrapMode *)
 
GpStatus WINGDIPAPI GdipMultiplyTextureTransform (GpTexture *, GDIPCONST GpMatrix *, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipResetTextureTransform (GpTexture *)
 
GpStatus WINGDIPAPI GdipRotateTextureTransform (GpTexture *, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipScaleTextureTransform (GpTexture *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipSetTextureTransform (GpTexture *, GDIPCONST GpMatrix *)
 
GpStatus WINGDIPAPI GdipSetTextureWrapMode (GpTexture *, GpWrapMode)
 
GpStatus WINGDIPAPI GdipTranslateTextureTransform (GpTexture *, REAL, REAL, GpMatrixOrder)
 
GpStatus WINGDIPAPI GdipCreateStreamOnFile (GDIPCONST WCHAR *, UINT, IStream **)
 
GpStatus WINGDIPAPI GdipGetImageEncodersSize (UINT *numEncoders, UINT *size)
 
GpStatus WINGDIPAPI GdipGetImageEncoders (UINT numEncoders, UINT size, ImageCodecInfo *encoders)
 
GpStatus WINGDIPAPI GdipTestControl (GpTestControlEnum, void *)
 

Macro Definition Documentation

◆ GDIPCONST

#define GDIPCONST   const

Definition at line 24 of file gdiplusflat.h.

◆ WINGDIPAPI

#define WINGDIPAPI   __stdcall

Definition at line 22 of file gdiplusflat.h.

Function Documentation

◆ GdipAddPathArc()

GpStatus WINGDIPAPI GdipAddPathArc ( GpPath path,
REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2,
REAL  startAngle,
REAL  sweepAngle 
)

Definition at line 195 of file graphicspath.c.

197{
198 INT count, old_count, i;
199
200 TRACE("(%p, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f)\n",
201 path, x1, y1, x2, y2, startAngle, sweepAngle);
202
203 if(!path)
204 return InvalidParameter;
205
206 count = arc2polybezier(NULL, x1, y1, x2, y2, startAngle, sweepAngle);
207
208 if(count == 0)
209 return Ok;
211 return OutOfMemory;
212
213 old_count = path->pathdata.Count;
214 arc2polybezier(&path->pathdata.Points[old_count], x1, y1, x2, y2,
215 startAngle, sweepAngle);
216
217 for(i = 0; i < count; i++){
218 path->pathdata.Types[old_count + i] = PathPointTypeBezier;
219 }
220
221 path->pathdata.Types[old_count] =
223 path->newfigure = FALSE;
224 path->pathdata.Count += count;
225
226 return Ok;
227}
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405
INT arc2polybezier(GpPointF *points, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: gdiplus.c:223
@ PathPointTypeBezier
Definition: gdiplusenums.h:86
@ PathPointTypeLine
Definition: gdiplusenums.h:85
@ PathPointTypeStart
Definition: gdiplusenums.h:84
@ Ok
Definition: gdiplustypes.h:26
@ InvalidParameter
Definition: gdiplustypes.h:28
@ OutOfMemory
Definition: gdiplustypes.h:29
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define TRACE(s)
Definition: solgame.cpp:4
int32_t INT
Definition: typedefs.h:58
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3710
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3709
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3708
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3711

Referenced by GdipAddPathArcI(), GdipDrawArc(), test_arc(), test_flatten(), test_getregiondata(), test_linei(), test_pathpath(), and test_worldbounds().

◆ GdipAddPathArcI()

GpStatus WINGDIPAPI GdipAddPathArcI ( GpPath path,
INT  x1,
INT  y1,
INT  x2,
INT  y2,
REAL  startAngle,
REAL  sweepAngle 
)

Definition at line 234 of file graphicspath.c.

236{
237 TRACE("(%p, %d, %d, %d, %d, %.2f, %.2f)\n",
238 path, x1, y1, x2, y2, startAngle, sweepAngle);
239
240 return GdipAddPathArc(path,(REAL)x1,(REAL)y1,(REAL)x2,(REAL)y2,startAngle,sweepAngle);
241}
float REAL
Definition: types.h:41
GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:195

◆ GdipAddPathBezier()

GpStatus WINGDIPAPI GdipAddPathBezier ( GpPath path,
REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2,
REAL  x3,
REAL  y3,
REAL  x4,
REAL  y4 
)

Definition at line 243 of file graphicspath.c.

245{
246 INT old_count;
247
248 TRACE("(%p, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f)\n",
249 path, x1, y1, x2, y2, x3, y3, x4, y4);
250
251 if(!path)
252 return InvalidParameter;
253
254 if(!lengthen_path(path, 4))
255 return OutOfMemory;
256
257 old_count = path->pathdata.Count;
258
259 path->pathdata.Points[old_count].X = x1;
260 path->pathdata.Points[old_count].Y = y1;
261 path->pathdata.Points[old_count + 1].X = x2;
262 path->pathdata.Points[old_count + 1].Y = y2;
263 path->pathdata.Points[old_count + 2].X = x3;
264 path->pathdata.Points[old_count + 2].Y = y3;
265 path->pathdata.Points[old_count + 3].X = x4;
266 path->pathdata.Points[old_count + 3].Y = y4;
267
268 path->pathdata.Types[old_count] =
270 path->pathdata.Types[old_count + 1] = PathPointTypeBezier;
271 path->pathdata.Types[old_count + 2] = PathPointTypeBezier;
272 path->pathdata.Types[old_count + 3] = PathPointTypeBezier;
273
274 path->newfigure = FALSE;
275 path->pathdata.Count += 4;
276
277 return Ok;
278}

Referenced by GdipAddPathBezierI().

◆ GdipAddPathBezierI()

GpStatus WINGDIPAPI GdipAddPathBezierI ( GpPath path,
INT  x1,
INT  y1,
INT  x2,
INT  y2,
INT  x3,
INT  y3,
INT  x4,
INT  y4 
)

Definition at line 280 of file graphicspath.c.

282{
283 TRACE("(%p, %d, %d, %d, %d, %d, %d, %d, %d)\n",
284 path, x1, y1, x2, y2, x3, y3, x4, y4);
285
286 return GdipAddPathBezier(path,(REAL)x1,(REAL)y1,(REAL)x2,(REAL)y2,(REAL)x3,(REAL)y3,
287 (REAL)x4,(REAL)y4);
288}
GpStatus WINGDIPAPI GdipAddPathBezier(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Definition: graphicspath.c:243

◆ GdipAddPathBeziers()

GpStatus WINGDIPAPI GdipAddPathBeziers ( GpPath path,
GDIPCONST GpPointF points,
INT  count 
)

Definition at line 290 of file graphicspath.c.

292{
293 INT i, old_count;
294
295 TRACE("(%p, %p, %d)\n", path, points, count);
296
297 if(!path || !points || ((count - 1) % 3))
298 return InvalidParameter;
299
301 return OutOfMemory;
302
303 old_count = path->pathdata.Count;
304
305 for(i = 0; i < count; i++){
306 path->pathdata.Points[old_count + i].X = points[i].X;
307 path->pathdata.Points[old_count + i].Y = points[i].Y;
308 path->pathdata.Types[old_count + i] = PathPointTypeBezier;
309 }
310
311 path->pathdata.Types[old_count] =
313 path->newfigure = FALSE;
314 path->pathdata.Count += count;
315
316 return Ok;
317}
GLsizei const GLfloat * points
Definition: glext.h:8112

Referenced by GdipAddPathBeziersI(), GdipAddPathClosedCurve2(), GdipAddPathCurve2(), and GdipDrawBeziers().

◆ GdipAddPathBeziersI()

GpStatus WINGDIPAPI GdipAddPathBeziersI ( GpPath path,
GDIPCONST GpPoint points,
INT  count 
)

Definition at line 319 of file graphicspath.c.

321{
322 GpPointF *ptsF;
324 INT i;
325
326 TRACE("(%p, %p, %d)\n", path, points, count);
327
328 if(!points || ((count - 1) % 3))
329 return InvalidParameter;
330
331 ptsF = heap_alloc_zero(sizeof(GpPointF) * count);
332 if(!ptsF)
333 return OutOfMemory;
334
335 for(i = 0; i < count; i++){
336 ptsF[i].X = (REAL)points[i].X;
337 ptsF[i].Y = (REAL)points[i].Y;
338 }
339
341 heap_free(ptsF);
342
343 return ret;
344}
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
#define Y(I)
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
Status
Definition: gdiplustypes.h:25
REAL Y
Definition: gdiplustypes.h:649
REAL X
Definition: gdiplustypes.h:648
int ret

◆ GdipAddPathClosedCurve()

GpStatus WINGDIPAPI GdipAddPathClosedCurve ( GpPath path,
GDIPCONST GpPointF points,
INT  count 
)

Definition at line 346 of file graphicspath.c.

348{
349 TRACE("(%p, %p, %d)\n", path, points, count);
350
352}
GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:362

◆ GdipAddPathClosedCurve2()

GpStatus WINGDIPAPI GdipAddPathClosedCurve2 ( GpPath path,
GDIPCONST GpPointF points,
INT  count,
REAL  tension 
)

Definition at line 362 of file graphicspath.c.

364{
365 INT i, len_pt = (count + 1)*3-2;
366 GpPointF *pt;
367 GpPointF *pts;
368 REAL x1, x2, y1, y2;
370
371 TRACE("(%p, %p, %d, %.2f)\n", path, points, count, tension);
372
373 if(!path || !points || count <= 1)
374 return InvalidParameter;
375
376 pt = heap_alloc_zero(len_pt * sizeof(GpPointF));
377 pts = heap_alloc_zero((count + 1)*sizeof(GpPointF));
378 if(!pt || !pts){
379 heap_free(pt);
380 heap_free(pts);
381 return OutOfMemory;
382 }
383
384 /* copy source points to extend with the last one */
385 memcpy(pts, points, sizeof(GpPointF)*count);
386 pts[count] = pts[0];
387
388 tension = tension * TENSION_CONST;
389
390 for(i = 0; i < count-1; i++){
391 calc_curve_bezier(&(pts[i]), tension, &x1, &y1, &x2, &y2);
392
393 pt[3*i+2].X = x1;
394 pt[3*i+2].Y = y1;
395 pt[3*i+3].X = pts[i+1].X;
396 pt[3*i+3].Y = pts[i+1].Y;
397 pt[3*i+4].X = x2;
398 pt[3*i+4].Y = y2;
399 }
400
401 /* points [len_pt-2] and [0] are calculated
402 separately to connect splines properly */
403 pts[0] = points[count-1];
404 pts[1] = points[0]; /* equals to start and end of a resulting path */
405 pts[2] = points[1];
406
407 calc_curve_bezier(pts, tension, &x1, &y1, &x2, &y2);
408 pt[len_pt-2].X = x1;
409 pt[len_pt-2].Y = y1;
410 pt[0].X = pts[1].X;
411 pt[0].Y = pts[1].Y;
412 pt[1].X = x2;
413 pt[1].Y = y2;
414 /* close path */
415 pt[len_pt-1].X = pt[0].X;
416 pt[len_pt-1].Y = pt[0].Y;
417
418 stat = GdipAddPathBeziers(path, pt, len_pt);
419
420 /* close figure */
421 if(stat == Ok){
422 path->pathdata.Types[path->pathdata.Count - 1] |= PathPointTypeCloseSubpath;
423 path->newfigure = TRUE;
424 }
425
426 heap_free(pts);
427 heap_free(pt);
428
429 return stat;
430}
#define stat
Definition: acwin.h:99
#define TRUE
Definition: types.h:120
#define pt(x, y)
Definition: drawing.c:79
void calc_curve_bezier(const GpPointF *pts, REAL tension, REAL *x1, REAL *y1, REAL *x2, REAL *y2)
Definition: gdiplus.c:379
#define TENSION_CONST
@ PathPointTypeCloseSubpath
Definition: gdiplusenums.h:90
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
Definition: stat.h:55

Referenced by GdipAddPathClosedCurve(), GdipAddPathClosedCurve2I(), GdipDrawClosedCurve2(), GdipFillClosedCurve2(), and test_addclosedcurve().

◆ GdipAddPathClosedCurve2I()

GpStatus WINGDIPAPI GdipAddPathClosedCurve2I ( GpPath path,
GDIPCONST GpPoint points,
INT  count,
REAL  tension 
)

Definition at line 432 of file graphicspath.c.

434{
435 GpPointF *ptf;
436 INT i;
438
439 TRACE("(%p, %p, %d, %.2f)\n", path, points, count, tension);
440
441 if(!path || !points || count <= 1)
442 return InvalidParameter;
443
444 ptf = heap_alloc_zero(sizeof(GpPointF)*count);
445 if(!ptf)
446 return OutOfMemory;
447
448 for(i = 0; i < count; i++){
449 ptf[i].X = (REAL)points[i].X;
450 ptf[i].Y = (REAL)points[i].Y;
451 }
452
453 stat = GdipAddPathClosedCurve2(path, ptf, count, tension);
454
455 heap_free(ptf);
456
457 return stat;
458}

Referenced by GdipAddPathClosedCurveI().

◆ GdipAddPathClosedCurveI()

GpStatus WINGDIPAPI GdipAddPathClosedCurveI ( GpPath path,
GDIPCONST GpPoint points,
INT  count 
)

Definition at line 354 of file graphicspath.c.

356{
357 TRACE("(%p, %p, %d)\n", path, points, count);
358
360}
GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:432

◆ GdipAddPathCurve()

GpStatus WINGDIPAPI GdipAddPathCurve ( GpPath path,
GDIPCONST GpPointF points,
INT  count 
)

Definition at line 460 of file graphicspath.c.

461{
462 TRACE("(%p, %p, %d)\n", path, points, count);
463
464 if(!path || !points || count <= 1)
465 return InvalidParameter;
466
467 return GdipAddPathCurve2(path, points, count, 1.0);
468}
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480

◆ GdipAddPathCurve2()

GpStatus WINGDIPAPI GdipAddPathCurve2 ( GpPath path,
GDIPCONST GpPointF points,
INT  count,
REAL  tension 
)

Definition at line 480 of file graphicspath.c.

482{
483 INT i, len_pt = count*3-2;
484 GpPointF *pt;
485 REAL x1, x2, y1, y2;
487
488 TRACE("(%p, %p, %d, %.2f)\n", path, points, count, tension);
489
490 if(!path || !points || count <= 1)
491 return InvalidParameter;
492
493 pt = heap_alloc_zero(len_pt * sizeof(GpPointF));
494 if(!pt)
495 return OutOfMemory;
496
497 tension = tension * TENSION_CONST;
498
500 tension, &x1, &y1);
501
502 pt[0].X = points[0].X;
503 pt[0].Y = points[0].Y;
504 pt[1].X = x1;
505 pt[1].Y = y1;
506
507 for(i = 0; i < count-2; i++){
508 calc_curve_bezier(&(points[i]), tension, &x1, &y1, &x2, &y2);
509
510 pt[3*i+2].X = x1;
511 pt[3*i+2].Y = y1;
512 pt[3*i+3].X = points[i+1].X;
513 pt[3*i+3].Y = points[i+1].Y;
514 pt[3*i+4].X = x2;
515 pt[3*i+4].Y = y2;
516 }
517
519 points[count-2].X, points[count-2].Y, tension, &x1, &y1);
520
521 pt[len_pt-2].X = x1;
522 pt[len_pt-2].Y = y1;
523 pt[len_pt-1].X = points[count-1].X;
524 pt[len_pt-1].Y = points[count-1].Y;
525
526 stat = GdipAddPathBeziers(path, pt, len_pt);
527
528 heap_free(pt);
529
530 return stat;
531}
void calc_curve_bezier_endp(REAL xend, REAL yend, REAL xadj, REAL yadj, REAL tension, REAL *x, REAL *y)
Definition: gdiplus.c:396

Referenced by GdipAddPathCurve(), GdipAddPathCurve2I(), GdipAddPathCurve3(), GdipDrawCurve2(), and test_addcurve().

◆ GdipAddPathCurve2I()

GpStatus WINGDIPAPI GdipAddPathCurve2I ( GpPath path,
GDIPCONST GpPoint points,
INT  count,
REAL  tension 
)

Definition at line 533 of file graphicspath.c.

535{
536 GpPointF *ptf;
537 INT i;
539
540 TRACE("(%p, %p, %d, %.2f)\n", path, points, count, tension);
541
542 if(!path || !points || count <= 1)
543 return InvalidParameter;
544
545 ptf = heap_alloc_zero(sizeof(GpPointF)*count);
546 if(!ptf)
547 return OutOfMemory;
548
549 for(i = 0; i < count; i++){
550 ptf[i].X = (REAL)points[i].X;
551 ptf[i].Y = (REAL)points[i].Y;
552 }
553
554 stat = GdipAddPathCurve2(path, ptf, count, tension);
555
556 heap_free(ptf);
557
558 return stat;
559}

Referenced by GdipAddPathCurve3I(), and GdipAddPathCurveI().

◆ GdipAddPathCurve3()

GpStatus WINGDIPAPI GdipAddPathCurve3 ( GpPath path,
GDIPCONST GpPointF points,
INT  count,
INT  offset,
INT  nseg,
REAL  tension 
)

Definition at line 561 of file graphicspath.c.

563{
564 TRACE("(%p, %p, %d, %d, %d, %.2f)\n", path, points, count, offset, nseg, tension);
565
566 if(!path || !points || offset + 1 >= count || count - offset < nseg + 1)
567 return InvalidParameter;
568
569 return GdipAddPathCurve2(path, &points[offset], nseg + 1, tension);
570}
GLintptr offset
Definition: glext.h:5920

Referenced by test_addcurve().

◆ GdipAddPathCurve3I()

GpStatus WINGDIPAPI GdipAddPathCurve3I ( GpPath path,
GDIPCONST GpPoint points,
INT  count,
INT  offset,
INT  nseg,
REAL  tension 
)

Definition at line 572 of file graphicspath.c.

574{
575 TRACE("(%p, %p, %d, %d, %d, %.2f)\n", path, points, count, offset, nseg, tension);
576
577 if(!path || !points || offset + 1 >= count || count - offset < nseg + 1)
578 return InvalidParameter;
579
580 return GdipAddPathCurve2I(path, &points[offset], nseg + 1, tension);
581}
GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:533

◆ GdipAddPathCurveI()

GpStatus WINGDIPAPI GdipAddPathCurveI ( GpPath path,
GDIPCONST GpPoint points,
INT  count 
)

Definition at line 470 of file graphicspath.c.

471{
472 TRACE("(%p, %p, %d)\n", path, points, count);
473
474 if(!path || !points || count <= 1)
475 return InvalidParameter;
476
477 return GdipAddPathCurve2I(path, points, count, 1.0);
478}

◆ GdipAddPathEllipse()

GpStatus WINGDIPAPI GdipAddPathEllipse ( GpPath path,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)

Definition at line 583 of file graphicspath.c.

585{
586 INT old_count, numpts;
587
588 TRACE("(%p, %.2f, %.2f, %.2f, %.2f)\n", path, x, y, width, height);
589
590 if(!path)
591 return InvalidParameter;
592
594 return OutOfMemory;
595
596 old_count = path->pathdata.Count;
597 if((numpts = arc2polybezier(&path->pathdata.Points[old_count], x, y, width,
598 height, 0.0, 360.0)) != MAX_ARC_PTS){
599 ERR("expected %d points but got %d\n", MAX_ARC_PTS, numpts);
600 return GenericError;
601 }
602
603 memset(&path->pathdata.Types[old_count + 1], PathPointTypeBezier,
604 MAX_ARC_PTS - 1);
605
606 /* An ellipse is an intrinsic figure (always is its own subpath). */
607 path->pathdata.Types[old_count] = PathPointTypeStart;
608 path->pathdata.Types[old_count + MAX_ARC_PTS - 1] |= PathPointTypeCloseSubpath;
609 path->newfigure = TRUE;
610 path->pathdata.Count += MAX_ARC_PTS;
611
612 return Ok;
613}
#define ERR(fmt,...)
Definition: debug.h:110
#define MAX_ARC_PTS
@ GenericError
Definition: gdiplustypes.h:27
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
#define memset(x, y, z)
Definition: compat.h:39

Referenced by GdipAddPathEllipseI(), GdipDrawEllipse(), GdipFillEllipse(), test_combinereplace(), test_ellipse(), test_flatten(), test_hascurve(), test_isvisiblepoint(), test_isvisiblerect(), test_nextpathtype(), test_transform(), and test_translate().

◆ GdipAddPathEllipseI()

GpStatus WINGDIPAPI GdipAddPathEllipseI ( GpPath path,
INT  x,
INT  y,
INT  width,
INT  height 
)

Definition at line 615 of file graphicspath.c.

617{
618 TRACE("(%p, %d, %d, %d, %d)\n", path, x, y, width, height);
619
621}
GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width, REAL height)
Definition: graphicspath.c:583

◆ GdipAddPathLine()

GpStatus WINGDIPAPI GdipAddPathLine ( GpPath path,
REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2 
)

Definition at line 704 of file graphicspath.c.

705{
706 INT old_count;
707
708 TRACE("(%p, %.2f, %.2f, %.2f, %.2f)\n", path, x1, y1, x2, y2);
709
710 if(!path)
711 return InvalidParameter;
712
713 if(!lengthen_path(path, 2))
714 return OutOfMemory;
715
716 old_count = path->pathdata.Count;
717
718 path->pathdata.Points[old_count].X = x1;
719 path->pathdata.Points[old_count].Y = y1;
720 path->pathdata.Points[old_count + 1].X = x2;
721 path->pathdata.Points[old_count + 1].Y = y2;
722
723 path->pathdata.Types[old_count] =
725 path->pathdata.Types[old_count + 1] = PathPointTypeLine;
726
727 path->newfigure = FALSE;
728 path->pathdata.Count += 2;
729
730 return Ok;
731}

Referenced by GdipAddPathLineI(), GdipAddPathPie(), GdipAddPathRectangle(), test_addcurve(), test_drawpath(), test_fillpath(), test_flatten(), test_getpathdata(), test_getregiondata(), test_getsubpathcount(), test_isvalid(), test_nextmarker(), test_nextmarkerpath(), test_nextpathtype(), test_nextsubpathpath(), test_pen_thickness(), test_polygon(), and test_widen().

◆ GdipAddPathLine2()

GpStatus WINGDIPAPI GdipAddPathLine2 ( GpPath path,
GDIPCONST GpPointF points,
INT  count 
)

Definition at line 623 of file graphicspath.c.

625{
626 INT i, old_count;
627
628 TRACE("(%p, %p, %d)\n", path, points, count);
629
630 if(!path || !points)
631 return InvalidParameter;
632
634 return OutOfMemory;
635
636 old_count = path->pathdata.Count;
637
638 for(i = 0; i < count; i++){
639 path->pathdata.Points[old_count + i].X = points[i].X;
640 path->pathdata.Points[old_count + i].Y = points[i].Y;
641 path->pathdata.Types[old_count + i] = PathPointTypeLine;
642 }
643
644 if(path->newfigure){
645 path->pathdata.Types[old_count] = PathPointTypeStart;
646 path->newfigure = FALSE;
647 }
648
649 path->pathdata.Count += count;
650
651 return Ok;
652}

Referenced by GdipAddPathLine2I(), GdipAddPathRectangle(), GdipCreatePathGradient(), GdipDrawLines(), test_ellipse(), test_line2(), test_reverse(), and test_worldbounds().

◆ GdipAddPathLine2I()

GpStatus WINGDIPAPI GdipAddPathLine2I ( GpPath path,
GDIPCONST GpPoint points,
INT  count 
)

Definition at line 654 of file graphicspath.c.

655{
656 GpPointF *pointsF;
657 INT i;
659
660 TRACE("(%p, %p, %d)\n", path, points, count);
661
662 if(count <= 0)
663 return InvalidParameter;
664
665 pointsF = heap_alloc_zero(sizeof(GpPointF) * count);
666 if(!pointsF) return OutOfMemory;
667
668 for(i = 0;i < count; i++){
669 pointsF[i].X = (REAL)points[i].X;
670 pointsF[i].Y = (REAL)points[i].Y;
671 }
672
673 stat = GdipAddPathLine2(path, pointsF, count);
674
675 heap_free(pointsF);
676
677 return stat;
678}
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:623

Referenced by GdipCreatePathGradientI().

◆ GdipAddPathLineI()

GpStatus WINGDIPAPI GdipAddPathLineI ( GpPath path,
INT  x1,
INT  y1,
INT  x2,
INT  y2 
)

Definition at line 738 of file graphicspath.c.

739{
740 TRACE("(%p, %d, %d, %d, %d)\n", path, x1, y1, x2, y2);
741
742 return GdipAddPathLine(path, (REAL)x1, (REAL)y1, (REAL)x2, (REAL)y2);
743}
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphicspath.c:704

Referenced by test_GdipFillPath(), and test_linei().

◆ GdipAddPathPath()

GpStatus WINGDIPAPI GdipAddPathPath ( GpPath path,
GDIPCONST GpPath addingPath,
BOOL  connect 
)

Definition at line 745 of file graphicspath.c.

747{
748 INT old_count, count;
749
750 TRACE("(%p, %p, %d)\n", path, addingPath, connect);
751
752 if(!path || !addingPath)
753 return InvalidParameter;
754
755 old_count = path->pathdata.Count;
756 count = addingPath->pathdata.Count;
757
759 return OutOfMemory;
760
761 memcpy(&path->pathdata.Points[old_count], addingPath->pathdata.Points,
762 count * sizeof(GpPointF));
763 memcpy(&path->pathdata.Types[old_count], addingPath->pathdata.Types, count);
764
765 if(path->newfigure || !connect)
766 path->pathdata.Types[old_count] = PathPointTypeStart;
767 else
768 path->pathdata.Types[old_count] = PathPointTypeLine;
769
770 path->newfigure = FALSE;
771 path->pathdata.Count += count;
772
773 return Ok;
774}

Referenced by test_pathpath().

◆ GdipAddPathPie()

GpStatus WINGDIPAPI GdipAddPathPie ( GpPath path,
REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)

Definition at line 776 of file graphicspath.c.

778{
779 GpPointF *ptf;
781 INT i, count;
782
783 TRACE("(%p, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f)\n",
784 path, x, y, width, height, startAngle, sweepAngle);
785
786 if(!path)
787 return InvalidParameter;
788
789 /* on zero width/height only start point added */
790 if(width <= 1e-7 || height <= 1e-7){
791 if(!lengthen_path(path, 1))
792 return OutOfMemory;
793 path->pathdata.Points[0].X = x + width / 2.0;
794 path->pathdata.Points[0].Y = y + height / 2.0;
796 path->pathdata.Count = 1;
797 return InvalidParameter;
798 }
799
800 count = arc2polybezier(NULL, x, y, width, height, startAngle, sweepAngle);
801
802 if(count == 0)
803 return Ok;
804
805 ptf = heap_alloc_zero(sizeof(GpPointF)*count);
806 if(!ptf)
807 return OutOfMemory;
808
809 arc2polybezier(ptf, x, y, width, height, startAngle, sweepAngle);
810
811 status = GdipAddPathLine(path, x + width/2, y + height/2, ptf[0].X, ptf[0].Y);
812 if(status != Ok){
813 heap_free(ptf);
814 return status;
815 }
816 /* one spline is already added as a line endpoint */
817 if(!lengthen_path(path, count - 1)){
818 heap_free(ptf);
819 return OutOfMemory;
820 }
821
822 memcpy(&(path->pathdata.Points[path->pathdata.Count]), &(ptf[1]),sizeof(GpPointF)*(count-1));
823 for(i = 0; i < count-1; i++)
824 path->pathdata.Types[path->pathdata.Count+i] = PathPointTypeBezier;
825
826 path->pathdata.Count += count-1;
827
829
830 heap_free(ptf);
831
832 return status;
833}
GpStatus WINGDIPAPI GdipClosePathFigure(GpPath *path)
#define e
Definition: ke_i.h:82
Definition: ps.c:97

Referenced by GdipAddPathPieI(), GdipDrawPie(), GdipFillPie(), and test_addpie().

◆ GdipAddPathPieI()

GpStatus WINGDIPAPI GdipAddPathPieI ( GpPath path,
INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)

Definition at line 835 of file graphicspath.c.

837{
838 TRACE("(%p, %d, %d, %d, %d, %.2f, %.2f)\n",
839 path, x, y, width, height, startAngle, sweepAngle);
840
841 return GdipAddPathPie(path, (REAL)x, (REAL)y, (REAL)width, (REAL)height, startAngle, sweepAngle);
842}
GpStatus WINGDIPAPI GdipAddPathPie(GpPath *path, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:776

◆ GdipAddPathPolygon()

GpStatus WINGDIPAPI GdipAddPathPolygon ( GpPath path,
GDIPCONST GpPointF points,
INT  count 
)

Definition at line 844 of file graphicspath.c.

845{
846 INT old_count;
847
848 TRACE("(%p, %p, %d)\n", path, points, count);
849
850 if(!path || !points || count < 3)
851 return InvalidParameter;
852
854 return OutOfMemory;
855
856 old_count = path->pathdata.Count;
857
858 memcpy(&path->pathdata.Points[old_count], points, count*sizeof(GpPointF));
859 memset(&path->pathdata.Types[old_count + 1], PathPointTypeLine, count - 1);
860
861 /* A polygon is an intrinsic figure */
862 path->pathdata.Types[old_count] = PathPointTypeStart;
863 path->pathdata.Types[old_count + count - 1] |= PathPointTypeCloseSubpath;
864 path->newfigure = TRUE;
865 path->pathdata.Count += count;
866
867 return Ok;
868}

Referenced by GdipAddPathPolygonI(), GdipDrawPolygon(), GdipEnumerateMetafileSrcRectDestPoints(), GdipFillPolygon(), and test_polygon().

◆ GdipAddPathPolygonI()

GpStatus WINGDIPAPI GdipAddPathPolygonI ( GpPath path,
GDIPCONST GpPoint points,
INT  count 
)

Definition at line 870 of file graphicspath.c.

871{
872 GpPointF *ptf;
874 INT i;
875
876 TRACE("(%p, %p, %d)\n", path, points, count);
877
878 if(!points || count < 3)
879 return InvalidParameter;
880
881 ptf = heap_alloc_zero(sizeof(GpPointF) * count);
882 if(!ptf)
883 return OutOfMemory;
884
885 for(i = 0; i < count; i++){
886 ptf[i].X = (REAL)points[i].X;
887 ptf[i].Y = (REAL)points[i].Y;
888 }
889
891
892 heap_free(ptf);
893
894 return status;
895}
GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:844

Referenced by GdipFillPolygonI().

◆ GdipAddPathRectangle()

GpStatus WINGDIPAPI GdipAddPathRectangle ( GpPath path,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)

Definition at line 2296 of file graphicspath.c.

2298{
2299 GpPath *backup;
2300 GpPointF ptf[2];
2301 GpStatus retstat;
2302 BOOL old_new;
2303
2304 TRACE("(%p, %.2f, %.2f, %.2f, %.2f)\n", path, x, y, width, height);
2305
2306 if(!path)
2307 return InvalidParameter;
2308
2309 if (width <= 0.0 || height <= 0.0)
2310 return Ok;
2311
2312 /* make a backup copy of path data */
2313 if((retstat = GdipClonePath(path, &backup)) != Ok)
2314 return retstat;
2315
2316 /* rectangle should start as new path */
2317 old_new = path->newfigure;
2318 path->newfigure = TRUE;
2319 if((retstat = GdipAddPathLine(path,x,y,x+width,y)) != Ok){
2320 path->newfigure = old_new;
2321 goto fail;
2322 }
2323
2324 ptf[0].X = x+width;
2325 ptf[0].Y = y+height;
2326 ptf[1].X = x;
2327 ptf[1].Y = y+height;
2328
2329 if((retstat = GdipAddPathLine2(path, ptf, 2)) != Ok) goto fail;
2330 path->pathdata.Types[path->pathdata.Count-1] |= PathPointTypeCloseSubpath;
2331
2332 /* free backup */
2334 return Ok;
2335
2336fail:
2337 /* reverting */
2338 heap_free(path->pathdata.Points);
2339 heap_free(path->pathdata.Types);
2340 memcpy(path, backup, sizeof(*path));
2342
2343 return retstat;
2344}
static long backup()
Definition: maze.c:403
GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)
GpStatus WINGDIPAPI GdipClonePath(GpPath *path, GpPath **clone)
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by GdipAddPathRectangleI(), GdipAddPathRectangles(), GdipCreateRegionHrgn(), GdipDrawRectangle(), get_region_hrgn(), test_captype(), test_constructor_destructor(), test_empty_rect(), test_GdipFillPath(), test_gethrgn(), test_getregiondata(), test_hascurve(), test_inset(), test_isvisible(), test_lastpoint(), test_linejoin(), test_nextmarker(), test_nextmarkerpath(), test_rect(), test_scale(), and transform_region_element().

◆ GdipAddPathRectangleI()

GpStatus WINGDIPAPI GdipAddPathRectangleI ( GpPath path,
INT  x,
INT  y,
INT  width,
INT  height 
)

Definition at line 2346 of file graphicspath.c.

2348{
2349 TRACE("(%p, %d, %d, %d, %d)\n", path, x, y, width, height);
2350
2352}
GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, REAL width, REAL height)

Referenced by test_getregiondata().

◆ GdipAddPathRectangles()

GpStatus WINGDIPAPI GdipAddPathRectangles ( GpPath path,
GDIPCONST GpRectF rects,
INT  count 
)

Definition at line 2354 of file graphicspath.c.

2355{
2356 GpPath *backup;
2357 GpStatus retstat;
2358 INT i;
2359
2360 TRACE("(%p, %p, %d)\n", path, rects, count);
2361
2362 /* count == 0 - verified condition */
2363 if(!path || !rects || count == 0)
2364 return InvalidParameter;
2365
2366 if(count < 0)
2367 return OutOfMemory;
2368
2369 /* make a backup copy */
2370 if((retstat = GdipClonePath(path, &backup)) != Ok)
2371 return retstat;
2372
2373 for(i = 0; i < count; i++){
2374 if((retstat = GdipAddPathRectangle(path,rects[i].X,rects[i].Y,rects[i].Width,rects[i].Height)) != Ok)
2375 goto fail;
2376 }
2377
2378 /* free backup */
2380 return Ok;
2381
2382fail:
2383 /* reverting */
2384 heap_free(path->pathdata.Points);
2385 heap_free(path->pathdata.Types);
2386 memcpy(path, backup, sizeof(*path));
2388
2389 return retstat;
2390}
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:126
_In_ HFONT _Out_ PUINT Height
Definition: font.h:125

Referenced by GdipAddPathRectanglesI(), GdipDrawRectangles(), GdipFillRectangles(), and test_rect().

◆ GdipAddPathRectanglesI()

GpStatus WINGDIPAPI GdipAddPathRectanglesI ( GpPath path,
GDIPCONST GpRect rects,
INT  count 
)

Definition at line 2392 of file graphicspath.c.

2393{
2394 GpRectF *rectsF;
2395 GpStatus retstat;
2396 INT i;
2397
2398 TRACE("(%p, %p, %d)\n", path, rects, count);
2399
2400 if(!rects || count == 0)
2401 return InvalidParameter;
2402
2403 if(count < 0)
2404 return OutOfMemory;
2405
2406 rectsF = heap_alloc_zero(sizeof(GpRectF)*count);
2407
2408 for(i = 0;i < count;i++){
2409 rectsF[i].X = (REAL)rects[i].X;
2410 rectsF[i].Y = (REAL)rects[i].Y;
2411 rectsF[i].Width = (REAL)rects[i].Width;
2412 rectsF[i].Height = (REAL)rects[i].Height;
2413 }
2414
2415 retstat = GdipAddPathRectangles(path, rectsF, count);
2416 heap_free(rectsF);
2417
2418 return retstat;
2419}
GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath *path, GDIPCONST GpRectF *rects, INT count)
REAL Height
Definition: gdiplustypes.h:664
REAL X
Definition: gdiplustypes.h:661
REAL Width
Definition: gdiplustypes.h:663
REAL Y
Definition: gdiplustypes.h:662

◆ GdipAddPathString()

GpStatus WINGDIPAPI GdipAddPathString ( GpPath path,
GDIPCONST WCHAR string,
INT  length,
GDIPCONST GpFontFamily family,
INT  style,
REAL  emSize,
GDIPCONST RectF layoutRect,
GDIPCONST GpStringFormat format 
)

Definition at line 1007 of file graphicspath.c.

1008{
1009 GpFont *font;
1011 LOGFONTW lfw;
1012 HANDLE hfont;
1013 HDC dc;
1014 GpGraphics *graphics;
1015 GpPath *backup;
1016 struct format_string_args args;
1017 int i;
1018 UINT16 native_height;
1019 RectF scaled_layout_rect;
1020 TEXTMETRICW textmetric;
1021
1022 TRACE("(%p, %s, %d, %p, %d, %f, %p, %p)\n", path, debugstr_w(string), length, family, style, emSize, layoutRect, format);
1023 if (!path || !string || !family || !emSize || !layoutRect || !format)
1024 return InvalidParameter;
1025
1026 status = GdipGetEmHeight(family, style, &native_height);
1027 if (status != Ok)
1028 return status;
1029
1030 scaled_layout_rect.X = layoutRect->X;
1031 scaled_layout_rect.Y = layoutRect->Y;
1032 scaled_layout_rect.Width = layoutRect->Width * native_height / emSize;
1033 scaled_layout_rect.Height = layoutRect->Height * native_height / emSize;
1034
1035 if ((status = GdipClonePath(path, &backup)) != Ok)
1036 return status;
1037
1039 status = GdipCreateFromHDC(dc, &graphics);
1040 if (status != Ok)
1041 {
1042 DeleteDC(dc);
1044 return status;
1045 }
1046
1047 status = GdipCreateFont(family, native_height, style, UnitPixel, &font);
1048 if (status != Ok)
1049 {
1050 GdipDeleteGraphics(graphics);
1051 DeleteDC(dc);
1053 return status;
1054 }
1055
1056 get_log_fontW(font, graphics, &lfw);
1058 GdipDeleteGraphics(graphics);
1059
1060 hfont = CreateFontIndirectW(&lfw);
1061 if (!hfont)
1062 {
1063 WARN("Failed to create font\n");
1064 DeleteDC(dc);
1066 return GenericError;
1067 }
1068
1070
1071 GetTextMetricsW(dc, &textmetric);
1072
1073 args.path = path;
1074 args.maxY = 0;
1075 args.scale = emSize / native_height;
1076 args.ascent = textmetric.tmAscent * args.scale;
1077 status = gdip_format_string(dc, string, length, NULL, &scaled_layout_rect,
1079
1080 DeleteDC(dc);
1082
1083 if (status != Ok) /* free backup */
1084 {
1085 heap_free(path->pathdata.Points);
1086 heap_free(path->pathdata.Types);
1087 *path = *backup;
1089 return status;
1090 }
1091 if (format && format->line_align == StringAlignmentCenter && layoutRect->Y + args.maxY < layoutRect->Height)
1092 {
1093 float inc = layoutRect->Height + layoutRect->Y - args.maxY;
1094 inc /= 2;
1095 for (i = backup->pathdata.Count; i < path->pathdata.Count; ++i)
1096 path->pathdata.Points[i].Y += inc;
1097 } else if (format && format->line_align == StringAlignmentFar) {
1098 float inc = layoutRect->Height + layoutRect->Y - args.maxY;
1099 for (i = backup->pathdata.Count; i < path->pathdata.Count; ++i)
1100 path->pathdata.Points[i].Y += inc;
1101 }
1103 return status;
1104}
static HFONT hfont
unsigned short UINT16
Arabic default style
Definition: afstyles.h:94
#define WARN(fmt,...)
Definition: debug.h:112
GpStatus WINGDIPAPI GdipDeleteFont(GpFont *font)
Definition: font.c:270
GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily *fontFamily, REAL emSize, INT style, Unit unit, GpFont **font)
Definition: font.c:144
GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily *family, INT style, UINT16 *EmHeight)
Definition: font.c:918
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
Definition: graphics.c:2395
GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *graphics)
Definition: graphics.c:2581
static GpStatus format_string_callback(HDC dc, GDIPCONST WCHAR *string, INT index, INT length, GDIPCONST GpFont *font, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, INT lineno, const RectF *bounds, INT *underlined_indexes, INT underlined_index_count, void *priv)
Definition: graphicspath.c:912
pKey DeleteObject()
GpStatus gdip_format_string(HDC hdc, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFont *font, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, int ignore_empty_clip, gdip_format_string_callback callback, void *user_data) DECLSPEC_HIDDEN
Definition: graphics.c:5201
void get_log_fontW(const GpFont *, GpGraphics *, LOGFONTW *) DECLSPEC_HIDDEN
Definition: graphics.c:2305
@ StringAlignmentCenter
Definition: gdiplusenums.h:266
@ StringAlignmentFar
Definition: gdiplusenums.h:267
@ UnitPixel
Definition: gdiplusenums.h:29
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
#define debugstr_w
Definition: kernel32.h:32
static const WCHAR dc[]
static HDC
Definition: imagelist.c:92
Definition: mk_font.cpp:20
Definition: match.c:390
LONG tmAscent
Definition: wingdi.h:2384
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
Definition: text.c:221
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1539
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
BOOL WINAPI DeleteDC(_In_ HDC)

Referenced by GdipAddPathStringI().

◆ GdipAddPathStringI()

GpStatus WINGDIPAPI GdipAddPathStringI ( GpPath path,
GDIPCONST WCHAR string,
INT  length,
GDIPCONST GpFontFamily family,
INT  style,
REAL  emSize,
GDIPCONST Rect layoutRect,
GDIPCONST GpStringFormat format 
)

Definition at line 1106 of file graphicspath.c.

1107{
1108 if (layoutRect)
1109 {
1110 RectF layoutRectF = {
1111 (REAL)layoutRect->X,
1112 (REAL)layoutRect->Y,
1113 (REAL)layoutRect->Width,
1114 (REAL)layoutRect->Height
1115 };
1116 return GdipAddPathString(path, string, length, family, style, emSize, &layoutRectF, format);
1117 }
1118 return InvalidParameter;
1119}
GpStatus WINGDIPAPI GdipAddPathString(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST RectF *layoutRect, GDIPCONST GpStringFormat *format)

◆ GdipBeginContainer()

GpStatus WINGDIPAPI GdipBeginContainer ( GpGraphics graphics,
GDIPCONST GpRectF dstrect,
GDIPCONST GpRectF srcrect,
GpUnit  unit,
GraphicsContainer state 
)

Definition at line 5924 of file graphics.c.

5925{
5928 GpStatus stat;
5929 GpRectF scaled_srcrect;
5930 REAL scale_x, scale_y;
5931
5932 TRACE("(%p, %s, %s, %d, %p)\n", graphics, debugstr_rectf(dstrect), debugstr_rectf(srcrect), unit, state);
5933
5934 if(!graphics || !dstrect || !srcrect || unit < UnitPixel || unit > UnitMillimeter || !state)
5935 return InvalidParameter;
5936
5938 if(stat != Ok)
5939 return stat;
5940
5941 list_add_head(&graphics->containers, &container->entry);
5942 *state = graphics->contid = container->contid;
5943
5944 scale_x = units_to_pixels(1.0, unit, graphics->xres);
5945 scale_y = units_to_pixels(1.0, unit, graphics->yres);
5946
5947 scaled_srcrect.X = scale_x * srcrect->X;
5948 scaled_srcrect.Y = scale_y * srcrect->Y;
5949 scaled_srcrect.Width = scale_x * srcrect->Width;
5950 scaled_srcrect.Height = scale_y * srcrect->Height;
5951
5952 transform.matrix[0] = dstrect->Width / scaled_srcrect.Width;
5953 transform.matrix[1] = 0.0;
5954 transform.matrix[2] = 0.0;
5955 transform.matrix[3] = dstrect->Height / scaled_srcrect.Height;
5956 transform.matrix[4] = dstrect->X - scaled_srcrect.X;
5957 transform.matrix[5] = dstrect->Y - scaled_srcrect.Y;
5958
5960
5961 if (graphics->image && graphics->image->type == ImageTypeMetafile) {
5962 METAFILE_BeginContainer((GpMetafile*)graphics->image, dstrect, srcrect, unit, container->contid);
5963 }
5964
5965 return Ok;
5966}
static int state
Definition: maze.c:121
static void list_add_head(struct list_entry *head, struct list_entry *entry)
Definition: list.h:76
static GpStatus init_container(GraphicsContainerItem **container, GDIPCONST GpGraphics *graphics, GraphicsContainerType type)
Definition: graphics.c:2122
@ BEGIN_CONTAINER
Definition: graphics.c:2099
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix *matrix, GDIPCONST GpMatrix *matrix2, GpMatrixOrder order)
Definition: matrix.c:240
const char * debugstr_rectf(const RectF *rc)
Definition: gdiplus.c:476
REAL units_to_pixels(REAL units, GpUnit unit, REAL dpi)
Definition: gdiplus.c:327
GpStatus METAFILE_BeginContainer(GpMetafile *metafile, GDIPCONST GpRectF *dstrect, GDIPCONST GpRectF *srcrect, GpUnit unit, DWORD StackIndex) DECLSPEC_HIDDEN
Definition: metafile.c:1376
@ ImageTypeMetafile
Definition: gdiplusenums.h:196
@ MatrixOrderPrepend
Definition: gdiplusenums.h:188
@ UnitMillimeter
Definition: gdiplusenums.h:33
GLuint GLenum GLenum transform
Definition: glext.h:9407
png_const_structrp png_const_inforp int * unit
Definition: png.h:2159
GpMatrix worldtrans
struct list containers
GpImage * image
GraphicsContainer contid
ImageType type
struct list entry
Definition: metafile.c:154

Referenced by GdipBeginContainerI(), test_container_rects(), and test_containers().

◆ GdipBeginContainer2()

GpStatus WINGDIPAPI GdipBeginContainer2 ( GpGraphics graphics,
GraphicsContainer state 
)

Definition at line 5917 of file graphics.c.

5919{
5920 TRACE("(%p, %p)\n", graphics, state);
5921 return begin_container(graphics, BEGIN_CONTAINER, state);
5922}
static GpStatus begin_container(GpGraphics *graphics, GraphicsContainerType type, GraphicsContainer *state)
Definition: graphics.c:5885

Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipPlayMetafileRecord(), test_BeginContainer2(), test_containers(), and test_save_restore().

◆ GdipBeginContainerI()

GpStatus WINGDIPAPI GdipBeginContainerI ( GpGraphics graphics,
GDIPCONST GpRect dstrect,
GDIPCONST GpRect srcrect,
GpUnit  unit,
GraphicsContainer state 
)

Definition at line 5968 of file graphics.c.

5969{
5970 GpRectF dstrectf, srcrectf;
5971
5972 TRACE("(%p, %p, %p, %d, %p)\n", graphics, dstrect, srcrect, unit, state);
5973
5974 if (!dstrect || !srcrect)
5975 return InvalidParameter;
5976
5977 dstrectf.X = dstrect->X;
5978 dstrectf.Y = dstrect->Y;
5979 dstrectf.Width = dstrect->Width;
5980 dstrectf.Height = dstrect->Height;
5981
5982 srcrectf.X = srcrect->X;
5983 srcrectf.Y = srcrect->Y;
5984 srcrectf.Width = srcrect->Width;
5985 srcrectf.Height = srcrect->Height;
5986
5987 return GdipBeginContainer(graphics, &dstrectf, &srcrectf, unit, state);
5988}
GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics *graphics, GDIPCONST GpRectF *dstrect, GDIPCONST GpRectF *srcrect, GpUnit unit, GraphicsContainer *state)
Definition: graphics.c:5924

◆ GdipBitmapApplyEffect()

GpStatus WINGDIPAPI GdipBitmapApplyEffect ( GpBitmap bitmap,
CGpEffect effect,
RECT roi,
BOOL  useAuxData,
VOID **  auxData,
INT auxDataSize 
)

Definition at line 134 of file image.c.

136{
137 FIXME("(%p %p %p %d %p %p): stub\n", bitmap, effect, roi, useAuxData, auxData, auxDataSize);
138 /*
139 * Note: According to Jose Roca's GDI+ docs, this function is not
140 * implemented in Windows's GDI+.
141 */
142 return NotImplemented;
143}
#define FIXME(fmt,...)
Definition: debug.h:111
@ NotImplemented
Definition: gdiplustypes.h:32
Definition: uimain.c:89

◆ GdipBitmapCreateApplyEffect()

GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect ( GpBitmap **  inputBitmaps,
INT  numInputs,
CGpEffect effect,
RECT roi,
RECT outputRect,
GpBitmap **  outputBitmap,
BOOL  useAuxData,
VOID **  auxData,
INT auxDataSize 
)

Definition at line 145 of file image.c.

148{
149 FIXME("(%p %d %p %p %p %p %d %p %p): stub\n", inputBitmaps, numInputs, effect, roi, outputRect, outputBitmap, useAuxData, auxData, auxDataSize);
150 /*
151 * Note: According to Jose Roca's GDI+ docs, this function is not
152 * implemented in Windows's GDI+.
153 */
154 return NotImplemented;
155}

◆ GdipBitmapGetHistogram()

GpStatus WINGDIPAPI GdipBitmapGetHistogram ( GpBitmap bitmap,
HistogramFormat  format,
UINT  num_of_entries,
UINT ch0,
UINT ch1,
UINT ch2,
UINT ch3 
)

Definition at line 5609 of file image.c.

5611{
5612 static void (* const set_histogram_point[])(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3) =
5613 {
5622 };
5623 UINT width, height, x, y;
5624
5625 TRACE("(%p, %d, %u, %p, %p, %p, %p)\n", bitmap, format, num_of_entries,
5626 ch0, ch1, ch2, ch3);
5627
5628 if (!bitmap || num_of_entries != 256)
5629 return InvalidParameter;
5630
5631 /* Make sure passed channel pointers match requested format */
5632 switch (format)
5633 {
5636 if (!ch0 || !ch1 || !ch2 || !ch3)
5637 return InvalidParameter;
5638 memset(ch0, 0, num_of_entries * sizeof(UINT));
5639 memset(ch1, 0, num_of_entries * sizeof(UINT));
5640 memset(ch2, 0, num_of_entries * sizeof(UINT));
5641 memset(ch3, 0, num_of_entries * sizeof(UINT));
5642 break;
5643 case HistogramFormatRGB:
5644 if (!ch0 || !ch1 || !ch2 || ch3)
5645 return InvalidParameter;
5646 memset(ch0, 0, num_of_entries * sizeof(UINT));
5647 memset(ch1, 0, num_of_entries * sizeof(UINT));
5648 memset(ch2, 0, num_of_entries * sizeof(UINT));
5649 break;
5651 case HistogramFormatB:
5652 case HistogramFormatG:
5653 case HistogramFormatR:
5654 case HistogramFormatA:
5655 if (!ch0 || ch1 || ch2 || ch3)
5656 return InvalidParameter;
5657 memset(ch0, 0, num_of_entries * sizeof(UINT));
5658 break;
5659 default:
5660 WARN("Invalid histogram format requested, %d\n", format);
5661 return InvalidParameter;
5662 }
5663
5664 GdipGetImageWidth(&bitmap->image, &width);
5665 GdipGetImageHeight(&bitmap->image, &height);
5666
5667 for (y = 0; y < height; y++)
5668 for (x = 0; x < width; x++)
5669 {
5670 ARGB color;
5671
5673 set_histogram_point[format](color, ch0, ch1, ch2, ch3);
5674 }
5675
5676 return Ok;
5677}
static void set_histogram_point_g(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5591
GpStatus WINGDIPAPI GdipGetImageWidth(GpImage *image, UINT *width)
Definition: image.c:2390
static void set_histogram_point_rgb(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5574
static void set_histogram_point_argb(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5556
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage *image, UINT *height)
Definition: image.c:2287
static void set_histogram_point_pargb(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5564
static void set_histogram_point_a(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5601
GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap *bitmap, INT x, INT y, ARGB *color)
Definition: image.c:288
static void set_histogram_point_r(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5596
static void set_histogram_point_gray(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5581
static void set_histogram_point_b(ARGB color, UINT *ch0, UINT *ch1, UINT *ch2, UINT *ch3)
Definition: image.c:5586
@ HistogramFormatRGB
@ HistogramFormatPARGB
@ HistogramFormatB
@ HistogramFormatA
@ HistogramFormatARGB
@ HistogramFormatR
@ HistogramFormatGray
@ HistogramFormatG
DWORD ARGB
GLuint color
Definition: glext.h:6243
unsigned int UINT
Definition: ndis.h:50

◆ GdipBitmapGetHistogramSize()

GpStatus WINGDIPAPI GdipBitmapGetHistogramSize ( HistogramFormat  format,
UINT num_of_entries 
)

Definition at line 5682 of file image.c.

5683{
5684 TRACE("(%d, %p)\n", format, num_of_entries);
5685
5686 if (!num_of_entries)
5687 return InvalidParameter;
5688
5689 *num_of_entries = 256;
5690 return Ok;
5691}

◆ GdipBitmapGetPixel()

GpStatus WINGDIPAPI GdipBitmapGetPixel ( GpBitmap bitmap,
INT  x,
INT  y,
ARGB color 
)

Definition at line 288 of file image.c.

290{
291 BYTE r, g, b, a;
292 BYTE index;
293 BYTE *row;
294
295 if(!bitmap || !color ||
296 x < 0 || y < 0 || x >= bitmap->width || y >= bitmap->height)
297 return InvalidParameter;
298
299 row = bitmap->bits+bitmap->stride*y;
300
301 switch (bitmap->format)
302 {
305 break;
308 break;
311 break;
314 break;
317 break;
320 break;
323 break;
325 getpixel_24bppRGB(&r,&g,&b,&a,row,x);
326 break;
328 getpixel_32bppRGB(&r,&g,&b,&a,row,x);
329 break;
332 break;
335 break;
337 getpixel_48bppRGB(&r,&g,&b,&a,row,x);
338 break;
341 break;
344 break;
345 default:
346 FIXME("not implemented for format 0x%x\n", bitmap->format);
347 return NotImplemented;
348 }
349
350 if (bitmap->format & PixelFormatIndexed)
351 *color = bitmap->image.palette->Entries[index];
352 else
353 *color = a<<24|r<<16|g<<8|b;
354
355 return Ok;
356}
#define index(s, c)
Definition: various.h:29
static void getpixel_16bppARGB1555(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:202
static void getpixel_64bppPARGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:274
static void getpixel_16bppRGB565(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:192
static void getpixel_4bppIndexed(BYTE *index, const BYTE *row, UINT x)
Definition: image.c:162
static void getpixel_1bppIndexed(BYTE *index, const BYTE *row, UINT x)
Definition: image.c:157
static void getpixel_32bppRGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:224
static void getpixel_8bppIndexed(BYTE *index, const BYTE *row, UINT x)
Definition: image.c:170
static void getpixel_64bppARGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:265
static void getpixel_48bppRGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:256
static void getpixel_16bppGrayScale(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:175
static void getpixel_24bppRGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:215
static void getpixel_16bppRGB555(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:182
static void getpixel_32bppARGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:233
static void getpixel_32bppPARGB(BYTE *r, BYTE *g, BYTE *b, BYTE *a, const BYTE *row, UINT x)
Definition: image.c:242
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
Definition: typeof.h:78
#define PixelFormat32bppPARGB
#define PixelFormat64bppARGB
#define PixelFormat32bppRGB
#define PixelFormat4bppIndexed
#define PixelFormat64bppPARGB
#define PixelFormat16bppRGB555
#define PixelFormat16bppARGB1555
#define PixelFormat16bppGrayScale
#define PixelFormat8bppIndexed
#define PixelFormatIndexed
#define PixelFormat24bppRGB
#define PixelFormat16bppRGB565
#define PixelFormat1bppIndexed
#define PixelFormat32bppARGB
#define PixelFormat48bppRGB
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLuint index
Definition: glext.h:6031
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLboolean GLboolean g
Definition: glext.h:6204
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define a
Definition: ke_i.h:78
#define b
Definition: ke_i.h:79
uint32 width
Definition: uimain.c:91
uint32 height
Definition: uimain.c:92