I have a custom view that draws an CGImage using: - (void) drawImage { CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
I\'m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(开发者_开发知识库0, 0, 320.0, 480.0);
I\'m creating an application where I will be drawing two circles onto the screen, one large circle with a smaller circle inside. I want the user to be able to touch/drag on the screen inside or outsid
I\'ve got a collection of roughly 10 overlapping UIImageViews. Each one is rectang开发者_StackOverflowular but each is rotated and scaled separately. Are there any Core Graphics tricks for drawing a p
I have a UIImageView showing a image that is larger than it\'s frame. It\'s se开发者_开发问答t to rescale the image to fit it\'s frame. But, the image is scaled with a low quality filter.
I\'ve been plugging away at this for a few hours now, and haven\'t found a good answer. In Leopard, I can programmatically change the screen resolution using Quartz Display Services with CGConfigureDi
I\'m making a complex drawing using quartz based on passed in information.The only part I haven\'t been able to figure out is how do I clear the lines, rectangles, etc th开发者_运维问答at I\'ve alread
I\'d like to create a dial with s开发者_JS百科imilar behavior to some of the retro phone apps.These have a circular dialer that lets you spin it around with your finger.Any ideas how that is created o
I am trying to draw a map annotation in my app - very much like MapKit\'s MKAnnotationView, but without the mapkit.
I have several .png images (ETA: but the format could also be JPEG or something else) that I am going to display in UITableViewCells.Right now, in order to get the row heights, I load in the images, g