quartz-graphics
CGAffineTransform help, flipping a label
I basically have a pie chart where I have lines coming out of each segment of the pie chart.So in the case where the line comes out of the circle to the left, when I draw my text, it is reversed.\"100[详细]
2023-03-16 12:29 分类:问答Drawing path stroke and shadow (iOS)
I\'m using this code to create a rounded cornered image: CGContextBeginPath(context); CGRect rect = CGRectMake(0, 0, ima开发者_JAVA百科geObj.size.width, imageObj.size.height);[详细]
2023-03-16 12:05 分类:问答Window Manager API dont work on 64bit Apps. What to use instead?
Apples 64 bit documentation says, The Window Manager is 开发者_Go百科not available to 64-bit applications. For information about using windows in a Cocoa user interface, see Window Programming Guide.[详细]
2023-03-16 11:52 分类:问答how to draw continuous lines by QuartzCore in iOS
I have got a question about quartz core on iOS When I use Quartz to draw lines, the following happens and I can\'t find the reason:[详细]
2023-03-16 05:55 分类:问答What is CGContextSetBaseCTM(CGContextRef c, CGAffineTransform afftransform)?
I am interested in knowing that what this private API do CGContextSetBaseCTM(CGContextRef c, CGAffineTransform afftransform) ?[详细]
2023-03-15 23:30 分类:问答How to draw a line with a custom style using Core Graphics?
I\'m currently drawing a line using Core Graphics. It\'s really bare bones and simple. - (void)drawRect:(CGRect)rect {[详细]
2023-03-15 20:40 分类:问答Unable to drawTextInRect with UILabel
I want to draw a UILabel onto my cell. I don\'t want to add it as a subview for performance reasons. I am doing the following:[详细]
2023-03-15 05:50 分类:问答Drawing a bridge with Quartz 2D
I\'m trying to draw the following image: Using this objective-c code: CGContextSetFillColorWithColor(ctx, [[UIColor redColor] CGColor]);[详细]
2023-03-14 03:48 分类:问答Quartz code to create a button?
Cocoa/Carbon uses quartz underneath to create the UI. I am trying to get the quartz code generated when we create button in cocoa?[详细]
2023-03-13 20:33 分类:问答How to create a bitmap context for an alpha mask image?
I want to draw an alpha mask image in code. Right now I do: 1) Create a bitmap context using CGBitmapContextCreate with options CGColorSpaceCreateDeviceRGB and kCGImageAlphaPremultipliedFirst.[详细]
2023-03-13 20:00 分类:问答