ios - take cliped area into a image -
i have cgbitmapcontext
image drawn in , path want copy image of size clippingpath.boundingbox
(of course normalized 0,0,width,height).
now, how do this?
from understand clipping paths work : have path, clip image, inside path gets kept, else discarded.
i don't want that, want copy inside path , have context because want clip several different paths same context.
i don't expect full clear code answer (although great), pointer right direction.