enhmfdrv: Return proper values from GDI APIs

Phil Krylov phil at newstar.rinet.ru
Sun Oct 16 18:43:55 CDT 2005


Hi,

This patch fixes EMF rendering in some programs that depend on the fact
that SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() return proper values when called on a EMF device
context.


ChangeLog:

Fixed EMFDRV_SetTextAlign, EMFDRV_SetBkMode, EMFDRV_SetROP2,
EMFDRV_SetPolyFillMode, and EMFDRV_SetStretchBltMode to return proper
old values of modes that are being set. Added FIXMEs for other cases of
improper return values.

-- Ph.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enhmfdrv-retval.patch
Type: text/x-patch
Size: 4678 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051017/935aaec1/enhmfdrv-retval.patch


More information about the wine-patches mailing list