gdiplus: Added solid-color path gradient brush implementation.
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 25b9b1b..c04fef6 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -88,6 +88,8 @@
GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
+GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
+ GpPathGradient**);
GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
diff --git a/include/gdiplusgpstubs.h b/include/gdiplusgpstubs.h
index fec691a..6ca0073 100644
--- a/include/gdiplusgpstubs.h
+++ b/include/gdiplusgpstubs.h
@@ -24,7 +24,7 @@
class GpGraphics {};
class GpGraphics {};
class GpBrush {};
-class GpSolidFill {};
+class GpSolidFill : public GpBrush {};
class GpPath {};
class GpMatrix {};
class GpPathIterator {};
@@ -33,6 +33,7 @@
class GpMetafile : public GpImage {};
class GpImageAttributes {};
class GpBitmap : public GpImage {};
+class GpPathGradient : public GpBrush {};
#else /* end of c++ declarations */
@@ -48,6 +49,7 @@
typedef struct GpMetafile GpMetafile;
typedef struct GpImageAttributes GpImageAttributes;
typedef struct GpBitmap GpBitmap;
+typedef struct GpPathGradient GpPathGradient;
#endif /* end of c declarations */