quartz-graphics
NSCache and custom UITableView drawing
I have a UITableView which uses a UIView subclass for its backgroundView and selectedBackgroundView properties. Depending on the position (top/bottom round corners), the selection state and some custo[详细]
2023-03-29 09:06 分类:问答Add a signature image to a pdf in iOS for the iPhone/iPad in particular
With the iOS support for Quartz 2D and its support for the PDF format; should adding a signature image to a pdf be a little easier.I have looked all over and saw people are using the PDFKit, UIView or[详细]
2023-03-29 05:46 分类:问答How to draw a subview onto UIView using Quartz
I\'m generating and displaying a tree structure on a UIView in an iPad app. let\'s call the view ROOTVIEW. All the tree nodes are UIViews too, which has label and UIImage as subviews. When a node is g[详细]
2023-03-29 03:11 分类:问答image scaling performance in Quartz/Cocoa vs Qt4
I wrote a test application in Qt4 which uses QImage.scaled() or QPixmap.scaled() 开发者_运维技巧methods that turned tobe very slow. Even a perspective transform is faster, while a scaling transform is[详细]
2023-03-27 14:58 分类:问答Low quality MKMapView Dynamically Generated Image
Before anyone points me at this post, I\'ve already tried it, and it doesn\'t work for me. I am trying to generate a black and white snapshot of an MKMapView. The quality, however, is terribly low on[详细]
2023-03-27 10:42 分类:问答CGLayer and Anti-aliased CGPaths
I am drawing several CGPaths in a Cocoa view in the drawRect method on an iPad.I started out drawing them straight to the UIGraphicsGetCurrentContext() context, but performance went south when my path[详细]
2023-03-26 12:13 分类:问答Quartz in Xcode 4
i would like to implement a quartz composition into my iOS app in xcode 4. Despite searching everywhere for an explanation on how to do this, i have come up empty. Thank you for your 开发者_Python百科[详细]
2023-03-25 22:52 分类:问答is quartz able to render pdfs without other libraries?
I found CGPDFDo开发者_运维知识库cumentRef that should be the way to render pdf\'s on OSX and iOS. Is it right? Without any other library or Adobe SDK?Quartz does not implement the complete ISO 32000 P[详细]
2023-03-25 16:28 分类:问答quartz performance for pdf rendering?
I have written a simple program in qt4 (linux) that cycles to render 1000 pages from a pdf, putting them on a graphicsview. with the file \"Microsoft_Press_ebook_Programming_Windows_Phone_7_PDF\" it t[详细]
2023-03-25 08:34 分类:问答Is there a way to draw a CGContextDrawRadialGradient as an oval instead of a perfect circle?
I need a radial gradient in the shape of an oval or ellipse and it seems like it C开发者_如何学GoGContextDrawRadialGradient can only draw a perfect circle. I\'ve been drawing to a square context then[详细]
2023-03-24 21:32 分类:问答