mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
gdiplus: Added GdipGetPenDashStyle.
This commit is contained in:
parent
628c9a69c1
commit
024800cb9a
@ -342,7 +342,7 @@
|
||||
@ stub GdipGetPenDashCap197819
|
||||
@ stub GdipGetPenDashCount
|
||||
@ stub GdipGetPenDashOffset
|
||||
@ stub GdipGetPenDashStyle
|
||||
@ stdcall GdipGetPenDashStyle(ptr ptr)
|
||||
@ stub GdipGetPenEndCap
|
||||
@ stub GdipGetPenFillType
|
||||
@ stub GdipGetPenLineJoin
|
||||
|
@ -106,8 +106,8 @@ GpStatus WINGDIPAPI GdipCreatePen1(ARGB color, FLOAT width, GpUnit unit,
|
||||
gp_pen->endcap = LineCapFlat;
|
||||
gp_pen->join = LineJoinMiter;
|
||||
gp_pen->miterlimit = 10.0;
|
||||
gp_pen->dash = DashStyleSolid;
|
||||
|
||||
/* FIXME: Currently only solid lines supported. */
|
||||
lb.lbStyle = BS_SOLID;
|
||||
lb.lbColor = gp_pen->color;
|
||||
lb.lbHatch = 0;
|
||||
@ -135,6 +135,16 @@ GpStatus WINGDIPAPI GdipDeletePen(GpPen *pen)
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash)
|
||||
{
|
||||
if(!pen || !dash)
|
||||
return InvalidParameter;
|
||||
|
||||
*dash = pen->dash;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen *pen, GpDashStyle dash)
|
||||
{
|
||||
LOGBRUSH lb;
|
||||
|
@ -30,6 +30,7 @@ extern "C" {
|
||||
GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
|
||||
GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
|
||||
GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
|
||||
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
|
||||
GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
|
||||
GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
|
||||
GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
|
||||
|
Loading…
Reference in New Issue
Block a user