quartz-graphics
iPhone - pushing and pulling a value from a dictionary to a CGlayer
I have a finger painting view that I am implementing undo/redo. All the drawing occurs on a CGLayer called lineLayer.[详细]
2023-03-09 21:29 分类:问答Draw on Screen From A thread
Need to be able to draw on the screen from a thread other than main.Cannot use UIkit since it\'s not thread safe.Would Quartz 2D work in a thread?If so, how do I get to the screen to place the graphic[详细]
2023-03-09 15:04 分类:问答Quartz 2d trying to redraw a triangle
I\'m developi开发者_开发百科ng an iPhone app. I have the following class: #import \"Triangulo.h\"[详细]
2023-03-09 02:15 分类:问答Corner radius for a particular corner
I want to set corner radius to each corner separately, but in layer of the view I didn开发者_C百科\'t find property or method for it, only for every corner. How can I do it?Take a look at this, I thin[详细]
2023-03-08 15:35 分类:问答Using Multiple CGAffineTransforms On Text Matrix
I am displaying text using Quartz. Here is my code: CGContextRef myContext = UIGraphicsGetCurrentContext();[详细]
2023-03-06 15:54 分类:问答UILayer custom 'compact' animation, looking for anchor help
I\'m trying to create an animation for a layer where the bottom of the layer flips up. Think of a view hinged on the top, then the botton a开发者_Python百科nimates out and up. Like the cover of a comp[详细]
2023-03-06 10:12 分类:问答Get size of repeated pattern from UIColor?
I can query if a UIColor is a pattern by inspecting the CGColor instance it wraps, the CGColorGetPattern() function returns the pattern if it exist, or开发者_如何学Python null if it is not a pattern c[详细]
2023-03-05 10:39 分类:问答Keyframe animation
I\'m trying to animate an image along a calculated path. I receive no error from the following code, but the image doesn\'t animate. Any help?[详细]
2023-03-04 01:44 分类:问答CALayer alpha mask not working
I\'m trying to create a simple example of drawing an image to a layer, and then setting that layer\'s alpha mask.I added the code below to my sample app\'s viewDidLoad.without setting the mask, i can[详细]
2023-03-03 03:41 分类:问答iPhone/Objective-C - Memory leaks in QuartzCore library
I am running the Instruments Tool (Leaks) and am receiving memory leaks in the QuartzCore library and don\'t know exactly where in my code this is occurring. Usually I\'m able to pin point the line wh[详细]
2023-03-02 18:34 分类:问答