gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-10-10 21:24:41 +03:00 committed by Alexandre Julliard
parent 6010b52a2e
commit 4b028bb09c
1 changed files with 4 additions and 0 deletions

View File

@ -1848,6 +1848,10 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
{
return GdipSetTextRenderingHint(real_metafile->playback_graphics, flags & 0xff);
}
case EmfPlusRecordTypeSetAntiAliasMode:
{
return GdipSetSmoothingMode(real_metafile->playback_graphics, (flags >> 1) & 0xff);
}
default:
FIXME("Not implemented for record type %x\n", recordType);
return NotImplemented;