1723 lines
118 KiB
HTML
1723 lines
118 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module robofab.objects.objectsRF</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
<tr bgcolor="#7799ee">
|
|
<td valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="robofab.html"><font color="#ffffff">robofab</font></a>.<a href="robofab.objects.html"><font color="#ffffff">objects</font></a>.objectsRF</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/code/projects/robofab/Lib/robofab/objects/objectsRF.py">/code/projects/robofab/Lib/robofab/objects/objectsRF.py</a></font></td></tr></table>
|
|
<p><tt>UFO for GlifLib</tt></p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#aa55cc">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
|
|
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ee77aa">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseAnchor">robofab.objects.objectsBase.BaseAnchor</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RAnchor">RAnchor</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseBPoint">robofab.objects.objectsBase.BaseBPoint</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RBPoint">RBPoint</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseComponent">robofab.objects.objectsBase.BaseComponent</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RComponent">RComponent</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseContour">robofab.objects.objectsBase.BaseContour</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RContour">RContour</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseFont">robofab.objects.objectsBase.BaseFont</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RFont">RFont</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RGlyph">RGlyph</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RGroups">RGroups</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseInfo">robofab.objects.objectsBase.BaseInfo</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RInfo">RInfo</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseKerning">robofab.objects.objectsBase.BaseKerning</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RKerning">RKerning</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RLib">RLib</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BasePoint">robofab.objects.objectsBase.BasePoint</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RPoint">RPoint</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseSegment">robofab.objects.objectsBase.BaseSegment</a>(<a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsRF.html#RSegment">RSegment</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RAnchor">class <strong>RAnchor</strong></a>(<a href="robofab.objects.objectsBase.html#BaseAnchor">robofab.objects.objectsBase.BaseAnchor</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RAnchor">RAnchor</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseAnchor">robofab.objects.objectsBase.BaseAnchor</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RAnchor-__init__"><strong>__init__</strong></a>(self, name<font color="#909090">=None</font>, position<font color="#909090">=None</font>, mark<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>Move the anchor</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the anchor</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>position</strong></dt>
|
|
<dd><tt>position of the anchor</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_position">_get_position</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RAnchor-_set_position">_set_position</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseAnchor">robofab.objects.objectsBase.BaseAnchor</a>:<br>
|
|
<dl><dt><a name="RAnchor-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this anchor.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-draw"><strong>draw</strong></a>(self, pen)</dt><dd><tt>Draw the object onto a segment pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-drawPoints"><strong>drawPoints</strong></a>(self, pen)</dt><dd><tt>draw the object with a point pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-round"><strong>round</strong></a>(self)</dt><dd><tt>round the values in the anchor</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the anchor</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this anchor. Use a Transform matrix<br>
|
|
object from fontTools.misc.transform</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RAnchor-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RAnchor-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RAnchor-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RBPoint">class <strong>RBPoint</strong></a>(<a href="robofab.objects.objectsBase.html#BaseBPoint">robofab.objects.objectsBase.BaseBPoint</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RBPoint">RBPoint</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseBPoint">robofab.objects.objectsBase.BaseBPoint</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the bPoint on the contour</tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RBPoint-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseBPoint">robofab.objects.objectsBase.BaseBPoint</a>:<br>
|
|
<dl><dt><a name="RBPoint-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>move the bPoint</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-round"><strong>round</strong></a>(self)</dt><dd><tt>Round the coordinates to integers</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the bPoint</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-select"><strong>select</strong></a>(self, state<font color="#909090">=True</font>)</dt><dd><tt>Set the selection of this point.<br>
|
|
XXXX This method should be a lot more versatile, dealing with<br>
|
|
different kinds of selection, select the bcp's seperately etc.<br>
|
|
But that's for later when we need it more. For now it's just <br>
|
|
one flag for the entire thing.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this point. Use a Transform matrix<br>
|
|
object from fontTools.misc.transform</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseBPoint">robofab.objects.objectsBase.BaseBPoint</a>:<br>
|
|
<dl><dt><strong>anchor</strong></dt>
|
|
<dd><tt>the position of the anchor</tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = _get_anchor(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>set</em>"><strong><em>set</em></strong></a> = _set_anchor(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>bcpIn</strong></dt>
|
|
<dd><tt>the (x,y) for the incoming bcp</tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = _get_bcpIn(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>set</em>"><strong><em>set</em></strong></a> = _set_bcpIn(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>bcpOut</strong></dt>
|
|
<dd><tt>the (x,y) for the outgoing bcp</tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = _get_bcpOut(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>set</em>"><strong><em>set</em></strong></a> = _set_bcpOut(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>type</strong></dt>
|
|
<dd><tt>the type of bPoint, either 'corner' or 'curve'</tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = _get_type(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>set</em>"><strong><em>set</em></strong></a> = _set_type(self, pointType)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RBPoint-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this object. Pass an object for parenting if you want.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RBPoint-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RComponent">class <strong>RComponent</strong></a>(<a href="robofab.objects.objectsBase.html#BaseComponent">robofab.objects.objectsBase.BaseComponent</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RComponent">RComponent</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseComponent">robofab.objects.objectsBase.BaseComponent</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RComponent-__init__"><strong>__init__</strong></a>(self, baseGlyphName<font color="#909090">=None</font>, offset<font color="#909090">=(0, 0)</font>, scale<font color="#909090">=(1, 1)</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-decompose"><strong>decompose</strong></a>(self)</dt><dd><tt>Decompose the component</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>Move the component</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>baseGlyph</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RComponent-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RComponent-_get_baseGlyph">_get_baseGlyph</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RComponent-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RComponent-_set_baseGlyph">_set_baseGlyph</a>(self, glyphName)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the component</tt></dd>
|
|
<dd><dl><dt><a name="RComponent-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RComponent-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>offset</strong></dt>
|
|
<dd><tt>the offset of the component</tt></dd>
|
|
<dd><dl><dt><a name="RComponent-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RComponent-_get_offset">_get_offset</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RComponent-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RComponent-_set_offset">_set_offset</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>scale</strong></dt>
|
|
<dd><tt>the scale of the component</tt></dd>
|
|
<dd><dl><dt><a name="RComponent-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RComponent-_get_scale">_get_scale</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RComponent-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RComponent-_set_scale">_set_scale</a>(self, (x, y))</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseComponent">robofab.objects.objectsBase.BaseComponent</a>:<br>
|
|
<dl><dt><a name="RComponent-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this component.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-draw"><strong>draw</strong></a>(self, pen)</dt><dd><tt>Segment pen drawing method.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-drawPoints"><strong>drawPoints</strong></a>(self, pen)</dt><dd><tt>draw the object with a point pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-round"><strong>round</strong></a>(self)</dt><dd><tt>round the offset values</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseComponent">robofab.objects.objectsBase.BaseComponent</a>:<br>
|
|
<dl><dt><strong>box</strong></dt>
|
|
<dd><tt>the bounding box of the component: (xMin, yMin, xMax, yMax)</tt></dd>
|
|
<dd><dl><dt><a name="RComponent-<em>get</em>"><strong><em>get</em></strong></a> = _get_box(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RComponent-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RComponent-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RContour">class <strong>RContour</strong></a>(<a href="robofab.objects.objectsBase.html#BaseContour">robofab.objects.objectsBase.BaseContour</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RContour">RContour</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseContour">robofab.objects.objectsBase.BaseContour</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RContour-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__init__"><strong>__init__</strong></a>(self, object<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-appendSegment"><strong>appendSegment</strong></a>(self, segmentType, points, smooth<font color="#909090">=False</font>)</dt><dd><tt>append a segment to the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-insertSegment"><strong>insertSegment</strong></a>(self, index, segmentType, points, smooth<font color="#909090">=False</font>)</dt><dd><tt>insert a segment into the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-removeSegment"><strong>removeSegment</strong></a>(self, index)</dt><dd><tt>remove a segment from the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-reverseContour"><strong>reverseContour</strong></a>(self)</dt><dd><tt>reverse the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-setStartSegment"><strong>setStartSegment</strong></a>(self, segmentIndex)</dt><dd><tt>set the first segment on the contour</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>bPoints</strong></dt>
|
|
<dd><tt>view the contour as a list of bPoints</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RContour-_get_bPoints">_get_bPoints</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the contour</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RContour-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RContour-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RContour-_set_index">_set_index</a>(self, index)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>points</strong></dt>
|
|
<dd><tt>view the contour as a list of points</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RContour-_get_points">_get_points</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseContour">robofab.objects.objectsBase.BaseContour</a>:<br>
|
|
<dl><dt><a name="RContour-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-appendBPoint"><strong>appendBPoint</strong></a>(self, pointType, anchor, bcpIn<font color="#909090">=(0, 0)</font>, bcpOut<font color="#909090">=(0, 0)</font>)</dt><dd><tt>append a bPoint to the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-autoStartSegment"><strong>autoStartSegment</strong></a>(self)</dt><dd><tt>automatically set the lower left point of the contour as the first point.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-draw"><strong>draw</strong></a>(self, pen)</dt><dd><tt>draw the object with a fontTools pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-drawPoints"><strong>drawPoints</strong></a>(self, pen)</dt><dd><tt>draw the object with a point pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-insertBPoint"><strong>insertBPoint</strong></a>(self, index, pointType, anchor, bcpIn<font color="#909090">=(0, 0)</font>, bcpOut<font color="#909090">=(0, 0)</font>)</dt><dd><tt>insert a bPoint at index on the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>move the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-pointInside"><strong>pointInside</strong></a>(self, (x, y), evenOdd<font color="#909090">=0</font>)</dt><dd><tt>determine if the point is inside or ouside of the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-rotate"><strong>rotate</strong></a>(self, angle, offset<font color="#909090">=None</font>)</dt><dd><tt>rotate the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-round"><strong>round</strong></a>(self)</dt><dd><tt>round the value of all points in the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-skew"><strong>skew</strong></a>(self, angle, offset<font color="#909090">=None</font>)</dt><dd><tt>skew the contour</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this contour.<br>
|
|
Use a Transform matrix object from<br>
|
|
robofab.transform</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseContour">robofab.objects.objectsBase.BaseContour</a>:<br>
|
|
<dl><dt><strong>box</strong></dt>
|
|
<dd><tt>the bounding box for the contour</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = _get_box(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>clockwise</strong></dt>
|
|
<dd><tt>direction of contour: 1=clockwise 0=counterclockwise</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = _get_clockwise(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RContour-<em>set</em>"><strong><em>set</em></strong></a> = _set_clockwise(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RContour-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RFont">class <strong>RFont</strong></a>(<a href="robofab.objects.objectsBase.html#BaseFont">robofab.objects.objectsBase.BaseFont</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>UFO font object which reads and writes glif, and keeps the data in memory in between.<br>
|
|
Bahviour:<br>
|
|
- comparable to Font<br>
|
|
- comparable to GlyphSet so that it can be passed to Glif widgets<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RFont">RFont</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseFont">robofab.objects.objectsBase.BaseFont</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RFont-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt><dd><tt>Compare this font with another, compare if they refer to the same file.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-__contains__"><strong>__contains__</strong></a> = <a href="#RFont-has_key">has_key</a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__init__"><strong>__init__</strong></a>(self, path<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__setitem__"><strong>__setitem__</strong></a>(self, glyphName, glyph)</dt><dd><tt>Set a glyph at key.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getGlyph"><strong>getGlyph</strong></a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-getReverseComponentMapping"><strong>getReverseComponentMapping</strong></a>(self)</dt><dd><tt>Get a reversed map of component references in the font.<br>
|
|
{<br>
|
|
'A' : ['Aacute', 'Aring']<br>
|
|
'acute' : ['Aacute']<br>
|
|
'ring' : ['Aring']<br>
|
|
etc.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getWidth"><strong>getWidth</strong></a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-has_key"><strong>has_key</strong></a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-insertGlyph"><strong>insertGlyph</strong></a>(self, glyph, as<font color="#909090">=None</font>)</dt><dd><tt>returns a new glyph that has been inserted into the font</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-keys"><strong>keys</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-newGlyph"><strong>newGlyph</strong></a>(self, glyphName, clear<font color="#909090">=True</font>)</dt><dd><tt>Make a new glyph with glyphName<br>
|
|
if the glyph exists and clear=True clear the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-removeGlyph"><strong>removeGlyph</strong></a>(self, glyphName)</dt><dd><tt>remove a glyph from the font</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-save"><strong>save</strong></a>(self, destDir<font color="#909090">=None</font>, doProgress<font color="#909090">=False</font>, saveNow<font color="#909090">=False</font>)</dt><dd><tt>Save the Font in UFO format.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>path</strong></dt>
|
|
<dd><tt>path of the font</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_path">_get_path</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseFont">robofab.objects.objectsBase.BaseFont</a>:<br>
|
|
<dl><dt><a name="RFont-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__getitem__"><strong>__getitem__</strong></a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-autoUnicodes"><strong>autoUnicodes</strong></a>(self)</dt><dd><tt>Using fontTools.agl, assign Unicode lists to all glyphs in the font</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-close"><strong>close</strong></a>(self, save<font color="#909090">=1</font>)</dt><dd><tt>Close the font, saving is optional.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-compileGlyph"><strong>compileGlyph</strong></a>(self, glyphName, baseName, accentNames, adjustWidth<font color="#909090">=False</font>, preflight<font color="#909090">=False</font>, printErrors<font color="#909090">=True</font>)</dt><dd><tt>Compile components into a new glyph using components and anchorpoints.<br>
|
|
font: the font<br>
|
|
glyphName: the name of the glyph where it all needs to go<br>
|
|
baseName: the name of the base glyph<br>
|
|
accentNames: a list of accentName, anchorName tuples, [('acute', 'top'), etc]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-generateGlyph"><strong>generateGlyph</strong></a>(self, glyphName, replace<font color="#909090">=1</font>, preflight<font color="#909090">=False</font>, printErrors<font color="#909090">=True</font>)</dt><dd><tt>Generate a glyph and return it. Assembled from GlyphConstruction.txt</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getCharacterMapping"><strong>getCharacterMapping</strong></a>(self)</dt><dd><tt>Create a dictionary of unicode -> [glyphname, ...] mappings.<br>
|
|
Note that this dict is created each time this method is called, <br>
|
|
which can make it expensive for larger fonts. All glyphs are loaded.<br>
|
|
Note that one glyph can have multiple unicode values,<br>
|
|
and a unicode value can have multiple glyphs pointing to it.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getGlyphNameToFileNameFunc"><strong>getGlyphNameToFileNameFunc</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-interpolate"><strong>interpolate</strong></a>(self, factor, minFont, maxFont, suppressError<font color="#909090">=True</font>, analyzeOnly<font color="#909090">=False</font>, doProgress<font color="#909090">=False</font>)</dt><dd><tt>Traditional interpolation method. Interpolates by factor between minFont and maxFont.<br>
|
|
suppressError will supress all tracebacks and analyze only will not perform the interpolation<br>
|
|
but it will analyze all glyphs and return a dict of problems.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-round"><strong>round</strong></a>(self)</dt><dd><tt>round all of the points in all of the glyphs</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-update"><strong>update</strong></a>(self)</dt><dd><tt>update the font</tt></dd></dl>
|
|
|
|
<hr>
|
|
Class methods inherited from <a href="robofab.objects.objectsBase.html#BaseFont">robofab.objects.objectsBase.BaseFont</a>:<br>
|
|
<dl><dt><a name="RFont-getAllFonts"><strong>getAllFonts</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Return a list of all instances of this class (or its subclasses)<br>
|
|
that are currently alive.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RFont-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this object. Pass an object for parenting if you want.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RGlyph">class <strong>RGlyph</strong></a>(<a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RGlyph">RGlyph</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RGlyph-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendAnchor"><strong>appendAnchor</strong></a>(self, name, position, mark<font color="#909090">=None</font>)</dt><dd><tt>append an anchor to the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendComponent"><strong>appendComponent</strong></a>(self, baseGlyph, offset<font color="#909090">=(0, 0)</font>, scale<font color="#909090">=(1, 1)</font>)</dt><dd><tt>append a component to the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-center"><strong>center</strong></a>(self, padding<font color="#909090">=None</font>)</dt><dd><tt>Equalise sidebearings, set to padding if wanted.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clear"><strong>clear</strong></a>(self, contours<font color="#909090">=True</font>, components<font color="#909090">=True</font>, anchors<font color="#909090">=True</font>, guides<font color="#909090">=True</font>)</dt><dd><tt>Clear all items marked as True from the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clearAnchors"><strong>clearAnchors</strong></a>(self)</dt><dd><tt>clear all anchors</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clearComponents"><strong>clearComponents</strong></a>(self)</dt><dd><tt>clear all components</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clearContours"><strong>clearContours</strong></a>(self)</dt><dd><tt>clear all contours</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clearHGuides"><strong>clearHGuides</strong></a>(self)</dt><dd><tt>clear all horizontal guides</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-clearVGuides"><strong>clearVGuides</strong></a>(self)</dt><dd><tt>clear all vertical guides</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-decompose"><strong>decompose</strong></a>(self)</dt><dd><tt>Decompose all components</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getAnchors"><strong>getAnchors</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getComponents"><strong>getComponents</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getPointPen"><strong>getPointPen</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-removeAnchor"><strong>removeAnchor</strong></a>(self, anchor)</dt><dd><tt>remove a specific anchor from the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-removeComponent"><strong>removeComponent</strong></a>(self, component)</dt><dd><tt>remove a specific component from the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-removeContour"><strong>removeContour</strong></a>(self, index)</dt><dd><tt>remove a specific contour from the glyph</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>lib</strong></dt>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_lib">_get_lib</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_lib">_set_lib</a>(self, obj)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>name</strong></dt>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_name">_get_name</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_name">_set_name</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>unicode</strong></dt>
|
|
<dd><tt>first unicode value for the glyph</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_unicode">_get_unicode</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_unicode">_set_unicode</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>unicodes</strong></dt>
|
|
<dd><tt>all unicode values for the glyph</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_unicodes">_get_unicodes</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_unicodes">_set_unicodes</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a>:<br>
|
|
<dl><dt><a name="RGlyph-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__div__"><strong>__div__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendContour"><strong>appendContour</strong></a>(self, aContour, offset<font color="#909090">=(0, 0)</font>)</dt><dd><tt>append a contour to the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendGlyph"><strong>appendGlyph</strong></a>(self, aGlyph, offset<font color="#909090">=(0, 0)</font>)</dt><dd><tt>append another glyph to the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-autoContourOrder"><strong>autoContourOrder</strong></a>(self)</dt><dd><tt>attempt to sort the contours based on their centers</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-autoUnicodes"><strong>autoUnicodes</strong></a>(self)</dt><dd><tt>Using fontTools.agl, assign Unicode list to the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-correctDirection"><strong>correctDirection</strong></a>(self, trueType<font color="#909090">=False</font>)</dt><dd><tt>corect the direction of the contours in the glyph.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-deSelect"><strong>deSelect</strong></a>(self)</dt><dd><tt>Set all selected attrs in glyph to False: for the glyph, components, anchors, points.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-draw"><strong>draw</strong></a>(self, pen)</dt><dd><tt>draw the object with a RoboFab segment pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-drawPoints"><strong>drawPoints</strong></a>(self, pen)</dt><dd><tt>draw the object with a point pen</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getGlyph"><strong>getGlyph</strong></a>(self, glyphName)</dt><dd><tt>Provided there is a font parent for this glyph, return a sibling glyph.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getPen"><strong>getPen</strong></a>(self)</dt><dd><tt>Return a Pen object for creating an outline in this glyph.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-interpolate"><strong>interpolate</strong></a>(self, factor, minGlyph, maxGlyph, suppressError<font color="#909090">=True</font>, analyzeOnly<font color="#909090">=False</font>)</dt><dd><tt>Traditional interpolation method. Interpolates by factor between minGlyph and maxGlyph.<br>
|
|
suppressError will supress all tracebacks and analyze only will not perform the interpolation<br>
|
|
but it will analyze all glyphs and return a dict of problems.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-isCompatible"><strong>isCompatible</strong></a>(self, otherGlyph, report<font color="#909090">=True</font>)</dt><dd><tt>Return a bool value if the glyph is compatible with otherGlyph.<br>
|
|
With report = True, isCompatible will return a report of what's wrong.<br>
|
|
The interpolate method requires absolute equality between contour data.<br>
|
|
Absolute equality is preferred among component and anchor data, but<br>
|
|
it is NOT required. Interpolation between components and anchors<br>
|
|
will only deal with compatible data and incompatible data will be<br>
|
|
ignored. This method reflects this system.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-isEmpty"><strong>isEmpty</strong></a>(self)</dt><dd><tt>return true if the glyph has no contours or components</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-move"><strong>move</strong></a>(self, (x, y), contours<font color="#909090">=True</font>, components<font color="#909090">=True</font>, anchors<font color="#909090">=True</font>)</dt><dd><tt>Move a glyph's items that are flagged as True</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-pointInside"><strong>pointInside</strong></a>(self, (x, y), evenOdd<font color="#909090">=0</font>)</dt><dd><tt>determine if the point is in the black or white of the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-rasterize"><strong>rasterize</strong></a>(self, cellSize<font color="#909090">=50</font>, xMin<font color="#909090">=None</font>, yMin<font color="#909090">=None</font>, xMax<font color="#909090">=None</font>, yMax<font color="#909090">=None</font>)</dt><dd><tt>Slice the glyph into a grid based on the cell size.<br>
|
|
It returns a list of lists containing bool values<br>
|
|
that indicate the black (True) or white (False)<br>
|
|
value of that particular cell. These lists are<br>
|
|
arranged from top to bottom of the glyph and<br>
|
|
proceed from left to right.<br>
|
|
This is an expensive operation!</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-rotate"><strong>rotate</strong></a>(self, angle, offset<font color="#909090">=None</font>)</dt><dd><tt>rotate the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-round"><strong>round</strong></a>(self)</dt><dd><tt>round all coordinates in all contours, components and anchors</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-skew"><strong>skew</strong></a>(self, angle, offset<font color="#909090">=None</font>)</dt><dd><tt>skew the glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this glyph.<br>
|
|
Use a Transform matrix object from<br>
|
|
robofab.transform</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-update"><strong>update</strong></a>(self)</dt><dd><tt>update the glyph</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a>:<br>
|
|
<dl><dt><strong>box</strong></dt>
|
|
<dd><tt>the bounding box of the glyph: (xMin, yMin, xMax, yMax)</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = _get_box(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>leftMargin</strong></dt>
|
|
<dd><tt>the left margin</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = _get_leftMargin(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = _set_leftMargin(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>rightMargin</strong></dt>
|
|
<dd><tt>the right margin</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = _get_rightMargin(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = _set_rightMargin(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RGlyph-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125ddd0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RGroups">class <strong>RGroups</strong></a>(<a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RGroups">RGroups</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a></dd>
|
|
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a>:<br>
|
|
<dl><dt><a name="RGroups-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-findGlyph"><strong>findGlyph</strong></a>(self, glyphName)</dt><dd><tt>return a list of all groups contianing glyphName</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125deb0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'BaseGroups' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
|
|
<dl><dt><a name="RGroups-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#RGroups-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-keys">keys</a>() -> list of D's keys</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value<br>
|
|
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
|
|
2-tuple; but raise KeyError if D is empty</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-setdefault">setdefault</a>(k[,d]) -> D.<a href="#RGroups-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-update">update</a>(E) -> None. Update D from E: for k in E.<a href="#RGroups-keys">keys</a>(): D[k] = E[k]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGroups-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#RGroups-values">values</a>() -> list of D's values</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
|
|
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0xa866d054><dd><tt>T.<a href="#RGroups-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
|
|
|
|
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object at 0x321b80><dd><tt>dict.<a href="#RGroups-fromkeys">fromkeys</a>(S[,v]) -> New dict with keys from S and values equal to v.<br>
|
|
v defaults to None.</tt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RInfo">class <strong>RInfo</strong></a>(<a href="robofab.objects.objectsBase.html#BaseInfo">robofab.objects.objectsBase.BaseInfo</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RInfo">RInfo</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseInfo">robofab.objects.objectsBase.BaseInfo</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RInfo-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>ascender</strong></dt>
|
|
<dd><tt>ascender value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_ascender">_get_ascender</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_ascender">_set_ascender</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>capHeight</strong></dt>
|
|
<dd><tt>cap height value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_capHeight">_get_capHeight</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_capHeight">_set_capHeight</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>copyright</strong></dt>
|
|
<dd><tt>copyright</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_copyright">_get_copyright</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_copyright">_set_copyright</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>createdBy</strong></dt>
|
|
<dd><tt>source</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_createdBy">_get_createdBy</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_createdBy">_set_createdBy</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>defaultWidth</strong></dt>
|
|
<dd><tt>default width value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_defaultWidth">_get_defaultWidth</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_defaultWidth">_set_defaultWidth</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>descender</strong></dt>
|
|
<dd><tt>descender value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_descender">_get_descender</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_descender">_set_descender</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>designer</strong></dt>
|
|
<dd><tt>designer</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_designer">_get_designer</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_designer">_set_designer</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>designerURL</strong></dt>
|
|
<dd><tt>designer_url</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_designerURL">_get_designerURL</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_designerURL">_set_designerURL</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>familyName</strong></dt>
|
|
<dd><tt>family_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_familyName">_get_familyName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_familyName">_set_familyName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fondID</strong></dt>
|
|
<dd><tt>fond_id</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_fondID">_get_fondID</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_fondID">_set_fondID</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fondName</strong></dt>
|
|
<dd><tt>apple_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_fondName">_get_fondName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_fondName">_set_fondName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fontName</strong></dt>
|
|
<dd><tt>font_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_fontName">_get_fontName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_fontName">_set_fontName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fontStyle</strong></dt>
|
|
<dd><tt>font_style</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_fontStyle">_get_fontStyle</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_fontStyle">_set_fontStyle</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fullName</strong></dt>
|
|
<dd><tt>full_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_fullName">_get_fullName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_fullName">_set_fullName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>italicAngle</strong></dt>
|
|
<dd><tt>italic_angle</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_italicAngle">_get_italicAngle</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_italicAngle">_set_italicAngle</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>license</strong></dt>
|
|
<dd><tt>license</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_license">_get_license</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_license">_set_license</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>licenseURL</strong></dt>
|
|
<dd><tt>license_url</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_licenseURL">_get_licenseURL</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_licenseURL">_set_licenseURL</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>menuName</strong></dt>
|
|
<dd><tt>menu_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_menuName">_get_menuName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_menuName">_set_menuName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>msCharSet</strong></dt>
|
|
<dd><tt>ms_charset</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_msCharSet">_get_msCharSet</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_msCharSet">_set_msCharSet</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>note</strong></dt>
|
|
<dd><tt>note</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_note">_get_note</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_note">_set_note</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>notice</strong></dt>
|
|
<dd><tt>notice</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_notice">_get_notice</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_notice">_set_notice</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>otFamilyName</strong></dt>
|
|
<dd><tt>pref_family_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_otFamilyName">_get_otFamilyName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_otFamilyName">_set_otFamilyName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>otMacName</strong></dt>
|
|
<dd><tt>mac_compatible</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_otMacName">_get_otMacName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_otMacName">_set_otMacName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>otStyleName</strong></dt>
|
|
<dd><tt>pref_style_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_otStyleName">_get_otStyleName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_otStyleName">_set_otStyleName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>slantAngle</strong></dt>
|
|
<dd><tt>slant_angle</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_slantAngle">_get_slantAngle</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_slantAngle">_set_slantAngle</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>styleName</strong></dt>
|
|
<dd><tt>style_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_styleName">_get_styleName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_styleName">_set_styleName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>trademark</strong></dt>
|
|
<dd><tt>trademark</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_trademark">_get_trademark</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_trademark">_set_trademark</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>ttUniqueID</strong></dt>
|
|
<dd><tt>tt_u_id</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_ttUniqueID">_get_ttUniqueID</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_ttUniqueID">_set_ttUniqueID</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>ttVendor</strong></dt>
|
|
<dd><tt>vendor</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_ttVendor">_get_ttVendor</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_ttVendor">_set_ttVendor</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>ttVersion</strong></dt>
|
|
<dd><tt>tt_version</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_ttVersion">_get_ttVersion</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_ttVersion">_set_ttVersion</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>uniqueID</strong></dt>
|
|
<dd><tt>unique_id</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_uniqueID">_get_uniqueID</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_uniqueID">_set_uniqueID</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>unitsPerEm</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_unitsPerEm">_get_unitsPerEm</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_unitsPerEm">_set_unitsPerEm</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>vendorURL</strong></dt>
|
|
<dd><tt>vendor_url</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_vendorURL">_get_vendorURL</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_vendorURL">_set_vendorURL</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>versionMajor</strong></dt>
|
|
<dd><tt>version_major</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_versionMajor">_get_versionMajor</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_versionMajor">_set_versionMajor</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>versionMinor</strong></dt>
|
|
<dd><tt>version_minor</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_versionMinor">_get_versionMinor</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_versionMinor">_set_versionMinor</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>weightName</strong></dt>
|
|
<dd><tt>weight name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_weightName">_get_weightName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_weightName">_set_weightName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>weightValue</strong></dt>
|
|
<dd><tt>weight value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_weightValue">_get_weightValue</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_weightValue">_set_weightValue</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>widthName</strong></dt>
|
|
<dd><tt>width name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_widthName">_get_widthName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_widthName">_set_widthName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>xHeight</strong></dt>
|
|
<dd><tt>x height value</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_xHeight">_get_xHeight</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_xHeight">_set_xHeight</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>year</strong></dt>
|
|
<dd><tt>year</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_year">_get_year</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_year">_set_year</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseInfo">robofab.objects.objectsBase.BaseInfo</a>:<br>
|
|
<dl><dt><a name="RInfo-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RInfo-autoNaming"><strong>autoNaming</strong></a>(self, familyName<font color="#909090">=None</font>, styleName<font color="#909090">=None</font>)</dt><dd><tt>Automatically set the font naming info based on family and style names.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RInfo-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RInfo-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this object. Pass an object for parenting if you want.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RInfo-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RInfo-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RInfo-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RInfo-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RInfo-round"><strong>round</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RInfo-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RInfo-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125ddd0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RKerning">class <strong>RKerning</strong></a>(<a href="robofab.objects.objectsBase.html#BaseKerning">robofab.objects.objectsBase.BaseKerning</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RKerning">RKerning</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseKerning">robofab.objects.objectsBase.BaseKerning</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseKerning">robofab.objects.objectsBase.BaseKerning</a>:<br>
|
|
<dl><dt><a name="RKerning-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__div__"><strong>__div__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__getitem__"><strong>__getitem__</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__init__"><strong>__init__</strong></a>(self, kerningDict<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__setitem__"><strong>__setitem__</strong></a>(self, pair, value)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-add"><strong>add</strong></a>(self, value)</dt><dd><tt>add value to all kerning pairs</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-asDict"><strong>asDict</strong></a>(self, returnIntegers<font color="#909090">=True</font>)</dt><dd><tt>return the object as a dictionary</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-clear"><strong>clear</strong></a>(self)</dt><dd><tt>clear all kerning</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-combine"><strong>combine</strong></a>(self, kerningDicts, overwriteExisting<font color="#909090">=True</font>)</dt><dd><tt>combine two or more kerning dictionaries.<br>
|
|
overwrite exsisting duplicate pairs if overwriteExisting=True</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-eliminate"><strong>eliminate</strong></a>(self, leftGlyphsToEliminate<font color="#909090">=None</font>, rightGlyphsToEliminate<font color="#909090">=None</font>, analyzeOnly<font color="#909090">=False</font>)</dt><dd><tt>eliminate pairs containing a left glyph that is in the leftGlyphsToEliminate list<br>
|
|
or a right glyph that is in the rightGlyphsToELiminate list.<br>
|
|
sideGlyphsToEliminate can be a string: 'a' or list: ['a', 'b'].<br>
|
|
analyzeOnly will not remove pairs. it will return a count<br>
|
|
of all pairs that would be removed.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-explodeClasses"><strong>explodeClasses</strong></a>(self, leftClassDict<font color="#909090">=None</font>, rightClassDict<font color="#909090">=None</font>, analyzeOnly<font color="#909090">=False</font>)</dt><dd><tt>turn class kerns into real kerning pairs. classes should<br>
|
|
be defined in dicts: {'O':['C', 'G', 'Q'], 'H':['B', 'D', 'E', 'F', 'I']}.<br>
|
|
analyzeOnly will not remove pairs. it will return a count<br>
|
|
of all pairs that would be added</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-get"><strong>get</strong></a>(self, pair, default<font color="#909090">=None</font>)</dt><dd><tt>get a value. return None if the pair does not exist</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-getAverage"><strong>getAverage</strong></a>(self)</dt><dd><tt>return average of all kerning pairs</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-getExtremes"><strong>getExtremes</strong></a>(self)</dt><dd><tt>return the lowest and highest kerning values</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-getLeft"><strong>getLeft</strong></a>(self, glyphName)</dt><dd><tt>Return a list of kerns with glyphName as left character.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-getRight"><strong>getRight</strong></a>(self, glyphName)</dt><dd><tt>Return a list of kerns with glyphName as left character.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-has_key"><strong>has_key</strong></a>(self, pair)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-implodeClasses"><strong>implodeClasses</strong></a>(self, leftClassDict<font color="#909090">=None</font>, rightClassDict<font color="#909090">=None</font>, analyzeOnly<font color="#909090">=False</font>)</dt><dd><tt>condense the number of kerning pairs by applying classes.<br>
|
|
this will eliminate all pairs containg the classed glyphs leaving<br>
|
|
pairs that contain the key glyphs behind. analyzeOnly will not<br>
|
|
remove pairs. it will return a count of all pairs that would be removed.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-importAFM"><strong>importAFM</strong></a>(self, path, clearExisting<font color="#909090">=True</font>)</dt><dd><tt>Import kerning pairs from an AFM file. clearExisting=True will<br>
|
|
clear all exising kerning</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-interpolate"><strong>interpolate</strong></a>(self, sourceDictOne, sourceDictTwo, value, clearExisting<font color="#909090">=True</font>)</dt><dd><tt>interpolate the kerning between sourceDictOne<br>
|
|
and sourceDictTwo. clearExisting will clear existing<br>
|
|
kerning first.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-items"><strong>items</strong></a>(self)</dt><dd><tt>return a list of kerning items</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-keys"><strong>keys</strong></a>(self)</dt><dd><tt>return list of kerning pairs</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-minimize"><strong>minimize</strong></a>(self, minimum<font color="#909090">=10</font>)</dt><dd><tt>eliminate pairs with value less than minimum</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-occurrenceCount"><strong>occurrenceCount</strong></a>(self, glyphsToCount)</dt><dd><tt>return a dict with glyphs as keys and the number of <br>
|
|
occurances of that glyph in the kerning pairs as the value<br>
|
|
glyphsToCount can be a string: 'a' or list: ['a', 'b']</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-remove"><strong>remove</strong></a>(self, pair)</dt><dd><tt>remove a kerning pair</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-round"><strong>round</strong></a>(self, multiple<font color="#909090">=10</font>)</dt><dd><tt>round the kerning pair values to increments of multiple</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-scale"><strong>scale</strong></a>(self, value)</dt><dd><tt>scale all kernng pairs by value</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-swapNames"><strong>swapNames</strong></a>(self, swapTable)</dt><dd><tt>change glyph names in all kerning pairs based on swapTable.<br>
|
|
swapTable = {'BeforeName':'AfterName', ...}</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-update"><strong>update</strong></a>(self, kerningDict)</dt><dd><tt>replace kerning data with the data in the given kerningDict</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-values"><strong>values</strong></a>(self)</dt><dd><tt>return a list of kerning values</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RKerning-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this object. Pass an object for parenting if you want.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RKerning-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de30><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RLib">class <strong>RLib</strong></a>(<a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RLib">RLib</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a></dd>
|
|
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a>:<br>
|
|
<dl><dt><a name="RLib-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this lib.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125def0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'BaseLib' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
|
|
<dl><dt><a name="RLib-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RLib-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-keys">keys</a>() -> list of D's keys</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value<br>
|
|
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
|
|
2-tuple; but raise KeyError if D is empty</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-setdefault">setdefault</a>(k[,d]) -> D.<a href="#RLib-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-update">update</a>(E) -> None. Update D from E: for k in E.<a href="#RLib-keys">keys</a>(): D[k] = E[k]</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RLib-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#RLib-values">values</a>() -> list of D's values</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
|
|
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0xa866d054><dd><tt>T.<a href="#RLib-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
|
|
|
|
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object at 0x321d50><dd><tt>dict.<a href="#RLib-fromkeys">fromkeys</a>(S[,v]) -> New dict with keys from S and values equal to v.<br>
|
|
v defaults to None.</tt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RPoint">class <strong>RPoint</strong></a>(<a href="robofab.objects.objectsBase.html#BasePoint">robofab.objects.objectsBase.BasePoint</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RPoint">RPoint</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BasePoint">robofab.objects.objectsBase.BasePoint</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RPoint-__init__"><strong>__init__</strong></a>(self, x<font color="#909090">=0</font>, y<font color="#909090">=0</font>, pointType<font color="#909090">=None</font>, name<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>name</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RPoint-_get_name">_get_name</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RPoint-_set_name">_set_name</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>type</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RPoint-_get_type">_get_type</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RPoint-_set_type">_set_type</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>x</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RPoint-_get_x">_get_x</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RPoint-_set_x">_set_x</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>y</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RPoint-_get_y">_get_y</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RPoint-_set_y">_set_y</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BasePoint">robofab.objects.objectsBase.BasePoint</a>:<br>
|
|
<dl><dt><a name="RPoint-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this point</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>Move the point</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-round"><strong>round</strong></a>(self)</dt><dd><tt>round the values in the point</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the point</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-select"><strong>select</strong></a>(self, state<font color="#909090">=True</font>)</dt><dd><tt>Set the selection of this point.<br>
|
|
XXXX This method should be a lot more versatile, dealing with<br>
|
|
different kinds of selection, select the bcp's seperately etc.<br>
|
|
But that's for later when we need it more. For now it's just <br>
|
|
one flag for the entire thing.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this point. Use a Transform matrix<br>
|
|
object from fontTools.misc.transform</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RPoint-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125de70><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="RSegment">class <strong>RSegment</strong></a>(<a href="robofab.objects.objectsBase.html#BaseSegment">robofab.objects.objectsBase.BaseSegment</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsRF.html#RSegment">RSegment</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseSegment">robofab.objects.objectsBase.BaseSegment</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a></dd>
|
|
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RSegment-__init__"><strong>__init__</strong></a>(self, segmentType<font color="#909090">=None</font>, points<font color="#909090">=[]</font>, smooth<font color="#909090">=False</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-insertPoint"><strong>insertPoint</strong></a>(self, index, pointType, point)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-removePoint"><strong>removePoint</strong></a>(self, index)</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the segment</tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RSegment-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>type</strong></dt>
|
|
<dd><tt>type of the segment</tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RSegment-_get_type">_get_type</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RSegment-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RSegment-_set_type">_set_type</a>(self, pointType)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseSegment">robofab.objects.objectsBase.BaseSegment</a>:<br>
|
|
<dl><dt><a name="RSegment-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-__rmul__"><strong>__rmul__</strong></a> = __mul__(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Duplicate this segment</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>move the segment</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-round"><strong>round</strong></a>(self)</dt><dd><tt>round all points in the segment</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt><dd><tt>scale the segment</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-transform"><strong>transform</strong></a>(self, matrix)</dt><dd><tt>Transform this segment.<br>
|
|
Use a Transform matrix object from<br>
|
|
robofab.transform</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseSegment">robofab.objects.objectsBase.BaseSegment</a>:<br>
|
|
<dl><dt><strong>offCurve</strong></dt>
|
|
<dd><tt>on curve point for the segment</tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = _get_offCurve(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>onCurve</strong></dt>
|
|
<dd><tt>list of off curve points for the segment</tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = _get_onCurve(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RSegment-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-dump"><strong>dump</strong></a>(self, private<font color="#909090">=False</font>)</dt><dd><tt>Print a dump of this object to the std out.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>this method will be overwritten with a weakref if there is a parent.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-naked"><strong>naked</strong></a>(self)</dt><dd><tt>Return the wrapped object itself, in case it is needed for direct access.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-setParent"><strong>setParent</strong></a>(self, parent)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x125deb0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RBaseObject' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>attrMap</strong> = {}</dl>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#eeaa77">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt><a name="-CurrentFont"><strong>CurrentFont</strong></a>()</dt></dl>
|
|
<dl><dt><a name="-CurrentGlyph"><strong>CurrentGlyph</strong></a>()</dt></dl>
|
|
<dl><dt><a name="-NewFont"><strong>NewFont</strong></a>(familyName<font color="#909090">=None</font>, styleName<font color="#909090">=None</font>)</dt><dd><tt>Make a new font</tt></dd></dl>
|
|
<dl><dt><a name="-OpenFont"><strong>OpenFont</strong></a>(path<font color="#909090">=None</font>, note<font color="#909090">=None</font>)</dt><dd><tt>Open a font from a path. If path is not given, present the user with a dialog.</tt></dd></dl>
|
|
</td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#55aa55">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
<td width="100%"><strong>CORNER</strong> = 'corner'<br>
|
|
<strong>CURVE</strong> = 'curve'<br>
|
|
<strong>LINE</strong> = 'line'<br>
|
|
<strong>MOVE</strong> = 'move'<br>
|
|
<strong>OFFCURVE</strong> = 'offcurve'<br>
|
|
<strong>QCURVE</strong> = 'qcurve'<br>
|
|
<strong>__all__</strong> = ['CurrentFont', 'CurrentGlyph', 'OpenFont', 'RFont', 'RGlyph', 'RContour', 'RPoint', 'RBPoint', 'RAnchor', 'RComponent']</td></tr></table>
|
|
</body></html> |