Top "Quartz-graphics" questions

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

How to get color components of a CGColor correctly

I have a UILabel with black color; i am writing the following code to get black color's components. UIColor *aColor = […

iphone quartz-graphics cgcolor cgcolorspace
iPhone: why isn't drawRect getting called?

Okay, I guess I'm missing something important, and I can't seem to find the answer. I'm posting all the code, …

iphone quartz-graphics drawrect
drawRect circle and animate size/color

I am drawing a circle in the -drawRect: method of my UIView using the standard CGContextFillEllipseInRect() code. However, I would …

ios ios5 core-animation quartz-graphics
What are the alternatives to Core-Plot for drawing graphs in iPhone SDK

Are there any alternatives to Core-Plot for drawing graphs in iPhone SDK? I am having hard time integrating core-plot in …

iphone objective-c cocoa-touch quartz-graphics core-plot
Use iTerm2 as X11 terminal (for fonts, themes, etc)?

I have to use Quartz X11 window when I want to plot data that is on a remote server (using …

macos x11 quartz-graphics iterm2 x11-forwarding
Apply a transform to a UIImage when drawing

Trying to superimpose a smaller image which may be scaled or rotated onto a lager image: + (UIImage*)addToImage:(UIImage *)baseImage …

ios uiimage quartz-graphics cgaffinetransform
iOS Drawing Circles

I am trying to create the circles below in my iOS app. I know how to make the circles but …

ios quartz-graphics geometry drawrect
Performing a double click using CGEventCreateMouseEvent()

I'm using the following code to simulate a click of the mouse: void PostMouseEvent(CGMouseButton button, CGEventType type, const CGPoint …

objective-c macos quartz-graphics double-click cgeventtap
How to figure out the resolution (DPI) of images embedded in a PDF document?

I have a PDF document that also contains images. Now I want to know the resolution of these images. A …

objective-c cocoa pdf quartz-graphics poppler
CGPath with outline

I am trying to draw a CGPath that has a stroke for it's stroke. Basically I want a draw a …

ios objective-c core-graphics quartz-graphics cgpath