Commit f2483748 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

gdiplus: Support GdipSetCompositingQuality in metafiles.

parent 1cecd479
......@@ -5837,6 +5837,19 @@ GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics *graphics,
if(graphics->busy)
return ObjectBusy;
if(graphics->compqual == quality)
return Ok;
if(graphics->image && graphics->image->type == ImageTypeMetafile)
{
GpStatus stat;
stat = METAFILE_AddSimpleProperty((GpMetafile*)graphics->image,
EmfPlusRecordTypeSetCompositingQuality, quality);
if(stat != Ok)
return stat;
}
graphics->compqual = quality;
return Ok;
......
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