I want to be able to create a greyscale image with no alpha from a png in the app bundle. This works, and I get an image created:
I would like to write a program that can mirror a portion of the main display into a new window.Ideally this new window could then be displayed on an external monitor.I have seen this uiltity for a fl
Using Mac OS X API, I\'m trying to save a PDF file with a Quartz filter applied, just like it is possible from the \"Save As\" dialog in the Preview application. So far I\'ve written the following cod
I need to add rounded corners to an image in a UITa开发者_运维技巧ble View cell to 3px. What\'s the best way to go about this? Apparently you can use the quartz framework?
Basically what I want to do is copy the already rendered content (a PDF drawn into the UIView\'s graphics context using CGContextDrawPDFPage()) onto a similar UIView, without having to re render the P
Been working on this problem of collision detection and there appears to be 3 main approaches I could take:
I\'m trying to pr开发者_开发问答oduce a clipping area in a UIView that\'s generated from path objects in its subviews. For example, I might have one subview containing a square and another containing
I need to implement \'graphing paper\' in an iPhone app. The user should be presented with a grid. They user can touch individual squares to turn them on, or if they\'re already on, o开发者_StackOverf
I can draw many things using this : NSString *imagePath = [[NSBundle mainBundle] pathForResource:@\"dummy2.png\" ofType:nil];
I\'m relatively new to Objective-C + Quartz and am running into what is probably a very simple issue. I have a custom UIView sub class which I am using to draw simple rectangles via Quartz. However I