[15/19] gdiplus: added GdipSetCustomLineCapStrokeCaps stub

Evan Stade estade at gmail.com
Tue Aug 7 20:42:52 CDT 2007


Hi,

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

-- 
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/customlinecap.c b/dlls/gdiplus/customlinecap.c
index 417a740..e161e1b 100644
--- a/dlls/gdiplus/customlinecap.c
+++ b/dlls/gdiplus/customlinecap.c
@@ -115,3 +115,17 @@ GpStatus WINGDIPAPI GdipDeleteCustomLine
 
     return Ok;
 }
+
+GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap* custom,
+    GpLineCap start, GpLineCap end)
+{
+    static int calls;
+
+    if(!custom)
+        return InvalidParameter;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 882a26e..f5d0665 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -516,7 +516,7 @@
 @ stdcall GdipSetCompositingQuality(ptr long)
 @ stub GdipSetCustomLineCapBaseCap
 @ stub GdipSetCustomLineCapBaseInset
-@ stub GdipSetCustomLineCapStrokeCaps
+@ stdcall GdipSetCustomLineCapStrokeCaps(ptr long long)
 @ stub GdipSetCustomLineCapStrokeJoin
 @ stub GdipSetCustomLineCapWidthScale
 @ stub GdipSetEffectParameters
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 42df922..0156bd5 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -170,6 +170,8 @@ GpStatus WINGDIPAPI GdipCloneCustomLineC
 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
     GpCustomLineCap**);
 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
+GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
+    GpLineCap);
 
 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
-- 
1.4.1


More information about the wine-patches mailing list