Top "Quartz-graphics" questions

Core Graphics is Apple's framework for low-level drawing operations on Mac OS X and iOS.

(Scale) Zoom into a UIView at a point

Something I don't understand about transformations. I want to zoom in to say the top right corner of a UIView (…

iphone ios core-animation quartz-graphics cgaffinetransform
Curve text on existing circle

For an application I am building I have drawn 2 circles. One a bit bigger than the other. I want to …

iphone cocoa-touch math quartz-graphics quartz-2d
Creating mask with CGImageMaskCreate is all black (iphone)

I'm trying to create an image mask that from a composite of two existing images. First I start with creating …

iphone objective-c cocoa-touch image-manipulation quartz-graphics
Is there a way to make drawRect work right NOW?

The original question............................................... If you are an advanced user of drawRect, you will know that of course drawRect will not …

iphone ios cocoa quartz-graphics runloop
Get PDF hyperlinks on iOS with Quartz

I've spent all day trying to get hyperlinks metadata from PDFs in my iPad application. The CGPDF* APIs are a …

iphone ipad pdf quartz-graphics
iOS: How do you measure the width and height of a string using Quartz?

Before I ask my questions, this is from Apple's documentation re: how to determine the width of a string using …

ios objective-c quartz-graphics core-text
NSAttributedString background color and rounded corners

I have a question regarding rounded corners and text background color for a custom UIView. Basically, I need to achieve …

ios objective-c uiview quartz-graphics nsattributedstring
Applying a Gradient to CAShapeLayer

Does anyone have any experience in applying a Gradient to a CAShapeLayer? CAShapeLayer is a fantastic layer class, but it …

iphone core-graphics quartz-graphics gradient cashapelayer
Can't add a corner radius and a shadow

I'm trying to draw a shadow and a corner radius on an image. I can add them separately, but I've …

iphone objective-c core-animation core-graphics quartz-graphics
How to convert ASCII character to CGKeyCode?

I need a function that, given a character, returns the CGKeyCode associated with the position of that character on the …

c macos quartz-graphics keypress keycode