Top "Quartz-2d" questions

Quartz 2D is the primary two-dimensional graphics rendering API for Mac OS X, part of the Core Graphics framework.

Create PDF Annotations in iOS

I've been working on a pdf viewer with support for annotations and I need to be able to save new …

objective-c ios pdf annotations quartz-2d
How to use a UIImage as a mask over a color in Objective-C

I have a UIImage that is all black with an alpha channel so some parts are grayish and some parts …

objective-c core-graphics quartz-2d
Drawing triangle/arrow on a line with CGContext

I am using the framework of route-me for working with locations. In this code the path between two markers(points) …

iphone core-graphics quartz-2d cgcontext
iPhone: how to draw text in a window?

Strange situation - examples from apple works, but after i change them a bit, text is not displayed. This bit …

iphone quartz-2d
How do I get UIImage from a CGContextRef?

I have a CGContextRef and I did my drawing stuff with the bitmap context. Now, I would like to have …

iphone core-graphics quartz-2d
Create a table of contents from a pdf file

I'm using quartz to display pdf content, and I need to create a table of contents to navigate through the …

iphone objective-c cocoa-touch quartz-2d
iPhone: Blur UIImage

In my iPhone application I have a black-and-white UIImage. I need to blur that image (Gaussian blur would do). iPhone …

iphone image-manipulation quartz-2d
How to implement alpha gradient on a image?

I want to implement alpha gradient on an image. From 0.5 alfa on top of the image to 0.0 on bottom. Any …

iphone ios gradient alpha quartz-2d
‘invalid context 0x0’ error when using CGContext* functions

/* Adding the Path */ UserGraphBuff = UIGraphicsGetCurrentContext(); CGContextSetRGBStrokeColor(UserGraphBuff,5,10,0,1); CGContextSetLineWidth(UserGraphBuff, 2 ); CGContextBeginPath(UserGraphBuff); //line to last user point CGContextAddLineToPoint(UserGraphBuff, (*xVal)[sizeof …

cocoa-touch quartz-2d cgcontext
Core Graphics Performance on iOS

Summary I'm working on a fairly straightforward 2D tower defense game for iOS. So far, I've been using Core Graphics …

iphone ios performance core-graphics quartz-2d