[2/9] gdiplus: added GdipIsOutlineVisiblePathPointI stub

Evan Stade estade at gmail.com
Wed Aug 1 19:55:38 CDT 2007


Hi,

 dlls/gdiplus/gdiplus.spec   |    2 +-
 dlls/gdiplus/graphicspath.c |   14 ++++++++++++++
 include/gdiplusflat.h       |    2 ++
 3 files changed, 17 insertions(+), 1 deletions(-)

-- 
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index e1878e9..1b96a3b 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -422,7 +422,7 @@
 @ stub GdipIsMatrixIdentity
 @ stub GdipIsMatrixInvertible
 @ stub GdipIsOutlineVisiblePathPoint
-@ stub GdipIsOutlineVisiblePathPointI
+@ stdcall GdipIsOutlineVisiblePathPointI(ptr long long ptr ptr ptr)
 @ stub GdipIsStyleAvailable
 @ stub GdipIsVisibleClipEmpty
 @ stub GdipIsVisiblePathPoint
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index ea52408..82f5838 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -399,6 +399,20 @@ GpStatus WINGDIPAPI GdipGetPointCount(Gp
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath* path, INT x, INT y,
+    GpPen *pen, GpGraphics *graphics, BOOL *result)
+{
+    static int calls;
+
+    if(!path || !pen)
+        return InvalidParameter;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
 {
     if(!path)
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index e8b067d..90c7e45 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -107,6 +107,8 @@ GpStatus WINGDIPAPI GdipGetPathTypes(GpP
 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,
     GDIPCONST GpPen*);
 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
+GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
+    GpGraphics*,BOOL*);
 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
-- 
1.4.1


More information about the wine-patches mailing list