Core Graphics is Apple's framework for low-level drawing operations on Mac OS X and iOS.
I'm trying to create a UIView which shows a semitransparent circle with an opaque border inside its bounds. I want …
uiview core-graphics uiviewanimationI have a custom table view cell that is intended to draw a circle like the iPhone’s Mail.app …
iphone objective-c core-graphics cgcontextBlocks are fine but what about writing C arrays? Given this simplified situation: CGPoint points[10]; [myArray forEachElementWithBlock:^(int idx) { points[…
objective-c struct core-graphics objective-c-blocks arraysI am working on an iOS App that visualizes data as a line-graph. The graph is drawn as a CGPath …
objective-c ios core-graphics cgpathSay, I have two CGRects, CGRect A and CGRect B. My UIView's frame is the same as CGRect B, but …
ios core-graphics linear-algebraI have a UIView which is added as a subview to my view controller. I have drawn a bezier path …
ios objective-c core-graphics uibezierpathHow can I, given two different CGPoints, turn them into an CGRect? Example: CGPoint p1 = CGPointMake(0,10); CGPoint p2 = CGPointMake(10,0); How …
ios iphone core-graphics cgrect cgpointI have created a simple app with a segmented control at the top. When I click on one of two …
ios objective-c core-graphics cgaffinetransformI'm trying to build an eraser tool using Core Graphics, and I'm finding it incredibly difficult to make a performant …
ios objective-c core-graphics cgcontextThis is Apple's code (from Technical Q&A QA1702) for getting a UIImage from a video buffer. Unfortunately, the …
iphone core-graphics quartz-2d avfoundation