Core Graphics is Apple's framework for low-level drawing operations on Mac OS X and iOS.
I know how to draw a simple line: CGContextSetRGBStrokeColor(context, 1.0, 1.0, 1.0, 1.0); CGContextMoveToPoint(context, x, y); CGContextAddLineToPoint(context, x2, y2); CGContextStrokePath(context); …
iphone core-graphics draw gradienthey, I want to be able to have a gradient fill on the text in a UILabel I know about …
iphone objective-c core-graphics uilabel gradientHow can I make a Core Graphics affine transform for rotation around a point x,y of angle a, using …
ios math core-graphics cgaffinetransformI have a series of user-customized images within an iOS app that are being animated in a simple, frame-by-frame flip …
ios objective-c swift core-graphics animated-giffilling a path with a solid color is easy enough: CGPoint aPoint; for (id pointValue in points) { aPoint = [pointValue CGPointValue]; …
iphone core-graphics quartz-graphics drawrectI would like to create a 1x1 UIImage dynamically based on a UIColor. I suspect this can quickly be done …
ios uiimage core-graphics quartz-graphicsI am attempting to draw a stroked circle by using a CAShapeLayer and setting a circular path on it. However, …
ios uikit core-graphics calayer cashapelayerI want to know how to make a dashed line in swift like this: - - - - - - …
ios iphone swift core-graphics lineI'm using the new ImageIO framework in iOS 4.1. I successfully retrieve the exif metadata using the following: CFDictionaryRef metadataDict = CMGetAttachment(…
iphone macos core-graphics exif javax.imageioOn my iPhone app I have a UIImage instance. I want to get a derived a UIImage that is the …
iphone cocoa-touch image core-graphics