CoreGraphics - UBogun/Xojo-iosLib GitHub Wiki
This is a module holding constants and external methods for CoreGraphics API calls. It is used internally by iOSLib classes. The classes used by CoreGraphics follow the CoreFoundation scheme, that's why they have AppleCFObject as their super class.
##Classes
- AppleCGColor: Core Graphic's immutable color class, also known as QuartzColor.
- AppleCGColorSpace: Aka Quartz ColorSpace, the CoreGraphics class for defining a colorspace. Limited use on iOS.
- AppleCGContext: The 2D graphics virtual canvas, known in Xojo as iOSGraphics.
- AppleCGGradient: Quartz Gradients for smooth and fast color transitions.
- AppleCGPath: The base class for Quartz Vectorshapes.
- AppleCGMutablePath: The mutable subclass of AppleCGPath.
- AppleCGPathEllipse: Immutable Ellipse path subclass.
- AppleCGPathRect: Immutable Rectangle path subclass.
- AppleCGPathRoundedRect: Immutable Rounded Rectangle path subclass.
Structures
CGAffineTransform is a transformation matrix that is used for calculating optical transformations to the display of a UIView's/iOSLibView's contents. When it is assigned to the Transform property of a UIView/iOSLibView, the matrix is taken for calculations like scale, rotation or translation that is applied to the display before the content is drawn on screen.
The CGAffineTransform32Bit structure is an internal helper structure because this structure is different on 32 and 64 bit systems. It is only used internally by some of the CGPath classes and others. You will only need to handle the 64bit structure always.
For a definition of the external methods, refer to Apple developer docs. You will find them under their names beginning with "CGAffineTransform…"