Evan Stade : gdiplus: Added GdipSetCustomLineCapStrokeCaps stub.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 8 08:59:50 CDT 2007


Module: wine
Branch: master
Commit: 369dc8caba29162330981f3eadb931c47164ee0c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=369dc8caba29162330981f3eadb931c47164ee0c

Author: Evan Stade <estade at gmail.com>
Date:   Tue Aug  7 18:42:52 2007 -0700

gdiplus: Added GdipSetCustomLineCapStrokeCaps stub.

---

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

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 GdipDeleteCustomLineCap(GpCustomLineCap *customCap)
 
     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 GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
 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,




More information about the wine-cvs mailing list