Previous Element  | Next Element  | 
Curve
			Draw a curve in the current line style from the current
			drawing position to the destination location. The curve
			drawn is a quadratic Bezier curve that uses a single control
			point to specify the weighting of the curve. A control point
			close to the line made by the current position and the
			destination position means a gentle curve in the direction
			of the control point. As the control point moves from the
			line the curve will get more exaggerated and acute. Most
			authoring packages use cubic Bezier curves which allows
			greater control over the curves but these can all be
			approximated by quadratic curves. As an alternative to
			specifying a control point the reflection of a control point
			used in a previous curve can be used to allow for continuous
			smooth curves.
		
Attributes
| isRelative | When set, coordinates are relative to last drawing position, otherwise coordinates are absolute. | |
| Values | yes no  | |
| Default Value | no | |
| x | X coordinate for the destination position. | |
| Type | Float | |
| Default Value | 0 | |
| y | Y coordinate for the destination position. | |
| Type | Float | |
| Default Value | 0 | |
| smooth | Use the reflection of the control point of the previous curve through the current drawing position. If previous drawing operation was not a curve then this will generate an error. When 'yes', attributes for control point are ignored. | |
| Values | yes no  | |
| Default Value | no | |
| cx | X coordinate for the control position. Not used if 'smooth' is set. | |
| Type | Float | |
| Default Value | 0 | |
| cy | Y coordinate for the control position. Not used if 'smooth' is set. | |
| Type | Float | |
| Default Value | 0 | |
Child Elements
None
Parent Elements
EdgesGlyph
ShapeTransform
Examples
User-Defined Font ExampleQuadratic Curve Example
Previous Element  | Next Element  |