Nikolay Sivov : gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode.
Module: wine Branch: master Commit: 4b028bb09cb9563e111fedab0f4c3663dc278d0a URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b028bb09cb9563e111fedab0f... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Tue Oct 10 21:24:41 2017 +0300 gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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;
participants (1)
-
Alexandre Julliard