[Bug 7179] New: Enhanced metafile: record EMR_EXTSELECTCLIPRGN not handled

Wine Bugs wine-bugs at winehq.org
Mon Jan 15 13:18:18 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7179

           Summary: Enhanced metafile: record EMR_EXTSELECTCLIPRGN not
                    handled
           Product: Wine
           Version: 0.9.29.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-gdi-(printing)
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: rafal at algorytm.pl


gdi32 does not handle 
EMR_EXTSELECTCLIPRGN record.

In file: dlls/gdi32/enhmetafile.c
in function: PlayEnhMetaFileRecord
we have:

     case EMR_EXTSELECTCLIPRGN:
     {
#if 0
         const EMREXTSELECTCLIPRGN lpRgn = (const EMREXTSELECTCLIPRGN *)mr;
         HRGN hRgn = ExtCreateRegion(NULL, lpRgn->cbRgnData, (RGNDATA *)lpRgn-
>RgnData);
 
         ExtSelectClipRgn(hdc, hRgn, (INT)(lpRgn->iMode));
         /* ExtSelectClipRgn created a copy of the region */
         DeleteObject(hRgn);
#endif
        FIXME("ExtSelectClipRgn\n");
        break;

when I remove #if 0 and #endif, my C++Builder program with printing, works well.
(now, I have blank page when I try print something)

Is there some important reason why there is "#if 0" ?
or should I post appropriate patch which removes this lines ?

Thanks !

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list