gdiplus: Implemented GdipDrawRectangle.
This commit is contained in:
parent
1f8f557892
commit
172389e131
|
@ -194,7 +194,7 @@
|
||||||
@ stub GdipDrawPieI
|
@ stub GdipDrawPieI
|
||||||
@ stub GdipDrawPolygon
|
@ stub GdipDrawPolygon
|
||||||
@ stub GdipDrawPolygonI
|
@ stub GdipDrawPolygonI
|
||||||
@ stub GdipDrawRectangle
|
@ stdcall GdipDrawRectangle(ptr ptr long long long long)
|
||||||
@ stdcall GdipDrawRectangleI(ptr ptr long long long long)
|
@ stdcall GdipDrawRectangleI(ptr ptr long long long long)
|
||||||
@ stdcall GdipDrawRectangles(ptr ptr ptr long)
|
@ stdcall GdipDrawRectangles(ptr ptr ptr long)
|
||||||
@ stub GdipDrawRectanglesI
|
@ stub GdipDrawRectanglesI
|
||||||
|
|
|
@ -1308,8 +1308,8 @@ GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x,
|
GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics *graphics, GpPen *pen, REAL x,
|
||||||
INT y, INT width, INT height)
|
REAL y, REAL width, REAL height)
|
||||||
{
|
{
|
||||||
INT save_state;
|
INT save_state;
|
||||||
GpPointF ptf[4];
|
GpPointF ptf[4];
|
||||||
|
@ -1338,6 +1338,12 @@ GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x,
|
||||||
|
INT y, INT width, INT height)
|
||||||
|
{
|
||||||
|
return GdipDrawRectangle(graphics,pen,(REAL)x,(REAL)y,(REAL)width,(REAL)height);
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics *graphics, GpPen *pen,
|
GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics *graphics, GpPen *pen,
|
||||||
GDIPCONST GpRectF* rects, INT count)
|
GDIPCONST GpRectF* rects, INT count)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue