iphone Programming Glossary: smallmaskpath
UIBezierPath Subtract Path http://stackoverflow.com/questions/8859285/uibezierpath-subtract-path byRoundingCorners UIRectCornerTopLeft UIRectCornerTopRight cornerRadii CGSizeMake 18 18 UIBezierPath smallMaskPath UIBezierPath bezierPathWithRoundedRect smalLView.bounds byRoundingCorners UIRectCornerTopLeft UIRectCornerTopRight cornerRadii.. UIRectCornerTopRight cornerRadii CGSizeMake 18 18 UIBezierPath finalPath UIBezierPath pathBySubtractingPath smallMaskPath fromPath bigMaskPath iphone objective c uibezierpath share improve this question If you want to stroke the subtracted.. path the new clipping path is the intersection of the old clipping path and the added path. So if you just add smallMaskPath to the clipping path you will end up filling only the region inside smallMaskPath which is the opposite of what you want...
|