<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type="text/xsl" href="../style/class_view.xsl"?>
<Component>
===============================================
  Component - class to represent glyph component
===============================================
Components are defined by the glyph index which they reference,
Shift of components origin point and scale factor of a component
Scale is measured in relation to 1.0, so 100% scale is 1.0 and 60% - 0.6
This class is Multiple Master - compatible
<CONSTRUCTOR>
  Component()          - generic constructor, creates an empty Component
  Component(Component) - copy constructor
  Component(index)     - creates component referencing
                         glyph index with zero shift and 100% scale
  Component(index, <cl>Point</cl>(integer) delta)
                       - creates component referencing
                         glyph index with delta shift and 100% scale
  Component(index, <cl>Point</cl>(integer) delta, Point(float) scale)
                       - creates component referencing
                         glyph index with delta shift
                         and scale factor defined by scale
</CONSTRUCTOR>
	<ATTRIBUTES>
  parent (read-only)        - parent object, <cl>Glyph</cl>
  index (integer)           - referencing glyph index
  delta (<cl>Point</cl>(integer))    - shift value
  scale (<cl>Point</cl>(float))      - scale factor
  deltas [(<cl>Point</cl>(integer))] - list of shift values for each master
  scales [(<cl>Point</cl>(float))]   - list of scale values for each master
</ATTRIBUTES>
	<OPERATIONS>
  none
</OPERATIONS>
	<METHODS>
  Get() | (<cl>Font</cl> f) - creates a glyph from component
                     applying delta and scale transformations.
                     Font parameter is not needed when component has a parent
  Paste()          - appends component to a parent glyph as a set of outlines.
                     Component must have a parent
</METHODS>
</Component>
