gdiplus: Implemented GdipGetPenDashCount.
This commit is contained in:
parent
fc44cad4a6
commit
d12f5c5482
|
@ -356,7 +356,7 @@
|
|||
@ stub GdipGetPenCustomStartCap
|
||||
@ stdcall GdipGetPenDashArray(ptr ptr long)
|
||||
@ stdcall GdipGetPenDashCap197819(ptr ptr)
|
||||
@ stub GdipGetPenDashCount
|
||||
@ stdcall GdipGetPenDashCount(ptr ptr)
|
||||
@ stdcall GdipGetPenDashOffset(ptr ptr)
|
||||
@ stdcall GdipGetPenDashStyle(ptr ptr)
|
||||
@ stdcall GdipGetPenEndCap(ptr ptr)
|
||||
|
|
|
@ -187,6 +187,16 @@ GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen *pen, GpDashCap *dashCap)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen *pen, INT *count)
|
||||
{
|
||||
if(!pen || !count)
|
||||
return InvalidParameter;
|
||||
|
||||
*count = pen->numdashes;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen *pen, REAL *offset)
|
||||
{
|
||||
if(!pen || !offset)
|
||||
|
|
|
@ -34,6 +34,7 @@ GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
|
|||
GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**);
|
||||
GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
|
||||
GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
|
||||
GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*);
|
||||
GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
|
||||
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
|
||||
|
|
Loading…
Reference in New Issue