Vincent Povirk : gdiplus: Add FIXME for EMF records we need to implement.
Module: wine Branch: master Commit: 2054c8fe6ffcab3ea22756a664eb00cadece1bac URL: http://source.winehq.org/git/wine.git/?a=commit;h=2054c8fe6ffcab3ea22756a664... Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Fri Oct 7 16:03:42 2016 -0500 gdiplus: Add FIXME for EMF records we need to implement. These records cause state tracking in gdi32, but the state tracking doesn't work correctly because we didn't pass a DC to EnumEnhMetaFile. Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/gdiplus/metafile.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c index f9ed14c..409a6c4 100644 --- a/dlls/gdiplus/metafile.c +++ b/dlls/gdiplus/metafile.c @@ -1131,6 +1131,26 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile, { ENHMETARECORD *record; + switch (recordType) + { + case EMR_SETMAPMODE: + case EMR_SAVEDC: + case EMR_RESTOREDC: + case EMR_SETWINDOWORGEX: + case EMR_SETWINDOWEXTEX: + case EMR_SETVIEWPORTORGEX: + case EMR_SETVIEWPORTEXTEX: + case EMR_EXTSELECTCLIPRGN: + case EMR_SETWORLDTRANSFORM: + case EMR_SCALEVIEWPORTEXTEX: + case EMR_SCALEWINDOWEXTEX: + case EMR_MODIFYWORLDTRANSFORM: + FIXME("not implemented for record type %x\n", recordType); + break; + default: + break; + } + record = heap_alloc_zero(dataSize + 8); if (record)
participants (1)
-
Alexandre Julliard