[PATCH 07/15] gdi32: Handle metafiles directly in LineTo implementation.

Jacek Caban jacek at codeweavers.com
Sat Jul 17 10:00:55 CDT 2021

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Metafiles are handled entirely in user space on Windows, so we can't use 
driver interface for them, which will ultimately live kernel/unix part. 
On Windows, they don't even have a proper DC associated with them, which 
is easily observed by very different behaviour from other DC types in a 
number of functions. We even have some todo_wine tests for that.

  dlls/gdi32/gdi_private.h       |  8 ++++++++
  dlls/gdi32/gdidc.c             |  2 ++
  dlls/gdi32/mfdrv/graphics.c    |  6 +++---
  dlls/gdi32/mfdrv/init.c        | 18 +++++++++++++++++-
  dlls/gdi32/mfdrv/metafiledrv.h |  4 +++-
  include/ntgdi.h                |  3 +++
  6 files changed, 36 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-gdi32-Handle-metafiles-directly-in-LineTo-implementati.txt
Type: text/x-patch
Size: 5266 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210717/4128ec7d/attachment.bin>

More information about the wine-devel mailing list