Ignore:
Timestamp:
Jul 7, 2009, 8:11:17 PM (16 years ago)
Author:
vladest
Message:

Fix text output in Flash9/10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/region.cpp

    r10594 r21331  
    646646            if(hrgnOldClip) GpiDestroyRegion(pHps->hps, hrgnOldClip);
    647647        }
    648         else 
     648        else
    649649        {// already NULL, so nothing to do.
    650650            GpiDestroyRegion(pHps->hps, hrgnNewClip);
     
    818818   {
    819819        //Intersect the Windows clip region with the current visible region
    820         lComplexity = GdiCombineVisRgnClipRgn(pHps, NULLHANDLE, RGN_AND_W);
    821 
    822         return NULLREGION_W;
     820       lComplexity = GdiCombineVisRgnClipRgn(pHps, NULLHANDLE, RGN_AND_W);
     821
     822       /* set clip region to NULL (according to MSDN) */
     823       if(lMode == CRGN_COPY)
     824           GpiSetClipRegion(pHps->hps, NULL, NULL);
     825
     826       return NULLREGION_W;
    823827   }
    824828
     
    20672071
    20682072    hrgn = PathToRegion(hdc);
    2069     if(hrgn) 
     2073    if(hrgn)
    20702074    {
    20712075        ret = ExtSelectClipRgn(hdc, hrgn, iMode) != ERROR_W;
Note: See TracChangeset for help on using the changeset viewer.