Top "Cgpath" questions

A graphics path is a mathematical description of a series of shapes or lines.

Where and how to __bridge

I need some advice on __bridge-ing in iOS. Hopefully the SSCCE1 below will explain the problem better than I can …

ios objective-c memory-management core-graphics cgpath
How to draw polygons with CGPath?

I have been reading thru the documentation however it is not immediatly clear to me how to draw a polygon …

iphone core-graphics polygon draw cgpath
How to animate CAShapeLayer path and fillColor

How to animate CAShapeLayer path and fillColor? How to animate strokeEnd to show the path being drawn? and how to …

iphone ios core-animation cgpath cashapelayer
How can i convert NSBezierPath to CGPath

How can i convert between NSBezierPath to CGPath. Thanks.

cocoa cgpath nsbezierpath
How to import/parse SVG into UIBezierpaths, NSBezierpaths, CGPaths?

I am trying to import paths from a vector drawing program into the ios environment. I would like to get …

iphone svg cgpath nsbezierpath
How to Animate a UIBezierPath

i would like to animate a UIBezierPath of a rect to a triangle one, not to animate a view on …

objective-c animation calayer cgpath uibezierpath
Draw Rectangle/ Circle and Triangle in Spritekit with Two Colors. . .

I can draw Rectangle using simple SKSpriteNode. But i can not draw other types of drawings in it like Triangle, …

core-graphics ios7 sprite cgpath sprite-kit
Frame and Bounds of CAShapeLayer

I am working on CAShapeLayer.And trying to draw non-linear path.I want to set frame to CAShapeLayer.So i …

ios cgpath cashapelayer
SpriteKit's SKPhysicsBody with polygon helper tool

I wonder if there is a tool that could be used for easy generation of complex physics bodies in SpriteKit. …

sprite game-physics cgpath sprite-kit
CABasicAnimation with CALayer path doesn't animate

I'm trying to animation the transition of a CALayer from normal corners to rounded corners. I only want to round …

core-animation calayer uibezierpath cgpath cabasicanimation