forked from Mirrors/wine-wine
gdiplus: Implement hatch brush accessor functions.
parent
a2a94a49bc
commit
10637b4f0d
|
@ -717,6 +717,39 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
|
||||||
return Ok;
|
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)
|
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
|
||||||
{
|
{
|
||||||
TRACE("(%p)\n", brush);
|
TRACE("(%p)\n", brush);
|
||||||
|
|
|
@ -275,9 +275,9 @@
|
||||||
@ stdcall GdipGetGenericFontFamilyMonospace(ptr)
|
@ stdcall GdipGetGenericFontFamilyMonospace(ptr)
|
||||||
@ stdcall GdipGetGenericFontFamilySansSerif(ptr)
|
@ stdcall GdipGetGenericFontFamilySansSerif(ptr)
|
||||||
@ stdcall GdipGetGenericFontFamilySerif(ptr)
|
@ stdcall GdipGetGenericFontFamilySerif(ptr)
|
||||||
@ stub GdipGetHatchBackgroundColor
|
@ stdcall GdipGetHatchBackgroundColor(ptr ptr)
|
||||||
@ stub GdipGetHatchForegroundColor
|
@ stdcall GdipGetHatchForegroundColor(ptr ptr)
|
||||||
@ stub GdipGetHatchStyle
|
@ stdcall GdipGetHatchStyle(ptr ptr)
|
||||||
@ stub GdipGetHemfFromMetafile
|
@ stub GdipGetHemfFromMetafile
|
||||||
@ stub GdipGetImageAttributesAdjustedPalette
|
@ stub GdipGetImageAttributesAdjustedPalette
|
||||||
@ stdcall GdipGetImageBounds(ptr ptr ptr)
|
@ stdcall GdipGetImageBounds(ptr ptr ptr)
|
||||||
|
|
Loading…
Reference in New Issue