Nikolay Sivov : gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode.
Alexandre Julliard
julliard at winehq.org
Wed Oct 11 14:22:46 CDT 2017
Module: wine
Branch: master
Commit: 4b028bb09cb9563e111fedab0f4c3663dc278d0a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b028bb09cb9563e111fedab0f4c3663dc278d0a
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Oct 10 21:24:41 2017 +0300
gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdiplus/metafile.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index e4e61ee..ecfbab2 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -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;
More information about the wine-cvs
mailing list