gdiplus: Implemented GdipGetPenLineJoin, GdipGetPenMiterLimit.
This commit is contained in:
parent
6eadf3da08
commit
cf55dba6a1
|
@ -361,8 +361,8 @@
|
|||
@ stdcall GdipGetPenDashStyle(ptr ptr)
|
||||
@ stdcall GdipGetPenEndCap(ptr ptr)
|
||||
@ stub GdipGetPenFillType
|
||||
@ stub GdipGetPenLineJoin
|
||||
@ stub GdipGetPenMiterLimit
|
||||
@ stdcall GdipGetPenLineJoin(ptr ptr)
|
||||
@ stdcall GdipGetPenMiterLimit(ptr ptr)
|
||||
@ stub GdipGetPenMode
|
||||
@ stub GdipGetPenStartCap
|
||||
@ stub GdipGetPenTransform
|
||||
|
|
|
@ -207,6 +207,26 @@ GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen *pen, GpLineCap *endCap)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen *pen, GpLineJoin *lineJoin)
|
||||
{
|
||||
if(!pen || !lineJoin)
|
||||
return InvalidParameter;
|
||||
|
||||
*lineJoin = pen->join;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen *pen, REAL *miterLimit)
|
||||
{
|
||||
if(!pen || !miterLimit)
|
||||
return InvalidParameter;
|
||||
|
||||
*miterLimit = pen->miterlimit;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen *pen, GpBrush *brush)
|
||||
{
|
||||
if(!pen || !brush)
|
||||
|
|
|
@ -50,6 +50,8 @@ GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
|
|||
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
|
||||
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
|
||||
GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
|
||||
GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
|
||||
GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
||||
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
|
||||
|
|
Loading…
Reference in New Issue