Re: Properly scaling a vector image with CG

2009-05-24 Thread WT
Hi Gwynne, I'm not sure if this will help, but UIView instances have a 'contentMode' property which you can set to UIViewContentModeRedraw, which forces the instance to redraw itself (by auto-calling - setNeedsDisplay) when the view's'bounds' property changes. You can also set it through I

Properly scaling a vector image with CG

2009-05-24 Thread Gwynne Raskind
I have a UIView inside a UIScrollView. The UIView has a bunch of CALayers with custom drawing code which render vector images. A nice thing about vector images is that when you zoom in on them, they still look good. But using UIScrollView's zooming support, I still get nasty bitmap zooming