gdiplus: Added GdipGetPenColor stub.

This commit is contained in:
Evan Stade 2007-07-23 20:24:00 -07:00 committed by Alexandre Julliard
parent a72be4b167
commit e43967773f
3 changed files with 10 additions and 1 deletions

View File

@ -333,7 +333,7 @@
@ stdcall GdipGetPathWorldBounds(ptr ptr ptr ptr) @ stdcall GdipGetPathWorldBounds(ptr ptr ptr ptr)
@ stub GdipGetPathWorldBoundsI @ stub GdipGetPathWorldBoundsI
@ stub GdipGetPenBrushFill @ stub GdipGetPenBrushFill
@ stub GdipGetPenColor @ stdcall GdipGetPenColor(ptr ptr)
@ stub GdipGetPenCompoundArray @ stub GdipGetPenCompoundArray
@ stub GdipGetPenCompoundCount @ stub GdipGetPenCompoundCount
@ stub GdipGetPenCustomEndCap @ stub GdipGetPenCustomEndCap

View File

@ -134,6 +134,14 @@ GpStatus WINGDIPAPI GdipDeletePen(GpPen *pen)
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipGetPenColor(GpPen *pen, ARGB *argb)
{
if(!pen || !argb)
return InvalidParameter;
return NotImplemented;
}
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash) GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash)
{ {
if(!pen || !dash) if(!pen || !dash)

View File

@ -30,6 +30,7 @@ extern "C" {
GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**); GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**); GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
GpStatus WINGDIPAPI GdipDeletePen(GpPen*); GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*); GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*); GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*); GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);