quartz-2d
CALayer or UIView backgroundColor UIImage on iOS 4
Good day all; I am not sure what has changed to prevent this from working. On iOS 3 SDK, the following code worked fine in a CATiledLayer class:[详细]
2023-01-09 02:44 分类:问答DrawRect method slowing over time. Why?
I posted this elsewhere bus was unable to get help. So basically I\'m trying to make it so the user can \"draw\" an Image onto a view. The way I\'m trying to accomplish this is by every 9ish pixel of[详细]
2023-01-08 07:58 分类:问答How could Dan Briklin's Note Taker draw lines so smoothly?
I tried to write a similar hand drawing app. But the line drawing is always a little slow. If you\'d writte开发者_如何学运维n a similar app and got the line drawing optimized, please explain a bit.[详细]
2023-01-07 23:41 分类:问答iPhone Quartz2D render expanding circle
I\'m curious as to the \'proper\' method for achieving the following functionality using Quarts2D: I want to have a view, and to be able to add a circle at any coordinate. As soon as I add the circle[详细]
2023-01-07 09:13 分类:问答Quartz 2D Drawing String in Rect, how can I get an ellipsis?
[infoText drawInRect:CGRectMake(10, 10, 310, 40) withFont:infoTextFont lineBreakMode:UILineBreakModeWordWrap];[详细]
2023-01-07 06:39 分类:问答reseting CGContextRef after drawing pdf page using CGContextDrawPDFPage
I am trying to create thumb images for every pdf page in PDF document and place it in a UISCrollVIew. I have succeeded in this, but scrolling is not so smooth as I want when it\'s too fast.[详细]
2023-01-06 02:16 分类:问答How to draw a big background inside a UIScrollView?
I have a UIScrollView that contains a subview that I want to fill with a texture. - (void)drawRect:(CGRect)rect {[详细]
2023-01-06 00:57 分类:问答Quartz 2d / Core Graphics: What is the right way to draw some text?
I\'ve been at this for awhile, it seems that there\'s many ways to go about this in quartz 2d: 1) Draw text using core graphics methods...[详细]
2023-01-05 15:18 分类:问答How can I easily change the overall opacity of a bitmap context using Quartz2D?
I\'d like to create a fade out affect with one of my bitmap contexts that I use to draw a static image in one of my views.What\'s an easy way to adjust the overall opacity of the bitmap context on the[详细]
2023-01-04 21:56 分类:问答Draw over screen with Quartz
I\'m trying to work out what the best way to draw over the top of all other items on the screen on OS X. I don\'t want to impede the user\'s ability to interact with their applications, but want to \'[详细]
2023-01-04 15:51 分类:问答