mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[PSDK][GDIPLUS] Further Pen work
svn path=/trunk/; revision=75578
This commit is contained in:
parent
4c0b46fd0a
commit
03d7bcb26c
1 changed files with 26 additions and 12 deletions
|
@ -47,7 +47,9 @@ public:
|
||||||
|
|
||||||
PenAlignment GetAlignment(VOID)
|
PenAlignment GetAlignment(VOID)
|
||||||
{
|
{
|
||||||
return PenAlignmentCenter;
|
PenAlignment penAlignment;
|
||||||
|
SetStatus(DllExports::GdipGetPenMode(pen, &penAlignment));
|
||||||
|
return penAlignment;
|
||||||
}
|
}
|
||||||
|
|
||||||
Brush *GetBrush(VOID)
|
Brush *GetBrush(VOID)
|
||||||
|
@ -88,7 +90,9 @@ public:
|
||||||
|
|
||||||
DashCap GetDashCap(VOID)
|
DashCap GetDashCap(VOID)
|
||||||
{
|
{
|
||||||
return DashCapFlat;
|
DashCap dashCap;
|
||||||
|
SetStatus(DllExports::GdipGetPenDashCap197819(pen, &dashCap));
|
||||||
|
return dashCap;
|
||||||
}
|
}
|
||||||
|
|
||||||
REAL GetDashOffset(VOID)
|
REAL GetDashOffset(VOID)
|
||||||
|
@ -112,22 +116,28 @@ public:
|
||||||
|
|
||||||
DashStyle GetDashStyle(VOID)
|
DashStyle GetDashStyle(VOID)
|
||||||
{
|
{
|
||||||
return DashStyleSolid;
|
DashStyle dashStyle;
|
||||||
|
SetStatus(DllExports::GdipGetPenDashStyle(pen, &dashStyle));
|
||||||
|
return dashStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
LineCap GetEndCap(VOID)
|
LineCap GetEndCap(VOID)
|
||||||
{
|
{
|
||||||
return LineCapFlat;
|
LineCap endCap;
|
||||||
|
SetStatus(DllExports::GdipGetPenEndCap(pen, &endCap));
|
||||||
|
return endCap;
|
||||||
}
|
}
|
||||||
|
|
||||||
Status GetLastStatus(VOID)
|
Status GetLastStatus(VOID)
|
||||||
{
|
{
|
||||||
return NotImplemented;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
LineJoin GetLineJoin(VOID)
|
LineJoin GetLineJoin(VOID)
|
||||||
{
|
{
|
||||||
return LineJoinMiter;
|
LineJoin lineJoin;
|
||||||
|
SetStatus(DllExports::GdipGetPenLineJoin(pen, &lineJoin));
|
||||||
|
return lineJoin;
|
||||||
}
|
}
|
||||||
|
|
||||||
REAL GetMiterLimit(VOID)
|
REAL GetMiterLimit(VOID)
|
||||||
|
@ -139,12 +149,16 @@ public:
|
||||||
|
|
||||||
PenType GetPenType(VOID)
|
PenType GetPenType(VOID)
|
||||||
{
|
{
|
||||||
return PenTypeSolidColor;
|
PenType type;
|
||||||
|
SetStatus(DllExports::GdipGetPenFillType(pen, &type));
|
||||||
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
LineCap GetStartCap(VOID)
|
LineCap GetStartCap(VOID)
|
||||||
{
|
{
|
||||||
return LineCapFlat;
|
LineCap startCap;
|
||||||
|
SetStatus(DllExports::GdipGetPenStartCap(pen, &startCap));
|
||||||
|
return startCap;
|
||||||
}
|
}
|
||||||
|
|
||||||
Status GetTransform(Matrix *matrix)
|
Status GetTransform(Matrix *matrix)
|
||||||
|
@ -231,17 +245,17 @@ public:
|
||||||
|
|
||||||
Status SetEndCap(LineCap endCap)
|
Status SetEndCap(LineCap endCap)
|
||||||
{
|
{
|
||||||
return NotImplemented;
|
return SetStatus(DllExports::GdipSetPenEndCap(pen, endCap));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
|
Status SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
|
||||||
{
|
{
|
||||||
return NotImplemented;
|
return SetStatus(DllExports::GdipSetPenLineCap197819(pen, startCap, endCap, dashCap));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status SetLineJoin(LineJoin lineJoin)
|
Status SetLineJoin(LineJoin lineJoin)
|
||||||
{
|
{
|
||||||
return NotImplemented;
|
return SetStatus(DllExports::GdipSetPenLineJoin(pen, lineJoin));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status SetMiterLimit(REAL miterLimit)
|
Status SetMiterLimit(REAL miterLimit)
|
||||||
|
@ -251,7 +265,7 @@ public:
|
||||||
|
|
||||||
Status SetStartCap(LineCap startCap)
|
Status SetStartCap(LineCap startCap)
|
||||||
{
|
{
|
||||||
return NotImplemented;
|
return SetStatus(DllExports::GdipSetPenStartCap(pen, startCap));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status SetTransform(const Matrix *matrix)
|
Status SetTransform(const Matrix *matrix)
|
||||||
|
|
Loading…
Reference in a new issue