core-graphics
Blending a UITableViewCell with a background
I have a dilemma I can\'t seem to solve. I have a UITableView populated by custom UITableViewCells and I need the background of each cell to be blended (like Photoshop multiply) with the background im[详细]
2023-03-19 20:15 分类:问答iphone: Apply a texture to CGContextStrokePath
I search all the question and answer in StackOverflow but can not get the result I want. I would like to use a PNG file, to display as a stroke at the point user touch and move. This is the PNG file:[详细]
2023-03-19 14:02 分类:问答Problem in drawing square in sample app
Hi i am making a sample app in which i wanto create a square for which i used the following code - (void)viewDidLoad {[详细]
2023-03-19 09:13 分类:问答iphone: draw line with custom brush in Quartz2d
I am writing a drawing application on iPhone. I did the drawing with color and width, with CGContextMoveToPoint and CGContextAddLineToPoint function in Core Graphics. I wonder that can I make a custom[详细]
2023-03-19 01:18 分类:问答How to change pattern phase when using [UIColor colorWithPatternImage:]?
I\'m using [UIColor colorWithPatternImage:] to set the background image for my grouped UITableViewCell. I got free rounded-corner for my cells and everything looks great, until I try to give the cell[详细]
2023-03-18 22:52 分类:问答How do I make UILabel display outlined text?
All I want is a one pixel black border around my white UILabel text. I got as far as subclassing UILabel with the code below, which I clumsily cobbled together from a few tangentially related online[详细]
2023-03-18 21:22 分类:问答Multiple draw requests dynamically iPhone
I\'m attempting to make guider/tip boxes for the iPhone as part of a tutorial framework i\'m making. I\'ve followed and combined two codes i\'ve found here:[详细]
2023-03-18 13:44 分类:问答In iOS Development, using Core Graphics and/or Quartz 2D, how can I draw a circle filled with a gradient in such a manner that it looks like a sphere?
So far I have looked at using CGContextDrawLinearGradient() and CGContextDrawRadialGradient(), however, with the former I can\'t figure out how to make the gradient look like a sphere, and with the la[详细]
2023-03-18 08:26 分类:问答iOS: Getting started with the Camera and Custom Image Editing
My app will let users cut out things from photos. They\'ll be able to either select a photo already in their iPhone\'s photo library, or take a new one with the camera. From what I understand, UIImage[详细]
2023-03-18 06:45 分类:问答Does Core Animation makes use Quartz2D and OpenGL 3D or they are at same level in OSX architechture?
I have slight confusion in apple\'s documentation. I am not able to understand that in Graphics and Media Layer, Core Animation is above Quartz framework or in the same line?[详细]
2023-03-18 06:13 分类:问答