Top "Quartz-graphics" questions

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

Where can I find a list of Mac virtual key codes?

I'm using CGEventCreateKeyboardEvent and need to know what CGKeyCode values to use. Specifically, I am after the key code for …

macos keyboard quartz-graphics keycode cgkeycode
How to draw a rounded rectangle in Core Graphics / Quartz 2D?

I need to draw an outline for a rounded rectangle. I know I can make lines and arcs, but maybe …

iphone quartz-graphics
How do I create a CGRect from a CGPoint and CGSize?

I need to create a frame for a UIImageView from a varying collection of CGSize and CGPoint, both values will …

ios objective-c quartz-graphics cgpoint cgrectmake
How do I draw a line on the iPhone?

I am a beginner at iPhone programming, and would like to draw a line to the phone screen for the …

iphone cocoa-touch quartz-graphics
iPhone smooth sketch drawing algorithm

I am working on a sketching app on the iPhone. I got it working but not pretty as seen here …

ios iphone drawing quartz-graphics
iPhone - Draw transparent rectangle on UIView to reveal view beneath

I currently have two UIViews: one of a red background and the other blue. The blue view is a subview …

ios iphone uiview quartz-graphics
How to fill a path with gradient in drawRect:?

filling a path with a solid color is easy enough: CGPoint aPoint; for (id pointValue in points) { aPoint = [pointValue CGPointValue]; …

iphone core-graphics quartz-graphics drawrect
How to create a colored 1x1 UIImage on the iPhone dynamically?

I would like to create a 1x1 UIImage dynamically based on a UIColor. I suspect this can quickly be done …

ios uiimage core-graphics quartz-graphics
What's the difference between Quartz Core, Core Graphics and Quartz 2D?

I wonder if someone can distinguish precisely between these? For my understanding, Core Graphics is just a "Framework Package" which …

iphone core-graphics quartz-graphics quartz-2d
How to draw a triangle programmatically

I have a triangle solver, I want a way to use the values I get from the answer to draw …

iphone ios cocoa-touch quartz-graphics