Is it possible to do that with quartz?
+2
A:
Simply use CGContextSetShadow(context, offset, blur)
prior to drawing your path.
CGSize offset;
float blur;
offset.width = 10;
offset.height = -10;
CGContextSetShadow(context, offset, blur);
CGContextRect(context, CGRectMake(20, 20, 100, 100);
Ralf Edmund
2010-04-25 15:41:47
That doesn't work. Even though I could manage to draw a simple line, it won't be blurry at all.
dontWatchMyProfile
2010-04-25 21:46:08