CGPathAddPath
Appends a path to onto a mutable graphics path.
Declaration
extern void CGPathAddPath(CGMutablePathRef path1, const CGAffineTransform *m, CGPathRef path2);Parameters
- path1:
The mutable path to change.
- m:
A pointer to an affine transformation matrix, or
NULLif no transformation is needed. If specified, Core Graphics applies the transformation topath2before it is added topath1. - path2:
The path to add.
Discussion
If the source path is non-empty, then its path elements are appended in order onto the mutable path. After the call completes, the start point and current point of the path are those of the last subpath in path2.