views:

29

answers:

0

Hi,

i'm using CGContextRectToClip(aContext, aRect), the new rect for clipping is a intersection between the previous rect and aRect.

I used CGContextSaveGSState and CGContextRestoreState to restore the previous rect of clipping, but seems don't work.

Clipping rect is part of state, i hope yes.