cgcontext
iOS: How to retrieve image dimensions X, Y from CGContextRef
As it says on the can;here is an example of why I开发者_C百科 need it: Let\'s say I create a bitmap context:[详细]
2023-03-06 22:03 分类:问答Erasing after drawing with CGContext
I\'m trying to do a simple drawing app for the iPad where you can draw on a picture, and I\'m using CGContext stuff to do it but the way I originally planned on handling erasing was to just dr开发者_S[详细]
2023-03-05 02:22 分类:问答iPad context rotates towards original orientation when is scaled with pinch gesture
I\'m trying to make a user friendly pdf reader. I\'ve assigned a pinch gesture to scale the PDF document. When I change orientation to Landscape , it displays fine. When I start pinching - PDF page ro[详细]
2023-02-26 22:55 分类:问答Drawing a color map with Core Graphics
I\'m trying to figure out how to draw a color map like this: http://www.ritsplasman.com/images/colormap.png[详细]
2023-02-25 18:45 分类:问答iPhone CGContextRef CGBitmapContextCreate unsupported parameter combination
In my application I need to resize and crop some images, stored locally and online. I am using Trevor Harmon\'s tutorial which implements UIImage+Resize.[详细]
2023-02-22 05:24 分类:问答UITableViewCells invalid context trying to draw
I am trying to draw a checkbox triangle in a UITableViewCell. In the Data Source protocol method -tableView:cellForRowAtIndexPath: I have added the following in the code bloc which a开发者_JAVA百科sks[详细]
2023-02-21 23:40 分类:问答How to convert UIView as UIImage?
I am taking screenshot image from currentview.but i want to set frame….don\'t want to convertfullview as image.I gave frame size..but it takes always[详细]
2023-02-20 06:09 分类:问答Efficient Drawing Storage Method?
I\'m developing a basic drawing app that has a few classes. One of these is a \"Line\" class that stores some info on a line the user can draw. When the user drags round the screen, a line is created[详细]
2023-02-18 21:37 分类:问答Draw Line using CGContext
I want to draw 开发者_高级运维line in table view cell so that I can place textfield & switch in single cell. I increased the height of cell. How can I draw line in cell?[详细]
2023-02-18 19:11 分类:问答UIView backed by CATiledLayer in UIScrollView doesn't scroll initially
I\'m adding a CATiledLayer backed UIView in UIScrollView. When the view is first loaded, I\'m trying to fit the UIView, by setting the zoomScale of UIScrollView - this fits the UIView and the layered[详细]
2023-02-18 01:18 分类:问答