quartz-2d
UIImage+Resize.h - wrong affine transformation given for UIImageOrientationUp orientation
For the UIImage resize I used the following class. http://iphone.svn.wordpress.org/trunk/UIImage+Resize.m[详细]
2023-01-17 05:39 分类:问答How to obtain a CGImageRef from the content of an UIView?
I have an UIV开发者_开发问答iew where I was drawing some stuff inside -drawRect:. Now I need a CGImageRef from this graphics context or bitmap of the UIView. Is there an easy way to get that?Like this[详细]
2023-01-17 02:21 分类:问答How do I programmatically provide a glossy look to UIButtons?
I would like to add 3D or glossy look to s开发者_如何学Pythonome iPhone UIButtons, but do so without the use of PNGs or stretchable images.I have a lot of buttons of varying shapes and sizes with lots[详细]
2023-01-16 15:30 分类:问答Draggable objects in Cocoa
I am completely new to objective c and have an quite ambitious project I want to create. One of the things I\'ll need to do is have a drawing layer, where I can have a circle in the middle, and be ab[详细]
2023-01-16 09:10 分类:问答clipping a UIImage as per a polygon
How can I let the user of my iphone app to clip a UIImage by a dynamically generated CGPath. Basically I display a rectangle overlaid on a UIImageView and the user can move the 4 corners of the rectan[详细]
2023-01-15 12:37 分类:问答UIImage from UIView to UIViewController
I am creating a UIImage programmatically in my UIView\'s drawRect function. Is there a way that the UIViewController responsible for this UIView access that image (or开发者_StackOverflow社区 a copy of[详细]
2023-01-15 05:25 分类:问答Is this the best way to draw large images to a UIView?
The app I\'m working on requires me to draw images to a UIView. These images are large (some are 1024x768), and I\'d like to be sure my drawing code isn\'t sub-optimal. My drawRect method in my UIView[详细]
2023-01-14 13:18 分类:问答Setting a CGPDFObjectRef to value
Does anyone have a way to change the information contained in a CGPDFObjectRef? Basically since CGPDFObject can represent any of the subtypes (CGPDFInteger, ie.) you would think you could set an exist[详细]
2023-01-14 11:45 分类:问答Seeing malloc allocating large chunks of memory - trying to track down why (iPhone)
I\'m seeing my app being killed by iOS with an out of memory message, however, while tracing the progress of the app in the Allocations Instrument, I see lots of mallocs that seem to be occurring outs[详细]
2023-01-14 11:16 分类:问答Looking for the better way to make a kind of PDF reader w/ iOS 3+
I\'m trying to make an iPhone application which can read PDFs in full screen and follow links on PDFs, but I can\'t find the right way to do it.[详细]
2023-01-13 12:28 分类:问答