gdiplus: Implement hatch brush accessor functions.
This commit is contained in:
parent
a2a94a49bc
commit
10637b4f0d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue