Top "Core-graphics" questions

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

Pie chart using Charts library with swift

I am integrating pie chart in my app using Charts library and getting issue with chart data my code is …

ios charts swift3 core-graphics pie-chart
How do I mirror a UIImage picture from UIImagePickerController

I'm trying to figure out if there is any way to mirror an image. For example, take a picture of …

iphone uiimage core-graphics uiimagepickercontroller
Draw Graph curves with UIBezierPath

I'm drawing a graph in my application. My problem is that I want to draw line joining vertex points as …

iphone objective-c ios core-graphics uibezierpath
Get lighter and darker color variations for a given UIColor

How to get different lighter and darker variations of a given UIColor in Swift?

ios swift colors core-graphics uicolor
Draw a simple circle uiimage

I try to make a 20x20 UIImage with a simple blue circle. I try with this function, but the result …

ios uiimage core-graphics geometry cgcontext
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 do I use CGAffineTransformMakeScale and Rotation at once?

((UIImageView*)[dsry objectAtIndex:0]).transform = CGAffineTransformMakeRotation(1.57*2); ((UIImageView*)[dsry objectAtIndex:0]).transform = CGAffineTransformMakeScale(.5,.5); Just one of these works at a time. How can …

iphone core-graphics cgaffinetransform
iPhone - Draw some text with CGContext : ok but... mirrored

When I draw some text using CGContext, it is drawn mirrored. I tried to apply some transformations, then it is …

iphone cocoa-touch text core-graphics transformation
Warning: Could not load any Objective-C class information using PaintCode's code

I am trying to draw svg maps using code generated through paintcode. The code is working fine when I am …

ios objective-c core-graphics uibezierpath paintcode