gdiplus: Added GdipGetPathWorldBounds.
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 95dafde..4e5e95f 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -57,6 +57,8 @@
GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
+GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,
+ GDIPCONST GpPen*);
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
diff --git a/include/gdiplusgpstubs.h b/include/gdiplusgpstubs.h
index 39bca1f..5c02268 100644
--- a/include/gdiplusgpstubs.h
+++ b/include/gdiplusgpstubs.h
@@ -46,5 +46,6 @@
typedef FillMode GpFillMode;
typedef PathData GpPathData;
typedef LineCap GpLineCap;
+typedef RectF GpRectF;
#endif
diff --git a/include/gdiplustypes.h b/include/gdiplustypes.h
index 5810412..9404376 100644
--- a/include/gdiplustypes.h
+++ b/include/gdiplustypes.h
@@ -122,6 +122,16 @@
BYTE* Types;
};
+/* FIXME: missing the methods. */
+class RectF
+{
+public:
+ REAL X;
+ REAL Y;
+ REAL Width;
+ REAL Height;
+};
+
#else /* end of c++ typedefs */
typedef struct PointF
@@ -137,6 +147,14 @@
BYTE* Types;
} PathData;
+typedef struct RectF
+{
+ REAL X;
+ REAL Y;
+ REAL Width;
+ REAL Height;
+} RectF;
+
typedef enum Status Status;
#endif /* end of c typedefs */