http://bugs.winehq.org/show_bug.cgi?id=30923
Dan Kegel dank@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@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.