ReactOS  0.4.14-dev-608-gd495a4f
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 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 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 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 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 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 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 GdipGetPathGradientSurroundColorsWithCount (GpPathGradient *, ARGB *, INT *)
 
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode (GpPathGradient *, GpWrapMode *)
 
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 GdipSetPathGradientWrapMode (GpPathGradient *, GpWrapMode)
 
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount (GpPathGradient *, INT *)
 
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 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 ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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;
210  if(!lengthen_path(path, count))
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] =
222  (path->newfigure ? PathPointTypeStart : PathPointTypeLine);
223  path->newfigure = FALSE;
224  path->pathdata.Count += count;
225 
226  return Ok;
227 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
GLuint GLuint GLsizei count
Definition: gl.h:1545
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
int32_t INT
Definition: typedefs.h:56
INT arc2polybezier(GpPointF *points, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: gdiplus.c:223
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
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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

◆ GdipAddPathArcI()

GpStatus WINGDIPAPI GdipAddPathArcI ( GpPath ,
INT  ,
INT  ,
INT  ,
INT  ,
REAL  ,
REAL   
)

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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:195
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
float REAL
Definition: types.h:41

◆ GdipAddPathBezier()

GpStatus WINGDIPAPI GdipAddPathBezier ( GpPath ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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] =
269  (path->newfigure ? PathPointTypeStart : PathPointTypeLine);
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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
int32_t INT
Definition: typedefs.h:56
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

Referenced by GdipAddPathBezierI().

◆ GdipAddPathBezierI()

GpStatus WINGDIPAPI GdipAddPathBezierI ( GpPath ,
INT  ,
INT  ,
INT  ,
INT  ,
INT  ,
INT  ,
INT  ,
INT   
)

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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
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
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
float REAL
Definition: types.h:41

◆ GdipAddPathBeziers()

GpStatus WINGDIPAPI GdipAddPathBeziers ( GpPath ,
GDIPCONST GpPointF ,
INT   
)

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 
300  if(!lengthen_path(path, count))
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] =
312  (path->newfigure ? PathPointTypeStart : PathPointTypeLine);
313  path->newfigure = FALSE;
314  path->pathdata.Count += count;
315 
316  return Ok;
317 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
GLsizei const GLfloat * points
Definition: glext.h:8112
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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

◆ GdipAddPathBeziersI()

GpStatus WINGDIPAPI GdipAddPathBeziersI ( GpPath ,
GDIPCONST GpPoint ,
INT   
)

Definition at line 319 of file graphicspath.c.

321 {
322  GpPointF *ptsF;
323  GpStatus ret;
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 
340  ret = GdipAddPathBeziers(path, ptsF, count);
341  heap_free(ptsF);
342 
343  return ret;
344 }
#define Y(I)
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
int ret
REAL X
Definition: gdiplustypes.h:248
Status
Definition: gdiplustypes.h:24
float REAL
Definition: types.h:41
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ GdipAddPathClosedCurve()

GpStatus WINGDIPAPI GdipAddPathClosedCurve ( GpPath ,
GDIPCONST GpPointF ,
INT   
)

Definition at line 346 of file graphicspath.c.

348 {
349  TRACE("(%p, %p, %d)\n", path, points, count);
350 
351  return GdipAddPathClosedCurve2(path, points, count, 1.0);
352 }
GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:362
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei const GLfloat * points
Definition: glext.h:8112

◆ GdipAddPathClosedCurve2()

GpStatus WINGDIPAPI GdipAddPathClosedCurve2 ( GpPath ,
GDIPCONST GpPointF ,
INT  ,
REAL   
)

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;
369  GpStatus stat;
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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
#define TRUE
Definition: types.h:120
#define pt(x, y)
Definition: drawing.c:79
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
GLuint GLuint GLsizei count
Definition: gl.h:1545
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
int32_t INT
Definition: typedefs.h:56
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
void calc_curve_bezier(const GpPointF *pts, REAL tension, REAL *x1, REAL *y1, REAL *x2, REAL *y2)
Definition: gdiplus.c:379
#define TRACE(s)
Definition: solgame.cpp:4
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
Definition: stat.h:55
REAL X
Definition: gdiplustypes.h:248
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
Status
Definition: gdiplustypes.h:24
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
Definition: stat.h:345
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
float REAL
Definition: types.h:41
#define TENSION_CONST
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

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

◆ GdipAddPathClosedCurve2I()

GpStatus WINGDIPAPI GdipAddPathClosedCurve2I ( GpPath ,
GDIPCONST GpPoint ,
INT  ,
REAL   
)

Definition at line 432 of file graphicspath.c.

434 {
435  GpPointF *ptf;
436  INT i;
437  GpStatus stat;
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 }
#define Y(I)
GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:362
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
Definition: stat.h:55
REAL X
Definition: gdiplustypes.h:248
Status
Definition: gdiplustypes.h:24
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
Definition: stat.h:345
float REAL
Definition: types.h:41
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

Referenced by GdipAddPathClosedCurveI().

◆ GdipAddPathClosedCurveI()

GpStatus WINGDIPAPI GdipAddPathClosedCurveI ( GpPath ,
GDIPCONST GpPoint ,
INT   
)

Definition at line 354 of file graphicspath.c.

356 {
357  TRACE("(%p, %p, %d)\n", path, points, count);
358 
359  return GdipAddPathClosedCurve2I(path, points, count, 1.0);
360 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define TRACE(s)
Definition: solgame.cpp:4
GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:432
GLsizei const GLfloat * points
Definition: glext.h:8112

◆ GdipAddPathCurve()

GpStatus WINGDIPAPI GdipAddPathCurve ( GpPath ,
GDIPCONST GpPointF ,
INT   
)

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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480

◆ GdipAddPathCurve2()

GpStatus WINGDIPAPI GdipAddPathCurve2 ( GpPath ,
GDIPCONST GpPointF ,
INT  ,
REAL   
)

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;
486  GpStatus stat;
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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
#define Y(I)
#define pt(x, y)
Definition: drawing.c:79
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
GLuint GLuint GLsizei count
Definition: gl.h:1545
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
int32_t INT
Definition: typedefs.h:56
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
void calc_curve_bezier(const GpPointF *pts, REAL tension, REAL *x1, REAL *y1, REAL *x2, REAL *y2)
Definition: gdiplus.c:379
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei const GLfloat * points
Definition: glext.h:8112
Definition: stat.h:55
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
Status
Definition: gdiplustypes.h:24
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
Definition: stat.h:345
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
float REAL
Definition: types.h:41
void calc_curve_bezier_endp(REAL xend, REAL yend, REAL xadj, REAL yadj, REAL tension, REAL *x, REAL *y)
Definition: gdiplus.c:396
#define TENSION_CONST
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

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

◆ GdipAddPathCurve2I()

GpStatus WINGDIPAPI GdipAddPathCurve2I ( GpPath ,
GDIPCONST GpPoint ,
INT  ,
REAL   
)

Definition at line 533 of file graphicspath.c.

535 {
536  GpPointF *ptf;
537  INT i;
538  GpStatus stat;
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 }
#define Y(I)
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480
Definition: stat.h:55
REAL X
Definition: gdiplustypes.h:248
Status
Definition: gdiplustypes.h:24
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
Definition: stat.h:345
float REAL
Definition: types.h:41
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

Referenced by GdipAddPathCurve3I(), and GdipAddPathCurveI().

◆ GdipAddPathCurve3()

GpStatus WINGDIPAPI GdipAddPathCurve3 ( GpPath ,
GDIPCONST GpPointF ,
INT  ,
INT  ,
INT  ,
REAL   
)

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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480

Referenced by test_addcurve().

◆ GdipAddPathCurve3I()

GpStatus WINGDIPAPI GdipAddPathCurve3I ( GpPath ,
GDIPCONST GpPoint ,
INT  ,
INT  ,
INT  ,
REAL   
)

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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
#define TRACE(s)
Definition: solgame.cpp:4
GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:533
GLsizei const GLfloat * points
Definition: glext.h:8112

◆ GdipAddPathCurveI()

GpStatus WINGDIPAPI GdipAddPathCurveI ( GpPath ,
GDIPCONST GpPoint ,
INT   
)

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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define TRACE(s)
Definition: solgame.cpp:4
GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:533
GLsizei const GLfloat * points
Definition: glext.h:8112

◆ GdipAddPathEllipse()

GpStatus WINGDIPAPI GdipAddPathEllipse ( GpPath ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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 }
GLint GLint GLsizei width
Definition: gl.h:1546
#define TRUE
Definition: types.h:120
#define MAX_ARC_PTS
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
int32_t INT
Definition: typedefs.h:56
INT arc2polybezier(GpPointF *points, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: gdiplus.c:223
#define TRACE(s)
Definition: solgame.cpp:4
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define ERR(fmt,...)
Definition: debug.h:109
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define memset(x, y, z)
Definition: compat.h:39
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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 ,
INT  ,
INT  ,
INT  ,
INT   
)

Definition at line 615 of file graphicspath.c.

617 {
618  TRACE("(%p, %d, %d, %d, %d)\n", path, x, y, width, height);
619 
621 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define TRACE(s)
Definition: solgame.cpp:4
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
float REAL
Definition: types.h:41
GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width, REAL height)
Definition: graphicspath.c:583

◆ GdipAddPathLine()

GpStatus WINGDIPAPI GdipAddPathLine ( GpPath ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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] =
724  (path->newfigure ? PathPointTypeStart : PathPointTypeLine);
725  path->pathdata.Types[old_count + 1] = PathPointTypeLine;
726 
727  path->newfigure = FALSE;
728  path->pathdata.Count += 2;
729 
730  return Ok;
731 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
int32_t INT
Definition: typedefs.h:56
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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 ,
GDIPCONST GpPointF ,
INT   
)

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 
633  if(!lengthen_path(path, count))
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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
GLsizei const GLfloat * points
Definition: glext.h:8112
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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

◆ GdipAddPathLine2I()

GpStatus WINGDIPAPI GdipAddPathLine2I ( GpPath ,
GDIPCONST GpPoint ,
INT   
)

Definition at line 654 of file graphicspath.c.

655 {
656  GpPointF *pointsF;
657  INT i;
658  GpStatus stat;
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 }
#define Y(I)
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:623
#define TRACE(s)
Definition: solgame.cpp:4
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
Definition: stat.h:55
REAL X
Definition: gdiplustypes.h:248
Status
Definition: gdiplustypes.h:24
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
Definition: stat.h:345
float REAL
Definition: types.h:41
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

Referenced by GdipCreatePathGradientI().

◆ GdipAddPathLineI()

GpStatus WINGDIPAPI GdipAddPathLineI ( GpPath ,
INT  ,
INT  ,
INT  ,
INT   
)

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 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
#define TRACE(s)
Definition: solgame.cpp:4
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphicspath.c:704
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
float REAL
Definition: types.h:41

Referenced by test_GdipFillPath(), and test_linei().

◆ GdipAddPathPath()

GpStatus WINGDIPAPI GdipAddPathPath ( GpPath ,
GDIPCONST GpPath ,
BOOL   
)

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 
758  if(!lengthen_path(path, count))
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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
#define TRACE(s)
Definition: solgame.cpp:4
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

Referenced by test_pathpath().

◆ GdipAddPathPie()

GpStatus WINGDIPAPI GdipAddPathPie ( GpPath ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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;
795  path->pathdata.Types[0] = PathPointTypeStart | PathPointTypeCloseSubpath;
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 }
GLint GLint GLsizei width
Definition: gl.h:1546
#define Y(I)
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
int32_t INT
Definition: typedefs.h:56
INT arc2polybezier(GpPointF *points, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: gdiplus.c:223
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 e
Definition: ke_i.h:82
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
GpStatus WINGDIPAPI GdipClosePathFigure(GpPath *path)
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
Status
Definition: gdiplustypes.h:24
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphicspath.c:704
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405
static SERVICE_STATUS status
Definition: service.c:31
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
Definition: ps.c:97

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

◆ GdipAddPathPieI()

GpStatus WINGDIPAPI GdipAddPathPieI ( GpPath ,
INT  ,
INT  ,
INT  ,
INT  ,
REAL  ,
REAL   
)

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 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define TRACE(s)
Definition: solgame.cpp:4
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipAddPathPie(GpPath *path, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:776
float REAL
Definition: types.h:41

◆ GdipAddPathPolygon()

GpStatus WINGDIPAPI GdipAddPathPolygon ( GpPath ,
GDIPCONST GpPointF ,
INT   
)

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 
853  if(!lengthen_path(path, count))
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 }
#define TRUE
Definition: types.h:120
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei const GLfloat * points
Definition: glext.h:8112
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define memset(x, y, z)
Definition: compat.h:39
BOOL lengthen_path(GpPath *path, INT len)
Definition: gdiplus.c:405

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

◆ GdipAddPathPolygonI()

GpStatus WINGDIPAPI GdipAddPathPolygonI ( GpPath ,
GDIPCONST GpPoint ,
INT   
)

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
#define Y(I)
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
REAL Y
Definition: gdiplustypes.h:249
GLsizei const GLfloat * points
Definition: glext.h:8112
REAL X
Definition: gdiplustypes.h:248
Status
Definition: gdiplustypes.h:24
float REAL
Definition: types.h:41
static SERVICE_STATUS status
Definition: service.c:31
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
Definition: ps.c:97

Referenced by GdipFillPolygonI().

◆ GdipAddPathRectangle()

GpStatus WINGDIPAPI GdipAddPathRectangle ( GpPath ,
REAL  ,
REAL  ,
REAL  ,
REAL   
)

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 
2336 fail:
2337  /* reverting */
2338  heap_free(path->pathdata.Points);
2339  heap_free(path->pathdata.Types);
2340  memcpy(path, backup, sizeof(*path));
2341  heap_free(backup);
2342 
2343  return retstat;
2344 }
GLint GLint GLsizei width
Definition: gl.h:1546
static long backup()
Definition: maze.c:403
#define TRUE
Definition: types.h:120
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)
unsigned int BOOL
Definition: ntddk_ex.h:94
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:623
#define TRACE(s)
Definition: solgame.cpp:4
REAL Y
Definition: gdiplustypes.h:249
REAL X
Definition: gdiplustypes.h:248
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
Status
Definition: gdiplustypes.h:24
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphicspath.c:704
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipClonePath(GpPath *path, GpPath **clone)
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

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 ,
INT  ,
INT  ,
INT  ,
INT   
)

Definition at line 2346 of file graphicspath.c.

2348 {
2349  TRACE("(%p, %d, %d, %d, %d)\n", path, x, y, width, height);
2350 
2352 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define TRACE(s)
Definition: solgame.cpp:4
GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, REAL width, REAL height)
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
float REAL
Definition: types.h:41

Referenced by test_getregiondata().

◆ GdipAddPathRectangles()

GpStatus WINGDIPAPI GdipAddPathRectangles ( GpPath ,
GDIPCONST GpRectF ,
INT   
)

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 
2382 fail:
2383  /* reverting */
2384  heap_free(path->pathdata.Points);
2385  heap_free(path->pathdata.Types);
2386  memcpy(path, backup, sizeof(*path));
2387  heap_free(backup);
2388 
2389  return retstat;
2390 }
static long backup()
Definition: maze.c:403
#define Y(I)
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)
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
GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, REAL width, REAL height)
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
Status
Definition: gdiplustypes.h:24
GpStatus WINGDIPAPI GdipClonePath(GpPath *path, GpPath **clone)
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

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

◆ GdipAddPathRectanglesI()

GpStatus WINGDIPAPI GdipAddPathRectanglesI ( GpPath ,
GDIPCONST GpRect ,
INT   
)

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 }
#define Y(I)
GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath *path, GDIPCONST GpRectF *rects, INT count)
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:56
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
REAL Height
Definition: gdiplustypes.h:264
#define TRACE(s)
Definition: solgame.cpp:4
REAL X
Definition: gdiplustypes.h:261
Status
Definition: gdiplustypes.h:24
REAL Width
Definition: gdiplustypes.h:263
float REAL
Definition: types.h:41
REAL Y
Definition: gdiplustypes.h:262
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ GdipAddPathString()

GpStatus WINGDIPAPI GdipAddPathString ( GpPath ,
GDIPCONST WCHAR ,
INT  ,
GDIPCONST GpFontFamily ,
INT  ,
REAL  ,
GDIPCONST RectF ,
GDIPCONST GpStringFormat  
)

Definition at line 1007 of file graphicspath.c.

1008 {
1009  GpFont *font;
1010  GpStatus status;
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 
1038  dc = CreateCompatibleDC(0);
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 
1069  SelectObject(dc, hfont);
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(