[PATCH 12/15] gdi32: Handle EMFs directly in LineTo implementation.

Jacek Caban jacek at codeweavers.com
Sat Jul 17 10:04:15 CDT 2021


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
The consideration is similar to old-style metafiles: recording should be 
done in user space. However, EMFs have associated a special kind of DC, 
so they behave pretty much like regular DCs, except for the additional 
recording.

  dlls/gdi32/enhmfdrv/dc.c             | 13 +------------
  dlls/gdi32/enhmfdrv/enhmetafiledrv.h |  1 -
  dlls/gdi32/enhmfdrv/graphics.c       | 15 +++++++--------
  dlls/gdi32/enhmfdrv/init.c           |  3 ++-
  dlls/gdi32/gdi_private.h             | 12 ++++++++++--
  dlls/gdi32/gdidc.c                   | 16 ++++++++++++++++
  dlls/gdi32/objects.c                 |  2 +-
  include/ntgdi.h                      |  1 +
  8 files changed, 38 insertions(+), 25 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-gdi32-Handle-EMFs-directly-in-LineTo-implementation.txt
Type: text/x-patch
Size: 7650 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210717/958512c8/attachment.bin>


More information about the wine-devel mailing list