Commit 10637b4f authored by Chris Wulff's avatar Chris Wulff Committed by Alexandre Julliard

gdiplus: Implement hatch brush accessor functions.

parent a2a94a49
......@@ -717,6 +717,39 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
return Ok;
}
GpStatus WINGDIPAPI GdipGetHatchBackgroundColor(GpHatch *brush, ARGB *backcol)
{
TRACE("(%p, %p)\n", brush, backcol);
if(!brush || !backcol) return InvalidParameter;
*backcol = brush->backcol;
return Ok;
}
GpStatus WINGDIPAPI GdipGetHatchForegroundColor(GpHatch *brush, ARGB *forecol)
{
TRACE("(%p, %p)\n", brush, forecol);
if(!brush || !forecol) return InvalidParameter;
*forecol = brush->forecol;
return Ok;
}
GpStatus WINGDIPAPI GdipGetHatchStyle(GpHatch *brush, HatchStyle *hatchstyle)
{
TRACE("(%p, %p)\n", brush, hatchstyle);
if(!brush || !hatchstyle) return InvalidParameter;
*hatchstyle = brush->hatchstyle;
return Ok;
}
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
{
TRACE("(%p)\n", brush);
......
......@@ -275,9 +275,9 @@
@ stdcall GdipGetGenericFontFamilyMonospace(ptr)
@ stdcall GdipGetGenericFontFamilySansSerif(ptr)
@ stdcall GdipGetGenericFontFamilySerif(ptr)
@ stub GdipGetHatchBackgroundColor
@ stub GdipGetHatchForegroundColor
@ stub GdipGetHatchStyle
@ stdcall GdipGetHatchBackgroundColor(ptr ptr)
@ stdcall GdipGetHatchForegroundColor(ptr ptr)
@ stdcall GdipGetHatchStyle(ptr ptr)
@ stub GdipGetHemfFromMetafile
@ stub GdipGetImageAttributesAdjustedPalette
@ stdcall GdipGetImageBounds(ptr ptr ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment