ReactOS  0.4.15-dev-1152-g6c94e4f
GraphicsPath Class Reference

#include <gdipluspath.h>

Inheritance diagram for GraphicsPath:
Collaboration diagram for GraphicsPath:

Public Member Functions

 GraphicsPath (const Point *points, const BYTE *types, INT count, FillMode fillMode)
 
 GraphicsPath (FillMode fillMode=FillModeAlternate)
 
 GraphicsPath (const PointF *points, const BYTE *types, INT count, FillMode fillMode=FillModeAlternate)
 
 ~GraphicsPath ()
 
Status AddArc (const Rect &rect, REAL startAngle, REAL sweepAngle)
 
Status AddArc (const RectF &rect, REAL startAngle, REAL sweepAngle)
 
Status AddArc (INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
 
Status AddArc (REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
 
Status AddBezier (const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
 
Status AddBezier (REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
 
Status AddBezier (const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4)
 
Status AddBezier (INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
 
Status AddBeziers (const Point *points, INT count)
 
Status AddBeziers (const PointF *points, INT count)
 
Status AddClosedCurve (const Point *points, INT count)
 
Status AddClosedCurve (const Point *points, INT count, REAL tension)
 
Status AddClosedCurve (const PointF *points, INT count, REAL tension)
 
Status AddClosedCurve (const PointF *points, INT count)
 
Status AddCurve (const Point *points, INT count)
 
Status AddCurve (const PointF *points, INT count, REAL tension)
 
Status AddCurve (const PointF *points, INT count)
 
Status AddCurve (const Point *points, INT count, INT offset, INT numberOfSegments, REAL tension)
 
Status AddCurve (const Point *points, INT count, REAL tension)
 
Status AddCurve (const PointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
 
Status AddEllipse (const Rect &rect)
 
Status AddEllipse (const RectF &rect)
 
Status AddEllipse (INT x, INT y, INT width, INT height)
 
Status AddEllipse (REAL x, REAL y, REAL width, REAL height)
 
Status AddLine (const Point &pt1, const Point &pt2)
 
Status AddLine (const PointF &pt1, const PointF &pt2)
 
Status AddLine (REAL x1, REAL y1, REAL x2, REAL y2)
 
Status AddLine (INT x1, INT y1, INT x2, INT y2)
 
Status AddLines (const Point *points, INT count)
 
Status AddLines (const PointF *points, INT count)
 
Status AddPath (const GraphicsPath *addingPath, BOOL connect)
 
Status AddPie (const Rect &rect, REAL startAngle, REAL sweepAngle)
 
Status AddPie (INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
 
Status AddPie (REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
 
Status AddPie (const RectF &rect, REAL startAngle, REAL sweepAngle)
 
Status AddPolygon (const Point *points, INT count)
 
Status AddPolygon (const PointF *points, INT count)
 
Status AddRectangle (const Rect &rect)
 
Status AddRectangle (const RectF &rect)
 
Status AddRectangles (const Rect *rects, INT count)
 
Status AddRectangles (const RectF *rects, INT count)
 
Status AddString (const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const Rect &layoutRect, const StringFormat *format)
 
Status AddString (const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const PointF &origin, const StringFormat *format)
 
Status AddString (const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const Point &origin, const StringFormat *format)
 
Status AddString (const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const RectF &layoutRect, const StringFormat *format)
 
Status ClearMarkers ()
 
GraphicsPathClone ()
 
Status CloseAllFigures ()
 
Status CloseFigure ()
 
Status Flatten (const Matrix *matrix, REAL flatness)
 
Status GetBounds (Rect *bounds, const Matrix *matrix, const Pen *pen)
 
Status GetBounds (RectF *bounds, const Matrix *matrix, const Pen *pen)
 
FillMode GetFillMode ()
 
Status GetLastPoint (PointF *lastPoint) const
 
Status GetLastStatus () const
 
Status GetPathData (PathData *pathData)
 
Status GetPathPoints (Point *points, INT count) const
 
Status GetPathPoints (PointF *points, INT count) const
 
Status GetPathTypes (BYTE *types, INT count) const
 
INT GetPointCount () const
 
BOOL IsOutlineVisible (const Point &point, const Pen *pen, const Graphics *g) const
 
BOOL IsOutlineVisible (REAL x, REAL y, const Pen *pen, const Graphics *g) const
 
BOOL IsOutlineVisible (INT x, INT y, const Pen *pen, const Graphics *g) const
 
BOOL IsOutlineVisible (const PointF &point, const Pen *pen, const Graphics *g) const
 
BOOL IsVisible (REAL x, REAL y, const Graphics *g) const
 
BOOL IsVisible (const PointF &point, const Graphics *g) const
 
BOOL IsVisible (INT x, INT y, const Graphics *g) const
 
BOOL IsVisible (const Point &point, const Graphics *g) const
 
Status Outline (const Matrix *matrix, REAL flatness)
 
Status Reset ()
 
Status Reverse ()
 
Status SetFillMode (FillMode fillmode)
 
Status SetMarker ()
 
Status StartFigure ()
 
Status Transform (const Matrix *matrix)
 
Status Warp (const PointF *destPoints, INT count, const RectF &srcRect, const Matrix *matrix, WarpMode warpMode, REAL flatness)
 
Status Widen (const Pen *pen, const Matrix *matrix, REAL flatness)
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Protected Member Functions

 GraphicsPath ()
 
 GraphicsPath (GpPath *path)
 
Status SetStatus (Status status) const
 
void SetNativePath (GpPath *path)
 

Protected Attributes

GpPathnativePath
 
Status lastStatus
 

Private Member Functions

 GraphicsPath (const GraphicsPath &)
 
GraphicsPathoperator= (const GraphicsPath &)
 

Friends

class Region
 
class CustomLineCap
 
class Graphics
 
GpPath *& getNat (const GraphicsPath *path)
 

Detailed Description

Definition at line 22 of file gdipluspath.h.

Constructor & Destructor Documentation

◆ GraphicsPath() [1/6]

GraphicsPath::GraphicsPath ( const Point points,
const BYTE types,
INT  count,
FillMode  fillMode 
)
inline

Definition at line 29 of file gdipluspath.h.

29  : nativePath(NULL)
30  {
32  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status lastStatus
Definition: gdipluspath.h:588
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
Definition: cmds.c:130
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint *points, GDIPCONST BYTE *types, INT count, GpFillMode fill, GpPath **path)
GLenum fillMode
Definition: glext.h:11728

◆ GraphicsPath() [2/6]

GraphicsPath::GraphicsPath ( FillMode  fillMode = FillModeAlternate)
inline

Definition at line 34 of file gdipluspath.h.

34  : nativePath(NULL)
35  {
37  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status lastStatus
Definition: gdipluspath.h:588
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCreatePath(GpFillMode fill, GpPath **path)
GLenum fillMode
Definition: glext.h:11728

◆ GraphicsPath() [3/6]

GraphicsPath::GraphicsPath ( const PointF points,
const BYTE types,
INT  count,
FillMode  fillMode = FillModeAlternate 
)
inline

Definition at line 39 of file gdipluspath.h.

40  : nativePath(NULL)
41  {
43  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status lastStatus
Definition: gdipluspath.h:588
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF *points, GDIPCONST BYTE *types, INT count, GpFillMode fill, GpPath **path)
smooth NULL
Definition: ftsmooth.c:416
Definition: cmds.c:130
GLsizei const GLfloat * points
Definition: glext.h:8112
GLenum fillMode
Definition: glext.h:11728

◆ ~GraphicsPath()

GraphicsPath::~GraphicsPath ( )
inline

Definition at line 45 of file gdipluspath.h.

46  {
48  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)

◆ GraphicsPath() [4/6]

GraphicsPath::GraphicsPath ( )
inlineprotected

Definition at line 590 of file gdipluspath.h.

591  {
592  }

Referenced by Clone().

◆ GraphicsPath() [5/6]

GraphicsPath::GraphicsPath ( GpPath path)
inlineprotected

Definition at line 594 of file gdipluspath.h.

595  {
596  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status lastStatus
Definition: gdipluspath.h:588

◆ GraphicsPath() [6/6]

GraphicsPath::GraphicsPath ( const GraphicsPath )
private

Member Function Documentation

◆ AddArc() [1/4]

Status GraphicsPath::AddArc ( const Rect rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 51 of file gdipluspath.h.

52  {
53  return AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
54  }
& rect
Definition: startmenu.cpp:1413
Status AddArc(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:51

Referenced by AddArc().

◆ AddArc() [2/4]

Status GraphicsPath::AddArc ( const RectF rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 57 of file gdipluspath.h.

58  {
59  return AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
60  }
& rect
Definition: startmenu.cpp:1413
Status AddArc(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:51

◆ AddArc() [3/4]

Status GraphicsPath::AddArc ( INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 63 of file gdipluspath.h.

64  {
65  return SetStatus(DllExports::GdipAddPathArcI(nativePath, x, y, width, height, startAngle, sweepAngle));
66  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipAddPathArcI(GpPath *path, INT x1, INT y1, INT x2, INT y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:234
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddArc() [4/4]

Status GraphicsPath::AddArc ( REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 69 of file gdipluspath.h.

70  {
71  return SetStatus(DllExports::GdipAddPathArc(nativePath, x, y, width, height, startAngle, sweepAngle));
72  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:195
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddBezier() [1/4]

Status GraphicsPath::AddBezier ( const Point pt1,
const Point pt2,
const Point pt3,
const Point pt4 
)
inline

Definition at line 75 of file gdipluspath.h.

76  {
77  return AddBezier(pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);
78  }
Status AddBezier(const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
Definition: gdipluspath.h:75

Referenced by AddBezier().

◆ AddBezier() [2/4]

Status GraphicsPath::AddBezier ( REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2,
REAL  x3,
REAL  y3,
REAL  x4,
REAL  y4 
)
inline

Definition at line 81 of file gdipluspath.h.

82  {
83  return SetStatus(DllExports::GdipAddPathBezier(nativePath, x1, y1, x2, y2, x3, y3, x4, y4));
84  }
GpPath * nativePath
Definition: gdipluspath.h:587
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
_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
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddBezier() [3/4]

Status GraphicsPath::AddBezier ( const PointF pt1,
const PointF pt2,
const PointF pt3,
const PointF pt4 
)
inline

Definition at line 87 of file gdipluspath.h.

88  {
89  return AddBezier(pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);
90  }
Status AddBezier(const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
Definition: gdipluspath.h:75
REAL Y
Definition: gdiplustypes.h:649
REAL X
Definition: gdiplustypes.h:648

◆ AddBezier() [4/4]

Status GraphicsPath::AddBezier ( INT  x1,
INT  y1,
INT  x2,
INT  y2,
INT  x3,
INT  y3,
INT  x4,
INT  y4 
)
inline

Definition at line 93 of file gdipluspath.h.

94  {
95  return SetStatus(DllExports::GdipAddPathBezierI(nativePath, x1, y1, x2, y2, x3, y3, x4, y4));
96  }
GpPath * nativePath
Definition: gdipluspath.h:587
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
_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
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath *path, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Definition: graphicspath.c:280

◆ AddBeziers() [1/2]

Status GraphicsPath::AddBeziers ( const Point points,
INT  count 
)
inline

Definition at line 99 of file gdipluspath.h.

100  {
102  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:319
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddBeziers() [2/2]

Status GraphicsPath::AddBeziers ( const PointF points,
INT  count 
)
inline

Definition at line 105 of file gdipluspath.h.

106  {
108  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddClosedCurve() [1/4]

Status GraphicsPath::AddClosedCurve ( const Point points,
INT  count 
)
inline

Definition at line 111 of file gdipluspath.h.

112  {
114  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:354
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddClosedCurve() [2/4]

Status GraphicsPath::AddClosedCurve ( const Point points,
INT  count,
REAL  tension 
)
inline

Definition at line 117 of file gdipluspath.h.

118  {
120  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:432
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddClosedCurve() [3/4]

Status GraphicsPath::AddClosedCurve ( const PointF points,
INT  count,
REAL  tension 
)
inline

Definition at line 123 of file gdipluspath.h.

124  {
126  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:362
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddClosedCurve() [4/4]

Status GraphicsPath::AddClosedCurve ( const PointF points,
INT  count 
)
inline

Definition at line 129 of file gdipluspath.h.

130  {
132  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:346
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddCurve() [1/6]

Status GraphicsPath::AddCurve ( const Point points,
INT  count 
)
inline

Definition at line 135 of file gdipluspath.h.

136  {
138  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:470

◆ AddCurve() [2/6]

Status GraphicsPath::AddCurve ( const PointF points,
INT  count,
REAL  tension 
)
inline

Definition at line 141 of file gdipluspath.h.

142  {
144  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddCurve() [3/6]

Status GraphicsPath::AddCurve ( const PointF points,
INT  count 
)
inline

Definition at line 147 of file gdipluspath.h.

148  {
150  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathCurve(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:460
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddCurve() [4/6]

Status GraphicsPath::AddCurve ( const Point points,
INT  count,
INT  offset,
INT  numberOfSegments,
REAL  tension 
)
inline

Definition at line 153 of file gdipluspath.h.

154  {
155  return SetStatus(DllExports::GdipAddPathCurve3I(nativePath, points, count, offset, numberOfSegments, tension));
156  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath *path, GDIPCONST GpPoint *points, INT count, INT offset, INT nseg, REAL tension)
Definition: graphicspath.c:572
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddCurve() [5/6]

Status GraphicsPath::AddCurve ( const Point points,
INT  count,
REAL  tension 
)
inline

Definition at line 159 of file gdipluspath.h.

160  {
162  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:533
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddCurve() [6/6]

Status GraphicsPath::AddCurve ( const PointF points,
INT  count,
INT  offset,
INT  numberOfSegments,
REAL  tension 
)
inline

Definition at line 165 of file gdipluspath.h.

166  {
167  return SetStatus(DllExports::GdipAddPathCurve3(nativePath, points, count, offset, numberOfSegments, tension));
168  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath *path, GDIPCONST GpPointF *points, INT count, INT offset, INT nseg, REAL tension)
Definition: graphicspath.c:561
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddEllipse() [1/4]

Status GraphicsPath::AddEllipse ( const Rect rect)
inline

Definition at line 171 of file gdipluspath.h.

172  {
173  return AddEllipse(rect.X, rect.Y, rect.Width, rect.Height);
174  }
Status AddEllipse(const Rect &rect)
Definition: gdipluspath.h:171
& rect
Definition: startmenu.cpp:1413

Referenced by AddEllipse().

◆ AddEllipse() [2/4]

Status GraphicsPath::AddEllipse ( const RectF rect)
inline

Definition at line 177 of file gdipluspath.h.

178  {
179  return AddEllipse(rect.X, rect.Y, rect.Width, rect.Height);
180  }
Status AddEllipse(const Rect &rect)
Definition: gdipluspath.h:171
& rect
Definition: startmenu.cpp:1413

◆ AddEllipse() [3/4]

Status GraphicsPath::AddEllipse ( INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 183 of file gdipluspath.h.

184  {
186  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath *path, INT x, INT y, INT width, INT height)
Definition: graphicspath.c:615
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddEllipse() [4/4]

Status GraphicsPath::AddEllipse ( REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 189 of file gdipluspath.h.

190  {
192  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width, REAL height)
Definition: graphicspath.c:583

◆ AddLine() [1/4]

Status GraphicsPath::AddLine ( const Point pt1,
const Point pt2 
)
inline

Definition at line 195 of file gdipluspath.h.

196  {
197  return AddLine(pt1.X, pt1.Y, pt2.X, pt2.Y);
198  }
Status AddLine(const Point &pt1, const Point &pt2)
Definition: gdipluspath.h:195

Referenced by AddLine().

◆ AddLine() [2/4]

Status GraphicsPath::AddLine ( const PointF pt1,
const PointF pt2 
)
inline

Definition at line 201 of file gdipluspath.h.

202  {
203  return AddLine(pt1.X, pt1.Y, pt2.X, pt2.Y);
204  }
Status AddLine(const Point &pt1, const Point &pt2)
Definition: gdipluspath.h:195
REAL Y
Definition: gdiplustypes.h:649
REAL X
Definition: gdiplustypes.h:648

◆ AddLine() [3/4]

Status GraphicsPath::AddLine ( REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2 
)
inline

Definition at line 207 of file gdipluspath.h.

208  {
210  }
GpPath * nativePath
Definition: gdipluspath.h:587
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
_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
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddLine() [4/4]

Status GraphicsPath::AddLine ( INT  x1,
INT  y1,
INT  x2,
INT  y2 
)
inline

Definition at line 213 of file gdipluspath.h.

214  {
216  }
GpPath * nativePath
Definition: gdipluspath.h:587
_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 GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y2)
Definition: graphicspath.c:738
_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
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddLines() [1/2]

Status GraphicsPath::AddLines ( const Point points,
INT  count 
)
inline

Definition at line 219 of file gdipluspath.h.

220  {
222  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:654
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddLines() [2/2]

Status GraphicsPath::AddLines ( const PointF points,
INT  count 
)
inline

Definition at line 225 of file gdipluspath.h.

226  {
228  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:623
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddPath()

Status GraphicsPath::AddPath ( const GraphicsPath addingPath,
BOOL  connect 
)
inline

Definition at line 231 of file gdipluspath.h.

232  {
233  GpPath *nativePath2 = addingPath ? getNat(addingPath) : NULL;
235  }
GpPath * nativePath
Definition: gdipluspath.h:587
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GpStatus WINGDIPAPI GdipAddPathPath(GpPath *path, GDIPCONST GpPath *addingPath, BOOL connect)
Definition: graphicspath.c:745
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddPie() [1/4]

Status GraphicsPath::AddPie ( const Rect rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 238 of file gdipluspath.h.

239  {
240  return AddPie(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
241  }
& rect
Definition: startmenu.cpp:1413
Status AddPie(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:238

Referenced by AddPie().

◆ AddPie() [2/4]

Status GraphicsPath::AddPie ( INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 244 of file gdipluspath.h.

245  {
246  return SetStatus(DllExports::GdipAddPathPieI(nativePath, x, y, width, height, startAngle, sweepAngle));
247  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipAddPathPieI(GpPath *path, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:835
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddPie() [3/4]

Status GraphicsPath::AddPie ( REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 250 of file gdipluspath.h.

251  {
252  return SetStatus(DllExports::GdipAddPathPie(nativePath, x, y, width, height, startAngle, sweepAngle));
253  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
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
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddPie() [4/4]

Status GraphicsPath::AddPie ( const RectF rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 256 of file gdipluspath.h.

257  {
258  return AddPie(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
259  }
& rect
Definition: startmenu.cpp:1413
Status AddPie(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:238

◆ AddPolygon() [1/2]

Status GraphicsPath::AddPolygon ( const Point points,
INT  count 
)
inline

Definition at line 262 of file gdipluspath.h.

263  {
265  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:870
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddPolygon() [2/2]

Status GraphicsPath::AddPolygon ( const PointF points,
INT  count 
)
inline

Definition at line 268 of file gdipluspath.h.

269  {
271  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:844
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddRectangle() [1/2]

Status GraphicsPath::AddRectangle ( const Rect rect)
inline

Definition at line 274 of file gdipluspath.h.

275  {
277  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath *path, INT x, INT y, INT width, INT height)
& rect
Definition: startmenu.cpp:1413
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddRectangle() [2/2]

Status GraphicsPath::AddRectangle ( const RectF rect)
inline

Definition at line 280 of file gdipluspath.h.

281  {
283  }
GpPath * nativePath
Definition: gdipluspath.h:587
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, REAL width, REAL height)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddRectangles() [1/2]

Status GraphicsPath::AddRectangles ( const Rect rects,
INT  count 
)
inline

Definition at line 286 of file gdipluspath.h.

287  {
289  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath *path, GDIPCONST GpRect *rects, INT count)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddRectangles() [2/2]

Status GraphicsPath::AddRectangles ( const RectF rects,
INT  count 
)
inline

Definition at line 292 of file gdipluspath.h.

293  {
295  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath *path, GDIPCONST GpRectF *rects, INT count)
GLuint GLuint GLsizei count
Definition: gl.h:1545
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ AddString() [1/4]

Status GraphicsPath::AddString ( const WCHAR string,
INT  length,
const FontFamily family,
INT  style,
REAL  emSize,
const Rect layoutRect,
const StringFormat format 
)
inline

Definition at line 298 of file gdipluspath.h.

306  {
308  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
309  format ? getNat(format) : NULL));
310  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathStringI(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST Rect *layoutRect, GDIPCONST GpStringFormat *format)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
Arabic default style
Definition: afstyles.h:93

◆ AddString() [2/4]

Status GraphicsPath::AddString ( const WCHAR string,
INT  length,
const FontFamily family,
INT  style,
REAL  emSize,
const PointF origin,
const StringFormat format 
)
inline

Definition at line 313 of file gdipluspath.h.

321  {
322  RectF rect(origin.X, origin.Y, 0.0f, 0.0f);
324  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &rect,
325  format ? getNat(format) : NULL));
326  }
GpPath * nativePath
Definition: gdipluspath.h:587
voidpf uLong int origin
Definition: ioapi.h:142
GpStatus WINGDIPAPI GdipAddPathString(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST RectF *layoutRect, GDIPCONST GpStringFormat *format)
& rect
Definition: startmenu.cpp:1413
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
Arabic default style
Definition: afstyles.h:93

◆ AddString() [3/4]

Status GraphicsPath::AddString ( const WCHAR string,
INT  length,
const FontFamily family,
INT  style,
REAL  emSize,
const Point origin,
const StringFormat format 
)
inline

Definition at line 329 of file gdipluspath.h.

337  {
338  Rect rect(origin.X, origin.Y, 0, 0);
340  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &rect,
341  format ? getNat(format) : NULL));
342  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathStringI(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST Rect *layoutRect, GDIPCONST GpStringFormat *format)
voidpf uLong int origin
Definition: ioapi.h:142
& rect
Definition: startmenu.cpp:1413
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
Arabic default style
Definition: afstyles.h:93

◆ AddString() [4/4]

Status GraphicsPath::AddString ( const WCHAR string,
INT  length,
const FontFamily family,
INT  style,
REAL  emSize,
const RectF layoutRect,
const StringFormat format 
)
inline

Definition at line 345 of file gdipluspath.h.

353  {
355  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
356  format ? getNat(format) : NULL));
357  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipAddPathString(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST RectF *layoutRect, GDIPCONST GpStringFormat *format)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
Arabic default style
Definition: afstyles.h:93

◆ ClearMarkers()

Status GraphicsPath::ClearMarkers ( )
inline

Definition at line 360 of file gdipluspath.h.

361  {
363  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Clone()

GraphicsPath* GraphicsPath::Clone ( )
inline

Definition at line 366 of file gdipluspath.h.

367  {
368  GpPath *clonepath = NULL;
370  if (lastStatus != Ok)
371  return NULL;
372  return new GraphicsPath(clonepath);
373  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status lastStatus
Definition: gdipluspath.h:588
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipClonePath(GpPath *path, GpPath **clone)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ CloseAllFigures()

Status GraphicsPath::CloseAllFigures ( )
inline

Definition at line 376 of file gdipluspath.h.

377  {
379  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipClosePathFigures(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ CloseFigure()

Status GraphicsPath::CloseFigure ( )
inline

Definition at line 382 of file gdipluspath.h.

383  {
385  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipClosePathFigure(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Flatten()

Status GraphicsPath::Flatten ( const Matrix matrix,
REAL  flatness 
)
inline

Definition at line 388 of file gdipluspath.h.

389  {
390  GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
391  return SetStatus(DllExports::GdipFlattenPath(nativePath, nativeMatrix, flatness));
392  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLenum matrix
Definition: glext.h:9407
GpStatus WINGDIPAPI GdipFlattenPath(GpPath *path, GpMatrix *matrix, REAL flatness)
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetBounds() [1/2]

Status GraphicsPath::GetBounds ( Rect bounds,
const Matrix matrix,
const Pen pen 
)
inline

Definition at line 395 of file gdipluspath.h.

396  {
397  return SetStatus(NotImplemented);
398  }
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetBounds() [2/2]

Status GraphicsPath::GetBounds ( RectF bounds,
const Matrix matrix,
const Pen pen 
)
inline

Definition at line 401 of file gdipluspath.h.

402  {
403  return SetStatus(NotImplemented);
404  }
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetFillMode()

FillMode GraphicsPath::GetFillMode ( )
inline

Definition at line 407 of file gdipluspath.h.

408  {
409  FillMode fillmode = FillModeAlternate;
411  return fillmode;
412  }
GpPath * nativePath
Definition: gdipluspath.h:587
FillMode
Definition: gdiplusenums.h:53
GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath *path, GpFillMode *fillmode)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetLastPoint()

Status GraphicsPath::GetLastPoint ( PointF lastPoint) const
inline

Definition at line 415 of file gdipluspath.h.

416  {
418  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath *path, GpPointF *lastPoint)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetLastStatus()

Status GraphicsPath::GetLastStatus ( ) const
inline

Definition at line 421 of file gdipluspath.h.

422  {
423  return lastStatus;
424  }
Status lastStatus
Definition: gdipluspath.h:588

◆ GetPathData()

Status GraphicsPath::GetPathData ( PathData pathData)
inline

Definition at line 427 of file gdipluspath.h.

428  {
429  return NotImplemented;
430  }

◆ GetPathPoints() [1/2]

Status GraphicsPath::GetPathPoints ( Point points,
INT  count 
) const
inline

Definition at line 433 of file gdipluspath.h.

434  {
436  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath *path, GpPoint *points, INT count)
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetPathPoints() [2/2]

Status GraphicsPath::GetPathPoints ( PointF points,
INT  count 
) const
inline

Definition at line 439 of file gdipluspath.h.

440  {
442  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *path, GpPointF *points, INT count)
GLsizei const GLfloat * points
Definition: glext.h:8112
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetPathTypes()

Status GraphicsPath::GetPathTypes ( BYTE types,
INT  count 
) const
inline

Definition at line 445 of file gdipluspath.h.

446  {
448  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath *path, BYTE *types, INT count)
Definition: cmds.c:130
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ GetPointCount()

INT GraphicsPath::GetPointCount ( ) const
inline

Definition at line 451 of file gdipluspath.h.

452  {
453  INT count = 0;
455  return count;
456  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLuint GLsizei count
Definition: gl.h:1545
int32_t INT
Definition: typedefs.h:58
GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ IsOutlineVisible() [1/4]

BOOL GraphicsPath::IsOutlineVisible ( const Point point,
const Pen pen,
const Graphics g 
) const
inline

Definition at line 459 of file gdipluspath.h.

460  {
461  return IsOutlineVisible(point.X, point.Y, pen, g);
462  }
POINTL point
Definition: edittest.c:50
BOOL IsOutlineVisible(const Point &point, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:459
GLboolean GLboolean g
Definition: glext.h:6204

Referenced by IsOutlineVisible().

◆ IsOutlineVisible() [2/4]

BOOL GraphicsPath::IsOutlineVisible ( REAL  x,
REAL  y,
const Pen pen,
const Graphics g 
) const
inline

Definition at line 465 of file gdipluspath.h.

466  {
467  GpGraphics *nativeGraphics = g ? getNat(g) : NULL;
468  GpPen *nativePen = pen ? getNat(pen) : NULL;
469  BOOL flag = FALSE;
470  SetStatus(DllExports::GdipIsOutlineVisiblePathPoint(nativePath, x, y, nativePen, nativeGraphics, &flag));
471  return flag;
472  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath *path, REAL x, REAL y, GpPen *pen, GpGraphics *graphics, BOOL *result)
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLboolean GLboolean g
Definition: glext.h:6204
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 flag
Definition: glfuncs.h:52
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ IsOutlineVisible() [3/4]

BOOL GraphicsPath::IsOutlineVisible ( INT  x,
INT  y,
const Pen pen,
const Graphics g 
) const
inline

Definition at line 475 of file gdipluspath.h.

476  {
477  GpGraphics *nativeGraphics = g ? getNat(g) : NULL;
478  GpPen *nativePen = pen ? getNat(pen) : NULL;
479  BOOL flag = FALSE;
480  SetStatus(DllExports::GdipIsOutlineVisiblePathPointI(nativePath, x, y, nativePen, nativeGraphics, &flag));
481  return flag;
482  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath *path, INT x, INT y, GpPen *pen, GpGraphics *graphics, BOOL *result)
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLboolean GLboolean g
Definition: glext.h:6204
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 flag
Definition: glfuncs.h:52
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ IsOutlineVisible() [4/4]

BOOL GraphicsPath::IsOutlineVisible ( const PointF point,
const Pen pen,
const Graphics g 
) const
inline

Definition at line 485 of file gdipluspath.h.

486  {
487  return IsOutlineVisible(point.X, point.Y, pen, g);
488  }
POINTL point
Definition: edittest.c:50
BOOL IsOutlineVisible(const Point &point, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:459
GLboolean GLboolean g
Definition: glext.h:6204

◆ IsVisible() [1/4]

BOOL GraphicsPath::IsVisible ( REAL  x,
REAL  y,
const Graphics g 
) const
inline

Definition at line 491 of file gdipluspath.h.

492  {
493  GpGraphics *nativeGraphics = g ? getNat(g) : NULL;
494  BOOL flag = FALSE;
496  return flag;
497  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLboolean GLboolean g
Definition: glext.h:6204
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 flag
Definition: glfuncs.h:52
GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath *path, REAL x, REAL y, GpGraphics *graphics, BOOL *result)
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

Referenced by IsVisible().

◆ IsVisible() [2/4]

BOOL GraphicsPath::IsVisible ( const PointF point,
const Graphics g 
) const
inline

Definition at line 500 of file gdipluspath.h.

501  {
502  return IsVisible(point.X, point.Y, g);
503  }
POINTL point
Definition: edittest.c:50
GLboolean GLboolean g
Definition: glext.h:6204
BOOL IsVisible(REAL x, REAL y, const Graphics *g) const
Definition: gdipluspath.h:491

◆ IsVisible() [3/4]

BOOL GraphicsPath::IsVisible ( INT  x,
INT  y,
const Graphics g 
) const
inline

Definition at line 506 of file gdipluspath.h.

507  {
508  GpGraphics *nativeGraphics = g ? getNat(g) : NULL;
509  BOOL flag = FALSE;
511  return flag;
512  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath *path, INT x, INT y, GpGraphics *graphics, BOOL *result)
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 flag
Definition: glfuncs.h:52
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ IsVisible() [4/4]

BOOL GraphicsPath::IsVisible ( const Point point,
const Graphics g 
) const
inline

Definition at line 515 of file gdipluspath.h.

516  {
517  return IsVisible(point.X, point.Y, g);
518  }
POINTL point
Definition: edittest.c:50
GLboolean GLboolean g
Definition: glext.h:6204
BOOL IsVisible(REAL x, REAL y, const Graphics *g) const
Definition: gdipluspath.h:491

◆ operator=()

◆ Outline()

Status GraphicsPath::Outline ( const Matrix matrix,
REAL  flatness 
)
inline

Definition at line 521 of file gdipluspath.h.

522  {
523  GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
524  return SetStatus(DllExports::GdipWindingModeOutline(nativePath, nativeMatrix, flatness));
525  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLenum matrix
Definition: glext.h:9407
smooth NULL
Definition: ftsmooth.c:416
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GpStatus WINGDIPAPI GdipWindingModeOutline(GpPath *path, GpMatrix *matrix, REAL flatness)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Reset()

Status GraphicsPath::Reset ( void  )
inline

Definition at line 528 of file gdipluspath.h.

529  {
531  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipResetPath(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Reverse()

Status GraphicsPath::Reverse ( )
inline

Definition at line 534 of file gdipluspath.h.

535  {
537  }
GpPath * nativePath
Definition: gdipluspath.h:587
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
GpStatus WINGDIPAPI GdipReversePath(GpPath *path)

◆ SetFillMode()

Status GraphicsPath::SetFillMode ( FillMode  fillmode)
inline

Definition at line 540 of file gdipluspath.h.

541  {
543  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath *path, GpFillMode fill)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ SetMarker()

Status GraphicsPath::SetMarker ( )
inline

Definition at line 546 of file gdipluspath.h.

547  {
549  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipSetPathMarker(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ SetNativePath()

void GraphicsPath::SetNativePath ( GpPath path)
inlineprotected

Definition at line 607 of file gdipluspath.h.

608  {
609  nativePath = path;
610  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLsizei const GLchar ** path
Definition: glext.h:7234

◆ SetStatus()

◆ StartFigure()

Status GraphicsPath::StartFigure ( )
inline

Definition at line 552 of file gdipluspath.h.

553  {
555  }
GpPath * nativePath
Definition: gdipluspath.h:587
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Transform()

Status GraphicsPath::Transform ( const Matrix matrix)
inline

Definition at line 558 of file gdipluspath.h.

559  {
560  if (!matrix)
561  return Ok;
563  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLenum matrix
Definition: glext.h:9407
GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

◆ Warp()

Status GraphicsPath::Warp ( const PointF destPoints,
INT  count,
const RectF srcRect,
const Matrix matrix,
WarpMode  warpMode,
REAL  flatness 
)
inline

Definition at line 566 of file gdipluspath.h.

573  {
574  GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
576  nativePath, nativeMatrix, destPoints, count, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, warpMode,
577  flatness));
578  }
GpPath * nativePath
Definition: gdipluspath.h:587
GLuint GLenum matrix
Definition: glext.h:9407
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipWarpPath(GpPath *path, GpMatrix *matrix, GDIPCONST GpPointF *points, INT count, REAL x, REAL y, REAL width, REAL height, WarpMode warpmode, REAL flatness)
smooth NULL
Definition: ftsmooth.c:416
REAL Height
Definition: gdiplustypes.h:664
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
REAL X
Definition: gdiplustypes.h:661
REAL Width
Definition: gdiplustypes.h:663
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
REAL Y
Definition: gdiplustypes.h:662

◆ Widen()

Status GraphicsPath::Widen ( const Pen pen,
const Matrix matrix,
REAL  flatness 
)
inline

Definition at line 581 of file gdipluspath.h.

582  {
583  return SetStatus(NotImplemented);
584  }
Status SetStatus(Status status) const
Definition: gdipluspath.h:599

Friends And Related Function Documentation

◆ CustomLineCap

friend class CustomLineCap
friend

Definition at line 25 of file gdipluspath.h.

◆ getNat

GpPath*& getNat ( const GraphicsPath path)
friend

Definition at line 620 of file gdipluspath.h.

621  {
622  return const_cast<GraphicsPath *>(path)->nativePath;
623  }

Referenced by AddPath(), AddString(), Flatten(), IsOutlineVisible(), IsVisible(), Outline(), and Warp().

◆ Graphics

friend class Graphics
friend

Definition at line 26 of file gdipluspath.h.

◆ Region

friend class Region
friend

Definition at line 24 of file gdipluspath.h.

Member Data Documentation

◆ lastStatus

Status GraphicsPath::lastStatus
mutableprotected

Definition at line 588 of file gdipluspath.h.

Referenced by Clone(), GetLastStatus(), GraphicsPath(), and SetStatus().

◆ nativePath


The documentation for this class was generated from the following file: