[Bug 30923] SelectClipRgn gets wrong arguments in metafiles?
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jun 16 18:40:00 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=30923
Dan Kegel <dank at kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |source
URL|http://gigasoft.com/PE7-Pro |
|-Setup.exe |
Summary|Gigasoft ProEssentials |SelectClipRgn gets wrong
|graphing component clips |arguments in metafiles?
|improperly |
--- Comment #8 from Dan Kegel <dank at kegel.com> 2012-06-16 18:40:00 CDT ---
It turns out that the problem can be reproduced with just a few lines:
#if USE_METAFILE
hdcm = CreateMetaFile(NULL);
#else
hdcm = hdc;
#endif
hrgn = CreateRectRgn(3, 63, 487, 267);
SelectClipRgn(hdcm, hrgn);
Polyline(hdcm, pts, 2);
#if USE_METAFILE
hmf = CloseMetaFile(hdcm);
PlayMetaFile(hdc, hmf);
DeleteMetaFile(hmf);
#endif
If metafiles are used, the clip region parameters are lost, either
during metafile recording or playback, not sure which.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list