-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm familiar with some of the basics of Quartz 2D drawing, like drawing basic shapes and gradients and so on, but I'm not sure how to draw a shape with a "beveled" look, like this:
Essentially we've got a shine on one corner, and maybe some shading in the opposite corner. I think -- I didn't make…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying to make a small application or demo thats a tab bar application. Each bar item loads in a new view. I've created a quartzView class that is called on by the controller:
- (void)viewDidLoad {
quartzView *drawingView = [[quartzView alloc] initWithFrame:CGRectMake(0,0,320,480)];
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to develop a simple freehand-drawing app for red-marking some of my images.
Below is a method that is called from within the drawRect.
I want to ask if there is a way to avoid add the path every time
the path is redrawn?
Also, the way the draw method is set up, the drawing gets a bit…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to display a PDF of music using the Quartz 2D calls:
CGPDFDocumentGetPage
and
CGPDFPageGetDrawingTransform
The problem is that some horizontal lines in the PDF get drawn thicker than others. The biggest problem is that I notice this in Preview on the Mac and on iPhone/iPad. Even when…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am making a simple iPhone drawing program as a personal side-project.
I capture touches event in a subclassed UIView and render the actual stuff to a seperate CGLayer. After each render, I call [self setNeedsLayout] and in the drawRect: method I draw the CGLayer to the screen context.
This all…
>>> More