ReactOS  0.4.15-dev-1187-g119f102
gdipluspath.h
Go to the documentation of this file.
1 /*
2  * GdiPlusPath.h
3  *
4  * Windows GDI+
5  *
6  * This file is part of the w32api package.
7  *
8  * THIS SOFTWARE IS NOT COPYRIGHTED
9  *
10  * This source code is offered for use in the public domain. You may
11  * use, modify or distribute it freely.
12  *
13  * This code is distributed in the hope that it will be useful but
14  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15  * DISCLAIMED. This includes but is not limited to warranties of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17  */
18 
19 #ifndef _GDIPLUSPATH_H
20 #define _GDIPLUSPATH_H
21 
22 class GraphicsPath : public GdiplusBase
23 {
24  friend class Region;
25  friend class CustomLineCap;
26  friend class Graphics;
27 
28  public:
30  {
32  }
33 
35  {
37  }
38 
40  : nativePath(NULL)
41  {
43  }
44 
46  {
48  }
49 
50  Status
51  AddArc(const Rect &rect, REAL startAngle, REAL sweepAngle)
52  {
53  return AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
54  }
55 
56  Status
57  AddArc(const RectF &rect, REAL startAngle, REAL sweepAngle)
58  {
59  return AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
60  }
61 
62  Status
63  AddArc(INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
64  {
65  return SetStatus(DllExports::GdipAddPathArcI(nativePath, x, y, width, height, startAngle, sweepAngle));
66  }
67 
68  Status
69  AddArc(REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
70  {
71  return SetStatus(DllExports::GdipAddPathArc(nativePath, x, y, width, height, startAngle, sweepAngle));
72  }
73 
74  Status
75  AddBezier(const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
76  {
77  return AddBezier(pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);
78  }
79 
80  Status
81  AddBezier(REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
82  {
83  return SetStatus(DllExports::GdipAddPathBezier(nativePath, x1, y1, x2, y2, x3, y3, x4, y4));
84  }
85 
86  Status
87  AddBezier(const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4)
88  {
89  return AddBezier(pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);
90  }
91 
92  Status
93  AddBezier(INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
94  {
95  return SetStatus(DllExports::GdipAddPathBezierI(nativePath, x1, y1, x2, y2, x3, y3, x4, y4));
96  }
97 
98  Status
100  {
102  }
103 
104  Status
106  {
108  }
109 
110  Status
112  {
114  }
115 
116  Status
118  {
120  }
121 
122  Status
124  {
126  }
127 
128  Status
130  {
132  }
133 
134  Status
136  {
138  }
139 
140  Status
141  AddCurve(const PointF *points, INT count, REAL tension)
142  {
144  }
145 
146  Status
148  {
150  }
151 
152  Status
153  AddCurve(const Point *points, INT count, INT offset, INT numberOfSegments, REAL tension)
154  {
155  return SetStatus(DllExports::GdipAddPathCurve3I(nativePath, points, count, offset, numberOfSegments, tension));
156  }
157 
158  Status
159  AddCurve(const Point *points, INT count, REAL tension)
160  {
162  }
163 
164  Status
165  AddCurve(const PointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
166  {
167  return SetStatus(DllExports::GdipAddPathCurve3(nativePath, points, count, offset, numberOfSegments, tension));
168  }
169 
170  Status
172  {
173  return AddEllipse(rect.X, rect.Y, rect.Width, rect.Height);
174  }
175 
176  Status
178  {
179  return AddEllipse(rect.X, rect.Y, rect.Width, rect.Height);
180  }
181 
182  Status
184  {
186  }
187 
188  Status
190  {
192  }
193 
194  Status
195  AddLine(const Point &pt1, const Point &pt2)
196  {
197  return AddLine(pt1.X, pt1.Y, pt2.X, pt2.Y);
198  }
199 
200  Status
201  AddLine(const PointF &pt1, const PointF &pt2)
202  {
203  return AddLine(pt1.X, pt1.Y, pt2.X, pt2.Y);
204  }
205 
206  Status
208  {
210  }
211 
212  Status
214  {
216  }
217 
218  Status
220  {
222  }
223 
224  Status
226  {
228  }
229 
230  Status
231  AddPath(const GraphicsPath *addingPath, BOOL connect)
232  {
233  GpPath *nativePath2 = addingPath ? getNat(addingPath) : NULL;
235  }
236 
237  Status
238  AddPie(const Rect &rect, REAL startAngle, REAL sweepAngle)
239  {
240  return AddPie(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
241  }
242 
243  Status
244  AddPie(INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
245  {
246  return SetStatus(DllExports::GdipAddPathPieI(nativePath, x, y, width, height, startAngle, sweepAngle));
247  }
248 
249  Status
250  AddPie(REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
251  {
252  return SetStatus(DllExports::GdipAddPathPie(nativePath, x, y, width, height, startAngle, sweepAngle));
253  }
254 
255  Status
256  AddPie(const RectF &rect, REAL startAngle, REAL sweepAngle)
257  {
258  return AddPie(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);
259  }
260 
261  Status
263  {
265  }
266 
267  Status
269  {
271  }
272 
273  Status
275  {
277  }
278 
279  Status
281  {
283  }
284 
285  Status
286  AddRectangles(const Rect *rects, INT count)
287  {
289  }
290 
291  Status
292  AddRectangles(const RectF *rects, INT count)
293  {
295  }
296 
297  Status
299  const WCHAR *string,
300  INT length,
301  const FontFamily *family,
302  INT style,
303  REAL emSize,
304  const Rect &layoutRect,
305  const StringFormat *format)
306  {
308  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
309  format ? getNat(format) : NULL));
310  }
311 
312  Status
314  const WCHAR *string,
315  INT length,
316  const FontFamily *family,
317  INT style,
318  REAL emSize,
319  const PointF &origin,
320  const StringFormat *format)
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  }
327 
328  Status
330  const WCHAR *string,
331  INT length,
332  const FontFamily *family,
333  INT style,
334  REAL emSize,
335  const Point &origin,
336  const StringFormat *format)
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  }
343 
344  Status
346  const WCHAR *string,
347  INT length,
348  const FontFamily *family,
349  INT style,
350  REAL emSize,
351  const RectF &layoutRect,
352  const StringFormat *format)
353  {
355  nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
356  format ? getNat(format) : NULL));
357  }
358 
359  Status
361  {
363  }
364 
365  GraphicsPath *
367  {
368  GpPath *clonepath = NULL;
370  if (lastStatus != Ok)
371  return NULL;
372  return new GraphicsPath(clonepath);
373  }
374 
375  Status
377  {
379  }
380 
381  Status
383  {
385  }
386 
387  Status
388  Flatten(const Matrix *matrix, REAL flatness)
389  {
390  GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
391  return SetStatus(DllExports::GdipFlattenPath(nativePath, nativeMatrix, flatness));
392  }
393 
394  Status
395  GetBounds(Rect *bounds, const Matrix *matrix, const Pen *pen)
396  {
397  return SetStatus(NotImplemented);
398  }
399 
400  Status
401  GetBounds(RectF *bounds, const Matrix *matrix, const Pen *pen)
402  {
403  return SetStatus(NotImplemented);
404  }
405 
406  FillMode
408  {
409  FillMode fillmode = FillModeAlternate;
411  return fillmode;
412  }
413 
414  Status
415  GetLastPoint(PointF *lastPoint) const
416  {
418  }
419 
420  Status
422  {
423  return lastStatus;
424  }
425 
426  Status
428  {
429  return NotImplemented;
430  }
431 
432  Status
434  {
436  }
437 
438  Status
440  {
442  }
443 
444  Status
446  {
448  }
449 
450  INT
452  {
453  INT count = 0;
455  return count;
456  }
457 
458  BOOL
459  IsOutlineVisible(const Point &point, const Pen *pen, const Graphics *g) const
460  {
461  return IsOutlineVisible(point.X, point.Y, pen, g);
462  }
463 
464  BOOL
465  IsOutlineVisible(REAL x, REAL y, const Pen *pen, const Graphics *g) const
466  {
468  GpPen *nativePen = pen ? getNat(pen) : NULL;
469  BOOL flag = FALSE;
471  return flag;
472  }
473 
474  BOOL
475  IsOutlineVisible(INT x, INT y, const Pen *pen, const Graphics *g) const
476  {
478  GpPen *nativePen = pen ? getNat(pen) : NULL;
479  BOOL flag = FALSE;
481  return flag;
482  }
483 
484  BOOL
485  IsOutlineVisible(const PointF &point, const Pen *pen, const Graphics *g) const
486  {
487  return IsOutlineVisible(point.X, point.Y, pen, g);
488  }
489 
490  BOOL
491  IsVisible(REAL x, REAL y, const Graphics *g) const
492  {
494  BOOL flag = FALSE;
496  return flag;
497  }
498 
499  BOOL
500  IsVisible(const PointF &point, const Graphics *g) const
501  {
502  return IsVisible(point.X, point.Y, g);
503  }
504 
505  BOOL
506  IsVisible(INT x, INT y, const Graphics *g) const
507  {
509  BOOL flag = FALSE;
511  return flag;
512  }
513 
514  BOOL
515  IsVisible(const Point &point, const Graphics *g) const
516  {
517  return IsVisible(point.X, point.Y, g);
518  }
519 
520  Status
521  Outline(const Matrix *matrix, REAL flatness)
522  {
523  GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
524  return SetStatus(DllExports::GdipWindingModeOutline(nativePath, nativeMatrix, flatness));
525  }
526 
527  Status
529  {
531  }
532 
533  Status
535  {
537  }
538 
539  Status
541  {
543  }
544 
545  Status
547  {
549  }
550 
551  Status
553  {
555  }
556 
557  Status
559  {
560  if (!matrix)
561  return Ok;
563  }
564 
565  Status
567  const PointF *destPoints,
568  INT count,
569  const RectF &srcRect,
570  const Matrix *matrix,
571  WarpMode warpMode,
572  REAL flatness)
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  }
579 
580  Status
581  Widen(const Pen *pen, const Matrix *matrix, REAL flatness)
582  {
583  return SetStatus(NotImplemented);
584  }
585 
586  protected:
589 
591  {
592  }
593 
595  {
596  }
597 
598  Status
600  {
601  if (status != Ok)
602  lastStatus = status;
603  return status;
604  }
605 
606  void
608  {
609  nativePath = path;
610  }
611 
612  private:
613  // GraphicsPath is not copyable
614  GraphicsPath(const GraphicsPath &);
615  GraphicsPath &
616  operator=(const GraphicsPath &);
617 
618  // get native
619  friend inline GpPath *&
621  {
622  return const_cast<GraphicsPath *>(path)->nativePath;
623  }
624 };
625 
627 {
628  public:
630  {
631  GpPathIterator *it = NULL;
632  GpPath *nativePath = path ? getNat(path) : NULL;
633  lastStatus = DllExports::GdipCreatePathIter(&it, nativePath);
634  nativeIterator = it;
635  }
636 
638  {
640  }
641 
642  INT
643  CopyData(PointF *points, BYTE *types, INT startIndex, INT endIndex)
644  {
645  INT resultCount;
646  SetStatus(DllExports::GdipPathIterCopyData(nativeIterator, &resultCount, points, types, startIndex, endIndex));
647  return resultCount;
648  }
649 
650  INT
652  {
653  INT resultCount;
655  return resultCount;
656  }
657 
658  INT
659  GetCount() const
660  {
661  INT resultCount;
663  return resultCount;
664  }
665 
666  Status
668  {
669  return lastStatus;
670  }
671 
672  INT
674  {
675  INT resultCount;
677  return resultCount;
678  }
679 
680  BOOL
681  HasCurve() const
682  {
683  BOOL hasCurve;
685  return hasCurve;
686  }
687 
688  INT
690  {
691  INT resultCount;
692  GpPath *nativePath = path ? getNat(path) : NULL;
694  return resultCount;
695  }
696 
697  INT
698  NextMarker(INT *startIndex, INT *endIndex)
699  {
700  INT resultCount;
701  SetStatus(DllExports::GdipPathIterNextMarker(nativeIterator, &resultCount, startIndex, endIndex));
702  return resultCount;
703  }
704 
705  INT
706  NextPathType(BYTE *pathType, INT *startIndex, INT *endIndex)
707  {
708  INT resultCount;
709  SetStatus(DllExports::GdipPathIterNextPathType(nativeIterator, &resultCount, pathType, startIndex, endIndex));
710  return resultCount;
711  }
712 
713  INT
715  {
716  GpPath *nativePath = path ? getNat(path) : NULL;
717  INT resultCount;
718  SetStatus(DllExports::GdipPathIterNextSubpathPath(nativeIterator, &resultCount, nativePath, isClosed));
719  return resultCount;
720  }
721 
722  INT
723  NextSubpath(INT *startIndex, INT *endIndex, BOOL *isClosed)
724  {
725  INT resultCount;
726  SetStatus(DllExports::GdipPathIterNextSubpath(nativeIterator, &resultCount, startIndex, endIndex, isClosed));
727  return resultCount;
728  }
729 
730  VOID
732  {
734  }
735 
736  protected:
739 
740  Status
742  {
743  if (status != Ok)
744  lastStatus = status;
745  return status;
746  }
747 };
748 
749 class PathGradientBrush : public Brush
750 {
751  public:
752  friend class Pen;
753 
755  {
756  GpPathGradient *brush = NULL;
758  SetNativeBrush(brush);
759  }
760 
762  {
763  GpPathGradient *brush = NULL;
765  SetNativeBrush(brush);
766  }
767 
769  {
770  GpPathGradient *brush = NULL;
772  SetNativeBrush(brush);
773  }
774 
775  INT
777  {
778  INT count = 0;
780  return count;
781  }
782 
783  Status
784  GetBlend(REAL *blendFactors, REAL *blendPositions, INT count) const
785  {
786  return SetStatus(
787  DllExports::GdipGetPathGradientBlend(GetNativeGradient(), blendFactors, blendPositions, count));
788  }
789 
790  Status
792  {
793  if (color != NULL)
794  return SetStatus(InvalidParameter);
795 
796  ARGB argb;
798  color->SetValue(argb);
799  return GetLastStatus();
800  }
801 
802  Status
804  {
806  }
807 
808  Status
810  {
812  }
813 
814  Status
815  GetFocusScales(REAL *xScale, REAL *yScale) const
816  {
818  }
819 
820  BOOL
822  {
823  BOOL useGammaCorrection;
825  return useGammaCorrection;
826  }
827 
828  Status
830  {
831  if (!path)
832  return SetStatus(InvalidParameter);
833 
835  }
836 
837  INT
839  {
840  INT count = 0;
842  return count;
843  }
844 
845  Status
846  GetInterpolationColors(Color *presetColors, REAL *blendPositions, INT count) const
847  {
848  return NotImplemented;
849  }
850 
851  INT
853  {
854  INT count;
856  return count;
857  }
858 
859  Status
861  {
863  }
864 
865  Status
867  {
869  }
870 
871  INT
873  {
874  INT count;
876  return count;
877  }
878 
879  Status
880  GetSurroundColors(Color *colors, INT *count) const
881  {
882  return NotImplemented;
883  }
884 
885  Status
887  {
889  }
890 
891  WrapMode
892  GetWrapMode() const
893  {
894  WrapMode wrapMode;
896  return wrapMode;
897  }
898 
899  Status
901  {
903  }
904 
905  Status
907  {
909  }
910 
911  Status
913  {
915  }
916 
917  Status
919  {
921  }
922 
923  Status
924  SetBlend(REAL *blendFactors, REAL *blendPositions, INT count)
925  {
926  return SetStatus(
927  DllExports::GdipSetPathGradientBlend(GetNativeGradient(), blendFactors, blendPositions, count));
928  }
929 
930  Status
932  {
934  }
935 
936  Status
938  {
940  }
941 
942  Status
944  {
946  }
947 
948  Status
950  {
952  }
953 
954  Status
956  {
958  }
959 
960  Status
961  SetFocusScales(REAL xScale, REAL yScale)
962  {
964  }
965 
966  Status
967  SetGammaCorrection(BOOL useGammaCorrection)
968  {
970  }
971 
972  Status
974  {
975  if (!path)
976  return SetStatus(InvalidParameter);
978  }
979 
980  Status
981  SetInterpolationColors(const Color *presetColors, REAL *blendPositions, INT count)
982  {
983  return NotImplemented;
984  }
985 
986  Status
987  SetSurroundColors(const Color *colors, INT *count)
988  {
989  return NotImplemented;
990  }
991 
992  Status
994  {
996  }
997 
998  Status
1000  {
1002  }
1003 
1004  Status
1006  {
1008  }
1009 
1010  protected:
1011  GpPathGradient *
1013  {
1014  return static_cast<GpPathGradient *>(nativeBrush);
1015  }
1016 
1018  {
1019  }
1020 };
1021 
1022 #endif /* _GDIPLUSPATH_H */
GraphicsPath * Clone()
Definition: gdipluspath.h:366
GpPath * nativePath
Definition: gdipluspath.h:587
Status AddRectangles(const RectF *rects, INT count)
Definition: gdipluspath.h:292
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
Definition: pathiterator.c:241
Status AddPolygon(const PointF *points, INT count)
Definition: gdipluspath.h:268
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient *grad, ARGB *colors)
Definition: brush.c:1121
GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:844
GLint GLint GLsizei width
Definition: gl.h:1546
Status AddPie(INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:244
GLuint GLdouble GLdouble GLint GLint order
Definition: glext.h:11194
GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator *iter, INT *result, GpPath *path, BOOL *closed)
Definition: pathiterator.c:306
Status GetPathPoints(PointF *points, INT count) const
Definition: gdipluspath.h:439
INT NextPathType(BYTE *pathType, INT *startIndex, INT *endIndex)
Definition: gdipluspath.h:706
GpStatus WINGDIPAPI GdipAddPathCurve(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:460
void SetNativeBrush(GpBrush *brush)
Definition: gdiplusbrush.h:84
Status AddString(const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const Point &origin, const StringFormat *format)
Definition: gdipluspath.h:329
GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath *path, GpFillMode fill)
GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator *iterator, INT *count)
Definition: pathiterator.c:127
Status lastStatus
Definition: gdipluspath.h:588
INT GetSubpathCount() const
Definition: gdipluspath.h:673
GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:362
WrapMode GetWrapMode() const
Definition: gdipluspath.h:892
GpStatus WINGDIPAPI GdipSetPathGradientTransform(GpPathGradient *grad, GpMatrix *matrix)
Definition: brush.c:1845
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount(GpPathGradient *brush, INT *count)
Definition: brush.c:1244
Status AddBezier(REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Definition: gdipluspath.h:81
Status AddBeziers(const PointF *points, INT count)
Definition: gdipluspath.h:105
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *count)
Definition: brush.c:1074
WrapMode
Definition: gdiplusenums.h:205
Status GetBounds(Rect *bounds, const Matrix *matrix, const Pen *pen)
Definition: gdipluspath.h:395
GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath *path, GDIPCONST GpRectF *rects, INT count)
GLsizei const GLchar ** path
Definition: glext.h:7234
GLuint GLenum matrix
Definition: glext.h:9407
GpStatus WINGDIPAPI GdipResetPathGradientTransform(GpPathGradient *grad)
Definition: brush.c:1882
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath *path, INT x, INT y, GpPen *pen, GpGraphics *graphics, BOOL *result)
GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:290
GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad, REAL focus, REAL scale)
Definition: brush.c:1737
WarpMode
Definition: gdiplusenums.h:199
Status AddBezier(const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4)
Definition: gdipluspath.h:87
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath *path, REAL x, REAL y, GpPen *pen, GpGraphics *graphics, BOOL *result)
Status RotateTransform(REAL angle, MatrixOrder order=MatrixOrderPrepend)
Definition: gdipluspath.h:912
Status Transform(const Matrix *matrix)
Definition: gdipluspath.h:558
GpStatus WINGDIPAPI GdipWarpPath(GpPath *path, GpMatrix *matrix, GDIPCONST GpPointF *points, INT count, REAL x, REAL y, REAL width, REAL height, WarpMode warpmode, REAL flatness)
GLint dy
Definition: linetemp.h:97
GpStatus WINGDIPAPI GdipAddPathArcI(GpPath *path, INT x1, INT y1, INT x2, INT y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:234
GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath *path)
Definition: pathiterator.c:34
BOOL IsVisible(const PointF &point, const Graphics *g) const
Definition: gdipluspath.h:500
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipGetPathGradientTransform(GpPathGradient *grad, GpMatrix *matrix)
Definition: brush.c:1858
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad, GpWrapMode wrap)
Definition: brush.c:1832
Status AddString(const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const Rect &layoutRect, const StringFormat *format)
Definition: gdipluspath.h:298
GLintptr offset
Definition: glext.h:5920
Status SetGraphicsPath(const GraphicsPath *path)
Definition: gdipluspath.h:973
Status Flatten(const Matrix *matrix, REAL flatness)
Definition: gdipluspath.h:388
Status AddPath(const GraphicsPath *addingPath, BOOL connect)
Definition: gdipluspath.h:231
GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath *path, GpPoint *points, INT count)
Status GetLastPoint(PointF *lastPoint) const
Definition: gdipluspath.h:415
Status AddCurve(const PointF *points, INT count, REAL tension)
Definition: gdipluspath.h:141
GpStatus WINGDIPAPI GdipPathIterNextPathType(GpPathIterator *iter, INT *result, BYTE *type, INT *start, INT *end)
Definition: pathiterator.c:295
GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath *path, INT x, INT y, INT width, INT height)
Definition: graphicspath.c:615
GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath *path, GpPointF *lastPoint)
GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath *path, INT x, INT y, INT width, INT height)
GpStatus WINGDIPAPI GdipAddPathStringI(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST Rect *layoutRect, GDIPCONST GpStringFormat *format)
Status lastStatus
Definition: gdiplusbrush.h:65
INT NextMarker(GraphicsPath *path)
Definition: gdipluspath.h:689
voidpf uLong int origin
Definition: ioapi.h:142
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
Status AddClosedCurve(const PointF *points, INT count)
Definition: gdipluspath.h:129
Status AddEllipse(const Rect &rect)
Definition: gdipluspath.h:171
Status GetRectangle(RectF *rect) const
Definition: gdipluspath.h:860
BOOL GetGammaCorrection() const
Definition: gdipluspath.h:821
GLfloat angle
Definition: glext.h:10853
GpBrush *& getNat(const Brush *brush)
Definition: gdiplusbrush.h:97
Status GetLastStatus() const
Definition: gdipluspath.h:421
GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF *points, INT count, GpWrapMode wrap, GpPathGradient **grad)
Definition: brush.c:658
BOOL IsOutlineVisible(const PointF &point, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:485
GpStatus WINGDIPAPI GdipGetPathGradientPath(GpPathGradient *grad, GpPath *path)
Definition: brush.c:1161
GpStatus WINGDIPAPI GdipFlattenPath(GpPath *path, GpMatrix *matrix, REAL flatness)
Status SetFocusScales(REAL xScale, REAL yScale)
Definition: gdipluspath.h:961
Status AddArc(REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:69
Status Outline(const Matrix *matrix, REAL flatness)
Definition: gdipluspath.h:521
Status AddLine(const PointF &pt1, const PointF &pt2)
Definition: gdipluspath.h:201
GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:870
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount(GpPathGradient *brush, INT *count)
Definition: brush.c:1643
Status AddBezier(const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
Definition: gdipluspath.h:75
int32_t INT
Definition: typedefs.h:58
GpStatus WINGDIPAPI GdipAddPathString(GpPath *path, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFontFamily *family, INT style, REAL emSize, GDIPCONST RectF *layoutRect, GDIPCONST GpStringFormat *format)
POINTL point
Definition: edittest.c:50
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipScalePathGradientTransform(GpPathGradient *grad, REAL sx, REAL sy, GpMatrixOrder order)
Definition: brush.c:1903
GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
friend GpBrush *& getNat(const Brush *brush)
Definition: gdiplusbrush.h:97
INT NextMarker(INT *startIndex, INT *endIndex)
Definition: gdipluspath.h:698
GraphicsPathIterator(GraphicsPath *path)
Definition: gdipluspath.h:629
FillMode
Definition: gdiplusenums.h:53
Status GetLastStatus() const
Definition: gdipluspath.h:667
GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath *path)
FillMode GetFillMode()
Definition: gdipluspath.h:407
INT Enumerate(PointF *points, BYTE *types, INT count)
Definition: gdipluspath.h:651
GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint *points, INT count, GpWrapMode wrap, GpPathGradient **grad)
Definition: brush.c:691
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath *path, BYTE *types, INT count)
GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:195
GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF *points, GDIPCONST BYTE *types, INT count, GpFillMode fill, GpPath **path)
Status AddString(const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const RectF &layoutRect, const StringFormat *format)
Definition: gdipluspath.h:345
Status SetCenterColor(const Color &color)
Definition: gdipluspath.h:943
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad, ARGB argb)
Definition: brush.c:1656
PathGradientBrush(const Point *points, INT count, WrapMode wrapMode=WrapModeClamp)
Definition: gdipluspath.h:754
#define FALSE
Definition: types.h:117
Status AddPie(const RectF &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:256
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint color
Definition: glext.h:6243
GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator *iterator, INT *result, GpPath *path)
Definition: pathiterator.c:173
GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
Definition: pathiterator.c:69
Status GetBlend(REAL *blendFactors, REAL *blendPositions, INT count) const
Definition: gdipluspath.h:784
Status AddLines(const Point *points, INT count)
Definition: gdipluspath.h:219
Status GetSurroundColors(Color *colors, INT *count) const
Definition: gdipluspath.h:880
INT NextSubpath(GraphicsPath *path, BOOL *isClosed)
Definition: gdipluspath.h:714
Status SetMarker()
Definition: gdipluspath.h:546
GpStatus WINGDIPAPI GdipAddPathPieI(GpPath *path, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphicspath.c:835
Status SetCenterPoint(const PointF &point)
Definition: gdipluspath.h:955
INT GetSurroundColorCount() const
Definition: gdipluspath.h:872
GraphicsPath(const PointF *points, const BYTE *types, INT count, FillMode fillMode=FillModeAlternate)
Definition: gdipluspath.h:39
Status StartFigure()
Definition: gdipluspath.h:552
Status AddRectangle(const Rect &rect)
Definition: gdipluspath.h:274
smooth NULL
Definition: ftsmooth.c:416
Status AddLine(const Point &pt1, const Point &pt2)
Definition: gdipluspath.h:195
GraphicsPath(const Point *points, const BYTE *types, INT count, FillMode fillMode)
Definition: gdipluspath.h:29
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *grad, BOOL gamma)
Definition: brush.c:1712
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:623
REAL Height
Definition: gdiplustypes.h:664
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad, GpPointF *point)
Definition: brush.c:1086
BOOL IsOutlineVisible(const Point &point, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:459
INT GetCount() const
Definition: gdipluspath.h:659
INT GetBlendCount() const
Definition: gdipluspath.h:776
GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator *iterator, INT *resultCount, INT *startIndex, INT *endIndex)
Definition: pathiterator.c:145
GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient *brush, GpRect *rect)
Definition: brush.c:1200
MatrixOrder
Definition: gdiplusenums.h:186
Status AddLines(const PointF *points, INT count)
Definition: gdipluspath.h:225
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *path, GpPointF *points, INT count)
GpBrush * nativeBrush
Definition: gdiplusbrush.h:64
Status AddRectangle(const RectF &rect)
Definition: gdipluspath.h:280
Status AddPie(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:238
GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator *iterator, INT *resultCount, GpPointF *points, BYTE *types, INT startIndex, INT endIndex)
Definition: pathiterator.c:83
GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y2)
Definition: graphicspath.c:738
friend GpPath *& getNat(const GraphicsPath *path)
Definition: gdipluspath.h:620
GLboolean GLboolean g
Definition: glext.h:6204
BOOL IsOutlineVisible(INT x, INT y, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:475
Status SetStatus(Status status) const
Definition: gdiplusbrush.h:76
GLfloat f
Definition: glext.h:7540
GraphicsPath(FillMode fillMode=FillModeAlternate)
Definition: gdipluspath.h:34
Status GetRectangle(Rect *rect) const
Definition: gdipluspath.h:866
Status GetPathPoints(Point *points, INT count) const
Definition: gdipluspath.h:433
GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:432
GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator *iterator, INT *resultCount, INT *startIndex, INT *endIndex, BOOL *isClosed)
Definition: pathiterator.c:199
GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform(GpPathGradient *grad, GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
Definition: brush.c:1871
GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath *path, GDIPCONST GpPoint *points, INT count, INT offset, INT nseg, REAL tension)
Definition: graphicspath.c:572
GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST REAL *blend, GDIPCONST REAL *pos, INT count)
Definition: brush.c:1514
INT CopyData(PointF *points, BYTE *types, INT startIndex, INT endIndex)
Definition: gdipluspath.h:643
Definition: cmds.c:130
__wchar_t WCHAR
Definition: xmlstorage.h:180
GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath *path, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphicspath.c:533
Status GetPathData(PathData *pathData)
Definition: gdipluspath.h:427
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
REAL X
Definition: gdiplustypes.h:661
GraphicsPath(GpPath *path)
Definition: gdipluspath.h:594
GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
BOOL HasCurve() const
Definition: gdipluspath.h:681
GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath *path, GDIPCONST GpPointF *points, INT count)
Definition: graphicspath.c:346
GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:319
Status SetStatus(Status status) const
Definition: gdipluspath.h:741
Status GetPathTypes(BYTE *types, INT count) const
Definition: gdipluspath.h:445
Status AddArc(INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:63
Status AddCurve(const Point *points, INT count, REAL tension)
Definition: gdipluspath.h:159
REAL Y
Definition: gdiplustypes.h:649
Status CloseFigure()
Definition: gdipluspath.h:382
GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath *path, INT x, INT y, GpGraphics *graphics, BOOL *result)
GpStatus WINGDIPAPI GdipClosePathFigure(GpPath *path)
INT GetPointCount() const
Definition: gdipluspath.h:451
Status Reverse()
Definition: gdipluspath.h:534
GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, REAL width, REAL height)
GpStatus WINGDIPAPI GdipClosePathFigures(GpPath *path)
GpStatus WINGDIPAPI GdipAddPathPath(GpPath *path, GDIPCONST GpPath *addingPath, BOOL connect)
Definition: graphicspath.c:745
Status AddPolygon(const Point *points, INT count)
Definition: gdipluspath.h:262
GpStatus WINGDIPAPI GdipTranslatePathGradientTransform(GpPathGradient *grad, REAL dx, REAL dy, GpMatrixOrder order)
Definition: brush.c:1914
Status AddString(const WCHAR *string, INT length, const FontFamily *family, INT style, REAL emSize, const PointF &origin, const StringFormat *format)
Definition: gdipluspath.h:313
Status AddBeziers(const Point *points, INT count)
Definition: gdipluspath.h:99
GLsizei const GLfloat * points
Definition: glext.h:8112
GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:654
INT GetInterpolationColorCount() const
Definition: gdipluspath.h:838
Status AddPie(REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:250
PathGradientBrush(const PointF *points, INT count, WrapMode wrapMode=WrapModeClamp)
Definition: gdipluspath.h:761
Status SetGammaCorrection(BOOL useGammaCorrection)
Definition: gdipluspath.h:967
GpStatus WINGDIPAPI GdipWindingModeOutline(GpPath *path, GpMatrix *matrix, REAL flatness)
Status Widen(const Pen *pen, const Matrix *matrix, REAL flatness)
Definition: gdipluspath.h:581
Status ClearMarkers()
Definition: gdipluspath.h:360
Status
Definition: gdiplustypes.h:24
GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *path, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphicspath.c:480
Status GetTransform(Matrix *matrix) const
Definition: gdipluspath.h:886
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
Status AddClosedCurve(const Point *points, INT count, REAL tension)
Definition: gdipluspath.h:117
Status AddEllipse(INT x, INT y, INT width, INT height)
Definition: gdipluspath.h:183
GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:354
Status AddCurve(const Point *points, INT count)
Definition: gdipluspath.h:135
Status AddLine(REAL x1, REAL y1, REAL x2, REAL y2)
Definition: gdipluspath.h:207
GpStatus WINGDIPAPI GdipCreatePath(GpFillMode fill, GpPath **path)
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad, REAL *x, REAL *y)
Definition: brush.c:1134
Status AddArc(const Rect &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:51
REAL X
Definition: gdiplustypes.h:648
GpPathIterator * nativeIterator
Definition: gdipluspath.h:737
GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath *path, GpPathGradient **grad)
Definition: brush.c:727
Status AddClosedCurve(const Point *points, INT count)
Definition: gdipluspath.h:111
Status SetSurroundColors(const Color *colors, INT *count)
Definition: gdipluspath.h:987
Status SetWrapMode(WrapMode wrapMode)
Definition: gdipluspath.h:999
Status SetBlendTriangularShape(REAL focus, REAL scale=1.0f)
Definition: gdipluspath.h:937
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
Status GetCenterColor(Color *color) const
Definition: gdipluspath.h:791
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *grad, REAL x, REAL y)
Definition: brush.c:1698
GpGraphics * nativeGraphics
GraphicsPath & operator=(const GraphicsPath &)
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
unsigned char BYTE
Definition: xxhash.c:193
Status ResetTransform()
Definition: gdipluspath.h:906
GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath *path, GDIPCONST GpRect *rects, INT count)
BOOL IsOutlineVisible(REAL x, REAL y, const Pen *pen, const Graphics *g) const
Definition: gdipluspath.h:465
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator *iterator, INT *resultCount, GpPointF *points, BYTE *types, INT count)
Definition: pathiterator.c:267
REAL Width
Definition: gdiplustypes.h:663
BOOL IsVisible(const Point &point, const Graphics *g) const
Definition: gdipluspath.h:515
Status MultiplyTransform(Matrix *matrix, MatrixOrder order=MatrixOrderPrepend)
Definition: gdipluspath.h:900
Status GetGraphicsPath(GraphicsPath *path) const
Definition: gdipluspath.h:829
Status SetTransform(const Matrix *matrix)
Definition: gdipluspath.h:993
Status SetFillMode(FillMode fillmode)
Definition: gdipluspath.h:540
GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint *points, GDIPCONST BYTE *types, INT count, GpFillMode fill, GpPath **path)
GpStatus WINGDIPAPI GdipRotatePathGradientTransform(GpPathGradient *grad, REAL angle, GpMatrixOrder order)
Definition: brush.c:1892
Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order=MatrixOrderPrepend)
Definition: gdipluspath.h:918
BOOL IsVisible(INT x, INT y, const Graphics *g) const
Definition: gdipluspath.h:506
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphicspath.c:704
Status AddClosedCurve(const PointF *points, INT count, REAL tension)
Definition: gdipluspath.h:123
GpStatus WINGDIPAPI GdipResetPath(GpPath *path)
GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath *path, REAL x, REAL y, GpGraphics *graphics, BOOL *result)
GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator *iterator, BOOL *hasCurve)
Definition: pathiterator.c:107
Status GetCenterPoint(Point *point) const
Definition: gdipluspath.h:803
Status AddEllipse(REAL x, REAL y, REAL width, REAL height)
Definition: gdipluspath.h:189
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint dx
Definition: linetemp.h:97
INT NextSubpath(INT *startIndex, INT *endIndex, BOOL *isClosed)
Definition: gdipluspath.h:723
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad, GpPoint *point)
Definition: brush.c:1100
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipSetPathMarker(GpPath *path)
Status GetBounds(RectF *bounds, const Matrix *matrix, const Pen *pen)
Definition: gdipluspath.h:401
Status GetCenterPoint(PointF *point) const
Definition: gdipluspath.h:809
Status SetBlendBellShape(REAL focus, REAL scale)
Definition: gdipluspath.h:931
Status AddRectangles(const Rect *rects, INT count)
Definition: gdipluspath.h:286
GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath *path, GDIPCONST GpPointF *points, INT count, INT offset, INT nseg, REAL tension)
Definition: graphicspath.c:561
Status AddCurve(const PointF *points, INT count)
Definition: gdipluspath.h:147
Status AddArc(const RectF &rect, REAL startAngle, REAL sweepAngle)
Definition: gdipluspath.h:57
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *grad, BOOL *gamma)
Definition: brush.c:1148
PathGradientBrush(const GraphicsPath *path)
Definition: gdipluspath.h:768
Status CloseAllFigures()
Definition: gdipluspath.h:376
GpStatus WINGDIPAPI GdipClonePath(GpPath *path, GpPath **clone)
Status GetLastStatus() const
Definition: gdiplusbrush.h:50
Status GetInterpolationColors(Color *presetColors, REAL *blendPositions, INT count) const
Definition: gdipluspath.h:846
GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient *brush, GpRectF *rect)
Definition: brush.c:1186
INT GetPointCount() const
Definition: gdipluspath.h:852
Status SetBlend(REAL *blendFactors, REAL *blendPositions, INT count)
Definition: gdipluspath.h:924
GpPathGradient * GetNativeGradient() const
Definition: gdipluspath.h:1012
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
GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath *path, GpFillMode *fillmode)
BOOL IsVisible(REAL x, REAL y, const Graphics *g) const
Definition: gdipluspath.h:491
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
Status SetCenterPoint(const Point &point)
Definition: gdipluspath.h:949
void SetNativePath(GpPath *path)
Definition: gdipluspath.h:607
Status SetStatus(Status status) const
Definition: gdipluspath.h:599
Status AddLine(INT x1, INT y1, INT x2, INT y2)
Definition: gdipluspath.h:213
Arabic default style
Definition: afstyles.h:93
REAL Y
Definition: gdiplustypes.h:662
GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend, REAL *positions, INT count)
Definition: brush.c:1055
GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath *path, GDIPCONST GpPoint *points, INT count)
Definition: graphicspath.c:470
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
Status Reset()
Definition: gdipluspath.h:528
Status Warp(const PointF *destPoints, INT count, const RectF &srcRect, const Matrix *matrix, WarpMode warpMode, REAL flatness)
Definition: gdipluspath.h:566
Definition: gdipluspen.h:22
GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator *iterator, INT *count)
Definition: pathiterator.c:255
Status TranslateTransform(REAL dx, REAL dy, MatrixOrder order=MatrixOrderPrepend)
Definition: gdipluspath.h:1005
Status GetFocusScales(REAL *xScale, REAL *yScale) const
Definition: gdipluspath.h:815
static SERVICE_STATUS status
Definition: service.c:31
GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width, REAL height)
Definition: graphicspath.c:583
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient *grad, GpPointF *point)
Definition: brush.c:1668
Status SetInterpolationColors(const Color *presetColors, REAL *blendPositions, INT count)
Definition: gdipluspath.h:981
Status AddBezier(INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Definition: gdipluspath.h:93
GpStatus WINGDIPAPI GdipSetPathGradientLinearBlend(GpPathGradient *brush, REAL focus, REAL scale)
Definition: brush.c:1548
Status AddEllipse(const RectF &rect)
Definition: gdipluspath.h:177
GpStatus WINGDIPAPI GdipSetPathGradientPath(GpPathGradient *grad, GDIPCONST GpPath *path)
Definition: brush.c:1725
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush, GpWrapMode *wrapmode)
Definition: brush.c:1260
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *grad, INT *count)
Definition: brush.c:1173
GpStatus WINGDIPAPI GdipReversePath(GpPath *path)
Status AddCurve(const Point *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Definition: gdipluspath.h:153
GLenum fillMode
Definition: glext.h:11728
Definition: ps.c:97
Status AddCurve(const PointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Definition: gdipluspath.h:165
DWORD ARGB
GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient *grad, GpPoint *point)
Definition: brush.c:1682