1 line
155 KiB
HTML
1 line
155 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module robofab.objects.objectsFL</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>.objectsFL</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:vroom:users:tal:robofab:projects:robofab:lib:robofab:objects:objectsfl.py">vroom:users:tal:robofab:projects:robofab:lib:robofab:objects:objectsfl.py</a></font></td></tr></table>
|
|
<p><tt>UFO implementation for the objects as used by FontLab 4.5 and higher</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="fontTools.misc.arrayTools.html">fontTools.misc.arrayTools</a><br>
|
|
</td><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></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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.html#RGroups">RGroups</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="robofab.objects.objectsBase.html#BaseGuide">robofab.objects.objectsBase.BaseGuide</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.objectsFL.html#RGuide">RGuide</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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.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.objectsFL.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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Anchor object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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, flAnchor, index)</dt></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>mark</strong></dt>
|
|
<dd><tt>mark</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_mark">_get_mark</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RAnchor-_set_mark">_set_mark</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>name</strong></dt>
|
|
<dd><tt>name</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_name">_get_name</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RAnchor-_set_name">_set_name</a>(self, value)</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>
|
|
<dl><dt><strong>x</strong></dt>
|
|
<dd><tt>x</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_x">_get_x</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RAnchor-_set_x">_set_x</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>y</strong></dt>
|
|
<dd><tt>y</tt></dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RAnchor-_get_y">_get_y</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RAnchor-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RAnchor-_set_y">_set_y</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-move"><strong>move</strong></a>(self, (x, y))</dt><dd><tt>Move the anchor</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><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.objectsFL.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>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="RBPoint-__init__"><strong>__init__</strong></a>(self, segmentIndex)</dt></dl>
|
|
|
|
<dl><dt><a name="RBPoint-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Copy this object -- result is an ObjectsRF flavored object.<br>
|
|
There is no way to make this work using FontLab objects.<br>
|
|
Copy is mainly used for glyphmath.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt></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>
|
|
<dl><dt><strong>selected</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RBPoint-_get_selected">_get_selected</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RBPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RBPoint-_set_selected">_set_selected</a>(self, value)</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-__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-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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Component object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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, flComponent, index)</dt></dl>
|
|
|
|
<dl><dt><a name="RComponent-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Copy this object -- result is an ObjectsRF flavored object.<br>
|
|
There is no way to make this work using FontLab objects.<br>
|
|
Copy is mainly used for glyphmath.</tt></dd></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>
|
|
</dl>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of 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-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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for non FL contour object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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-__init__"><strong>__init__</strong></a>(self, index)</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></dl>
|
|
|
|
<dl><dt><a name="RContour-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Copy this object -- result is an ObjectsRF flavored object.<br>
|
|
There is no way to make this work using FontLab objects.<br>
|
|
Copy is mainly used for glyphmath.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-getParent"><strong>getParent</strong></a>(self)</dt></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 seggment 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 contour direction</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RContour-setParent"><strong>setParent</strong></a>(self, parentGlyph)</dt></dl>
|
|
|
|
<dl><dt><a name="RContour-setStartSegment"><strong>setStartSegment</strong></a>(self, segmentIndex)</dt><dd><tt>set the first node on the contour</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>bPoints</strong></dt>
|
|
<dd><tt></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>the 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></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>
|
|
<dl><dt><strong>selected</strong></dt>
|
|
<dd><tt>selection of the contour: 1-selected or 0-unselected</tt></dd>
|
|
<dd><dl><dt><a name="RContour-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RContour-_get_selected">_get_selected</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RContour-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RContour-_set_selected">_set_selected</a>(self, value)</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-__getitem__"><strong>__getitem__</strong></a>(self, index)</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-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-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>
|
|
|
|
<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><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>RoboFab UFO wrapper for FL Font object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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></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, font<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-__setitem__"><strong>__setitem__</strong></a>(self, glyphName, glyph)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-appendHGuide"><strong>appendHGuide</strong></a>(self, position, angle<font color="#909090">=0</font>)</dt><dd><tt>Append a horizontal guide</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-appendVGuide"><strong>appendVGuide</strong></a>(self, position, angle<font color="#909090">=0</font>)</dt><dd><tt>Append a horizontal guide</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-clearHGuides"><strong>clearHGuides</strong></a>(self)</dt><dd><tt>Clear all horizontal guides.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-clearVGuides"><strong>clearVGuides</strong></a>(self)</dt><dd><tt>Clear all vertical guides.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-close"><strong>close</strong></a>(self, save<font color="#909090">=False</font>)</dt><dd><tt>Close the font, saving is optional.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-generate"><strong>generate</strong></a>(self, outputType, path<font color="#909090">=None</font>)</dt><dd><tt>generate the font. outputType is the type of font to ouput.<br>
|
|
--Ouput Types:<br>
|
|
'pctype1' : PC Type 1 font (binary/PFB)<br>
|
|
'pcmm' : PC MultipleMaster font (PFB)<br>
|
|
'pctype1ascii' : PC Type 1 font (ASCII/PFA)<br>
|
|
'pcmmascii' : PC MultipleMaster font (ASCII/PFA)<br>
|
|
'unixascii' : UNIX ASCII font (ASCII/PFA)<br>
|
|
'mactype1' : Mac Type 1 font (generates suitcase and LWFN file)<br>
|
|
'otfcff' : PS OpenType (CFF-based) font (OTF)<br>
|
|
'otfttf' : PC TrueType/TT OpenType font (TTF)<br>
|
|
'macttf' : Mac TrueType font (generates suitcase)<br>
|
|
'macttdfont' : Mac TrueType font (generates suitcase with resources in data fork)<br>
|
|
(doc adapted from <a href="http://dev.fontlab.net/flpydoc/">http://dev.fontlab.net/flpydoc/</a>)<br>
|
|
<br>
|
|
path can be a directory or a directory file name combo:<br>
|
|
path="DirectoryA/DirectoryB"<br>
|
|
path="DirectoryA/DirectoryB/MyFontName"<br>
|
|
if no path is given, the file will be output in the same directory<br>
|
|
as the vfb file. if no file name is given, the filename will be the<br>
|
|
vfb file name with the appropriate suffix.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getGlyph"><strong>getGlyph</strong></a>(self, glyphName)</dt></dl>
|
|
|
|
<dl><dt><a name="RFont-getHGuides"><strong>getHGuides</strong></a>(self)</dt><dd><tt>Return a list of wrapped horizontal guides in this <a href="#RFont">RFont</a></tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getOTClass"><strong>getOTClass</strong></a>(self, name)</dt><dd><tt>Get a specific OpenType class.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getOTClasses"><strong>getOTClasses</strong></a>(self)</dt><dd><tt>Return all OpenType classes as a dict. Relies on properly formatted classes.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getOTFeature"><strong>getOTFeature</strong></a>(self, name)</dt><dd><tt>return a specific OpenType feature.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getOTFeatures"><strong>getOTFeatures</strong></a>(self)</dt><dd><tt>Return all OpenType features as a dict keyed by name.<br>
|
|
The value is a string of the text of the feature.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-getVGuides"><strong>getVGuides</strong></a>(self)</dt><dd><tt>Return a list of wrapped vertical guides in this <a href="#RFont">RFont</a></tt></dd></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.<br>
|
|
as = another glyphname if you want to insert as with that.</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">=False</font>)</dt><dd><tt>Make a new glyph</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-readUFO"><strong>readUFO</strong></a>(self, path, doProgress<font color="#909090">=False</font>)</dt><dd><tt>read a .ufo into the font</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-removeHGuide"><strong>removeHGuide</strong></a>(self, guide)</dt><dd><tt>Remove a horizontal guide.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-removeVGuide"><strong>removeVGuide</strong></a>(self, guide)</dt><dd><tt>Remove a vertical guide.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-save"><strong>save</strong></a>(self, path<font color="#909090">=None</font>)</dt><dd><tt>Save the font, path is required.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-setOTClass"><strong>setOTClass</strong></a>(self, name, list)</dt><dd><tt>Set a specific OpenType class.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-setOTClasses"><strong>setOTClasses</strong></a>(self, dict)</dt><dd><tt>Set all OpenType classes.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-setOTFeature"><strong>setOTFeature</strong></a>(self, name, text)</dt><dd><tt>Set a specific OpenType feature.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-setOTFeatures"><strong>setOTFeatures</strong></a>(self, dict)</dt><dd><tt>Set all OpenType features in the font.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-update"><strong>update</strong></a>(self)</dt><dd><tt>Don't forget to update the font when you are done.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RFont-writeUFO"><strong>writeUFO</strong></a>(self, path<font color="#909090">=None</font>, doProgress<font color="#909090">=False</font>, glyphNameToFileNameFunc<font color="#909090">=None</font>)</dt><dd><tt>write a font to .ufo</tt></dd></dl>
|
|
|
|
<hr>
|
|
Class methods defined here:<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></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>fileName</strong></dt>
|
|
<dd><tt>the font's file name</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_fileName">_get_fileName</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>fontIndex</strong></dt>
|
|
<dd><tt>the fontindex for this font</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_fontIndex">_get_fontIndex</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>glyphs</strong></dt>
|
|
<dd><tt>A list of all glyphs in the font, to allow iterations through Font.glyphs</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_glyphs">_get_glyphs</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>groups</strong></dt>
|
|
<dd><tt>a group object</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_groups">_get_groups</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RFont-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RFont-_set_groups">_set_groups</a>(self, aDict)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>info</strong></dt>
|
|
<dd><tt>font info object</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_info">_get_info</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>kerning</strong></dt>
|
|
<dd><tt>a kerning object</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_kerning">_get_kerning</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>lib</strong></dt>
|
|
<dd><tt>font lib object</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = _get_lib(self)</dt><dd><tt># the lib getter and setter are shared by <a href="#RFont">RFont</a> and <a href="#RGlyph">RGlyph</a></tt></dd></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RFont-<em>set</em>"><strong><em>set</em></strong></a> = _set_lib(self, aDict)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>path</strong></dt>
|
|
<dd><tt>path to 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>
|
|
<dl><dt><strong>selection</strong></dt>
|
|
<dd><tt>the glyph selection in the font window</tt></dd>
|
|
<dd><dl><dt><a name="RFont-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RFont-_get_selection">_get_selection</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RFont-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RFont-_set_selection">_set_selection</a>(self, list)</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-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-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-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>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#RBaseObject">robofab.objects.objectsBase.RBaseObject</a>:<br>
|
|
<dl><dt><a name="RFont-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Glyph object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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-GetBoundingRect"><strong>GetBoundingRect</strong></a>(self, masterIndex)</dt><dd><tt>FL compatibility</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-GetMetrics"><strong>GetMetrics</strong></a>(self, masterIndex)</dt><dd><tt>FL compatibility</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-SetMetrics"><strong>SetMetrics</strong></a>(self, value, masterIndex)</dt><dd><tt>FL compatibility</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__delitem__"><strong>__delitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<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, flGlyph)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__mul__"><strong>__mul__</strong></a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__rmul__"><strong>__rmul__</strong></a> = <a href="#RGlyph-__mul__">__mul__</a>(self, factor)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-__sub__"><strong>__sub__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendAnchor"><strong>appendAnchor</strong></a>(self, name, position)</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. x and y are optional offset values</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendHGuide"><strong>appendHGuide</strong></a>(self, position, angle<font color="#909090">=0</font>)</dt><dd><tt>Append a horizontal guide</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-appendVGuide"><strong>appendVGuide</strong></a>(self, position, angle<font color="#909090">=0</font>)</dt><dd><tt>Append a horizontal guide</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-autoHint"><strong>autoHint</strong></a>(self)</dt><dd><tt>Automatically generate type 1 hints.</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>, hints<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-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-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Make a copy of this glyph.<br>
|
|
Note: the copy is not a duplicate fontlab glyph, but<br>
|
|
a RF <a href="#RGlyph">RGlyph</a> with the same outlines. The new glyph is<br>
|
|
not part of the fontlab font in any way. Use font.<a href="#RGlyph-appendGlyph">appendGlyph</a>(glyph)<br>
|
|
to get it in a FontLab glyph again.</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><dd><tt>Return a list of wrapped anchors in this <a href="#RGlyph">RGlyph</a>.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getComponents"><strong>getComponents</strong></a>(self)</dt><dd><tt>Return a list of wrapped components in this <a href="#RGlyph">RGlyph</a>.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getHGuides"><strong>getHGuides</strong></a>(self)</dt><dd><tt>Return a list of wrapped horizontal guides in this <a href="#RGlyph">RGlyph</a></tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getPointPen"><strong>getPointPen</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGlyph-getVGuides"><strong>getVGuides</strong></a>(self)</dt><dd><tt>Return a list of wrapped vertical guides in this <a href="#RGlyph">RGlyph</a></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-removeAnchor"><strong>removeAnchor</strong></a>(self, anchor)</dt><dd><tt>Remove a specific anchor from the glyph. This only works<br>
|
|
if the glyph does not have anchors with duplicate names<br>
|
|
in exactly the same location with the same mark.</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. This only works<br>
|
|
if the glyph does not have duplicate components in the same location.</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>
|
|
|
|
<dl><dt><a name="RGlyph-removeHGuide"><strong>removeHGuide</strong></a>(self, guide)</dt><dd><tt>Remove a horizontal guide.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-removeOverlap"><strong>removeOverlap</strong></a>(self)</dt><dd><tt>Remove overlap</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-removeVGuide"><strong>removeVGuide</strong></a>(self, guide)</dt><dd><tt>Remove a vertical guide.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGlyph-update"><strong>update</strong></a>(self)</dt><dd><tt>Don't forget to update the glyph when you are done.</tt></dd></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>anchors</strong></dt>
|
|
<dd><tt>allow for iteration through glyph.anchors</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_anchors">_get_anchors</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>baseName</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_baseName">_get_baseName</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>box</strong></dt>
|
|
<dd><tt>box of glyph as a tuple (xMin, yMin, xMax, yMax)</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_box">_get_box</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>components</strong></dt>
|
|
<dd><tt>allow for iteration through glyph.components</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_components">_get_components</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>contours</strong></dt>
|
|
<dd><tt>allow for iteration through glyph.contours</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_contours">_get_contours</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>return the index of the glyph in the font</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>lib</strong></dt>
|
|
<dd><tt>glyph lib object</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = _get_lib(self)</dt><dd><tt># the lib getter and setter are shared by <a href="#RFont">RFont</a> and <a href="#RGlyph">RGlyph</a></tt></dd></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = _set_lib(self, aDict)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>mark</strong></dt>
|
|
<dd><tt>mark</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_mark">_get_mark</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_mark">_set_mark</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>name</strong></dt>
|
|
<dd><tt>name</tt></dd>
|
|
<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>note</strong></dt>
|
|
<dd><tt>note</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_note">_get_note</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_note">_set_note</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>psName</strong></dt>
|
|
<dd><tt>name</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_psName">_get_psName</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_psName">_set_psName</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>selected</strong></dt>
|
|
<dd><tt>Select or deselect the glyph in the font window</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_selected">_get_selected</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_selected">_set_selected</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>unicode</strong></dt>
|
|
<dd><tt>unicode</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>unicodes</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>
|
|
<dl><dt><strong>width</strong></dt>
|
|
<dd><tt>the width</tt></dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGlyph-_get_width">_get_width</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGlyph-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGlyph-_set_width">_set_width</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-__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-__repr__"><strong>__repr__</strong></a>(self)</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-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-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>
|
|
|
|
<hr>
|
|
Properties inherited from <a href="robofab.objects.objectsBase.html#BaseGlyph">robofab.objects.objectsBase.BaseGlyph</a>:<br>
|
|
<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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL group data<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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 defined here:<br>
|
|
<dl><dt><a name="RGroups-__delitem__"><strong>__delitem__</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-__init__"><strong>__init__</strong></a>(self, aDict)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-clear"><strong>clear</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-pop"><strong>pop</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-popitem"><strong>popitem</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-setdefault"><strong>setdefault</strong></a>(self, key, value<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RGroups-update"><strong>update</strong></a>(self, aDict)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseGroups">robofab.objects.objectsBase.BaseGroups</a>:<br>
|
|
<dl><dt><a name="RGroups-__repr__"><strong>__repr__</strong></a>(self)</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><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-__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-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-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><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><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="RGuide">class <strong>RGuide</strong></a>(<a href="robofab.objects.objectsBase.html#BaseGuide">robofab.objects.objectsBase.BaseGuide</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Guide object<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.html#RGuide">RGuide</a></dd>
|
|
<dd><a href="robofab.objects.objectsBase.html#BaseGuide">robofab.objects.objectsBase.BaseGuide</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="RGuide-__init__"><strong>__init__</strong></a>(self, flGuide, index)</dt></dl>
|
|
|
|
<dl><dt><a name="RGuide-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>angle</strong></dt>
|
|
<dd><tt>angle</tt></dd>
|
|
<dd><dl><dt><a name="RGuide-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGuide-_get_angle">_get_angle</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGuide-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGuide-_set_angle">_set_angle</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt>index of the guide</tt></dd>
|
|
<dd><dl><dt><a name="RGuide-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGuide-_get_index">_get_index</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>position</strong></dt>
|
|
<dd><tt>position</tt></dd>
|
|
<dd><dl><dt><a name="RGuide-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RGuide-_get_position">_get_position</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RGuide-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RGuide-_set_position">_set_position</a>(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="RGuide-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGuide-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="RGuide-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="RGuide-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="RGuide-isRobofab"><strong>isRobofab</strong></a>(self)</dt><dd><tt>Presence of this method indicates a Robofab object</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RGuide-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="RGuide-round"><strong>round</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RGuide-setChanged"><strong>setChanged</strong></a>(self, state<font color="#909090">=True</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RGuide-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><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="RInfo">class <strong>RInfo</strong></a>(<a href="robofab.objects.objectsBase.html#BaseInfo">robofab.objects.objectsBase.BaseInfo</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Font Info<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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, font)</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>full_name</strong></dt>
|
|
<dd><tt>FL: full_name</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_full_name">_get_full_name</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_full_name">_set_full_name</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>ms_charset</strong></dt>
|
|
<dd><tt>FL: ms_charset</tt></dd>
|
|
<dd><dl><dt><a name="RInfo-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RInfo-_get_ms_charset">_get_ms_charset</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RInfo-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RInfo-_set_ms_charset">_set_ms_charset</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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL Kerning data<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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 defined here:<br>
|
|
<dl><dt><a name="RKerning-__add__"><strong>__add__</strong></a>(self, other)</dt><dd><tt>Math operations on FL Kerning objects return RF Kerning objects<br>
|
|
as they need to be orphaned objects and FL can't deal with that.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-__div__"><strong>__div__</strong></a>(self, factor)</dt><dd><tt>Math operations on FL Kerning objects return RF Kerning objects<br>
|
|
as they need to be orphaned objects and FL can't deal with that.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-__mul__"><strong>__mul__</strong></a>(self, factor)</dt><dd><tt>Math operations on FL Kerning objects return RF Kerning objects<br>
|
|
as they need to be orphaned objects and FL can't deal with that.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RKerning-__rmul__"><strong>__rmul__</strong></a> = <a href="#RKerning-__mul__">__mul__</a>(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><dd><tt>Math operations on FL Kerning objects return RF Kerning objects<br>
|
|
as they need to be orphaned objects and FL can't deal with that.</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-update"><strong>update</strong></a>(self, kerningDict)</dt><dd><tt>replace kerning data with the data in the given kerningDict</tt></dd></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseKerning">robofab.objects.objectsBase.BaseKerning</a>:<br>
|
|
<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-__repr__"><strong>__repr__</strong></a>(self)</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-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-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><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 bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>RoboFab wrapper for FL lib<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="robofab.objects.objectsFL.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 defined here:<br>
|
|
<dl><dt><a name="RLib-__delitem__"><strong>__delitem__</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-__init__"><strong>__init__</strong></a>(self, aDict)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-clear"><strong>clear</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-pop"><strong>pop</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-popitem"><strong>popitem</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-setdefault"><strong>setdefault</strong></a>(self, key, value<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="RLib-update"><strong>update</strong></a>(self, aDict)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="robofab.objects.objectsBase.html#BaseLib">robofab.objects.objectsBase.BaseLib</a>:<br>
|
|
<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><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-__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-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-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><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><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.objectsFL.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, pointIndex)</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Copy this object -- result is an ObjectsRF flavored object.<br>
|
|
There is no way to make this work using FontLab objects.<br>
|
|
Copy is mainly used for glyphmath.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RPoint-move"><strong>move</strong></a>(self, (x, y))</dt></dl>
|
|
|
|
<dl><dt><a name="RPoint-scale"><strong>scale</strong></a>(self, (x, y), center<font color="#909090">=(0, 0)</font>)</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>selected</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_selected">_get_selected</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RPoint-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RPoint-_set_selected">_set_selected</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>
|
|
</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-round"><strong>round</strong></a>(self)</dt><dd><tt>round the values in 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><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.objectsFL.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, flNodeIndex)</dt></dl>
|
|
|
|
<dl><dt><a name="RSegment-copy"><strong>copy</strong></a>(self, aParent<font color="#909090">=None</font>)</dt><dd><tt>Copy this object -- result is an ObjectsRF flavored object.<br>
|
|
There is no way to make this work using FontLab objects.<br>
|
|
Copy is mainly used for glyphmath.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="RSegment-move"><strong>move</strong></a>(self, (x, y))</dt></dl>
|
|
|
|
<hr>
|
|
Properties defined here:<br>
|
|
<dl><dt><strong>index</strong></dt>
|
|
<dd><tt></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>points</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RSegment-_get_points">_get_points</a>(self)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>selected</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RSegment-_get_selected">_get_selected</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RSegment-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RSegment-_set_selected">_set_selected</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>smooth</strong></dt>
|
|
<dd><tt></tt></dd>
|
|
<dd><dl><dt><a name="RSegment-<em>get</em>"><strong><em>get</em></strong></a> = <a href="#RSegment-_get_smooth">_get_smooth</a>(self)</dt></dl>
|
|
</dd>
|
|
<dd><dl><dt><a name="RSegment-<em>set</em>"><strong><em>set</em></strong></a> = <a href="#RSegment-_set_smooth">_set_smooth</a>(self, value)</dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><strong>type</strong></dt>
|
|
<dd><tt></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, segmentType)</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-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><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="-Anchor"><strong>Anchor</strong></a>(...)</dt><dd><tt>Anchor</tt></dd></dl>
|
|
<dl><dt><a name="-AuditRecord"><strong>AuditRecord</strong></a>(...)</dt><dd><tt>AuditRecord</tt></dd></dl>
|
|
<dl><dt><a name="-Canvas"><strong>Canvas</strong></a>(...)</dt><dd><tt>Canvas</tt></dd></dl>
|
|
<dl><dt><a name="-Component"><strong>Component</strong></a>(...)</dt><dd><tt>Component</tt></dd></dl>
|
|
<dl><dt><a name="-CurrentFont"><strong>CurrentFont</strong></a>()</dt><dd><tt>Return a RoboFab font object for the currently selected font.</tt></dd></dl>
|
|
<dl><dt><a name="-CurrentGlyph"><strong>CurrentGlyph</strong></a>()</dt><dd><tt>Return a RoboFab glyph object for the currently selected glyph.</tt></dd></dl>
|
|
<dl><dt><a name="-Dialog"><strong>Dialog</strong></a>(...)</dt><dd><tt>Dialog</tt></dd></dl>
|
|
<dl><dt><a name="-Encoding"><strong>Encoding</strong></a>(...)</dt><dd><tt>Encoding</tt></dd></dl>
|
|
<dl><dt><a name="-EncodingRecord"><strong>EncodingRecord</strong></a>(...)</dt><dd><tt>EncodingRecord</tt></dd></dl>
|
|
<dl><dt><a name="-Feature"><strong>Feature</strong></a>(...)</dt><dd><tt>Feature</tt></dd></dl>
|
|
<dl><dt><a name="-Font"><strong>Font</strong></a>(...)</dt><dd><tt><a href="#-Font">Font</a>()</tt></dd></dl>
|
|
<dl><dt><a name="-FontLab"><strong>FontLab</strong></a>(...)</dt><dd><tt>FontLab interface</tt></dd></dl>
|
|
<dl><dt><a name="-Glyph"><strong>Glyph</strong></a>(...)</dt><dd><tt><a href="#-Glyph">Glyph</a>()</tt></dd></dl>
|
|
<dl><dt><a name="-GlyphAudit"><strong>GlyphAudit</strong></a>(...)</dt><dd><tt>GlyphAudit</tt></dd></dl>
|
|
<dl><dt><a name="-Guide"><strong>Guide</strong></a>(...)</dt><dd><tt>Guide</tt></dd></dl>
|
|
<dl><dt><a name="-Hint"><strong>Hint</strong></a>(...)</dt><dd><tt>Hint</tt></dd></dl>
|
|
<dl><dt><a name="-Image"><strong>Image</strong></a>(...)</dt><dd><tt>Image</tt></dd></dl>
|
|
<dl><dt><a name="-KerningArray"><strong>KerningArray</strong></a>(...)</dt><dd><tt><a href="#-KerningArray">KerningArray</a>(void)</tt></dd></dl>
|
|
<dl><dt><a name="-KerningPair"><strong>KerningPair</strong></a>(...)</dt><dd><tt>KerningPair</tt></dd></dl>
|
|
<dl><dt><a name="-Link"><strong>Link</strong></a>(...)</dt><dd><tt>Link</tt></dd></dl>
|
|
<dl><dt><a name="-Matrix"><strong>Matrix</strong></a>(...)</dt><dd><tt><a href="#-Matrix">Matrix</a>()</tt></dd></dl>
|
|
<dl><dt><a name="-NameRecord"><strong>NameRecord</strong></a>(...)</dt><dd><tt>NameRecord</tt></dd></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="-Node"><strong>Node</strong></a>(...)</dt><dd><tt><a href="#-Node">Node</a>()</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.</tt></dd></dl>
|
|
<dl><dt><a name="-Options"><strong>Options</strong></a>(...)</dt><dd><tt>Options interface</tt></dd></dl>
|
|
<dl><dt><a name="-Point"><strong>Point</strong></a>(...)</dt><dd><tt><a href="#-Point">Point</a>(float x,float y)</tt></dd></dl>
|
|
<dl><dt><a name="-RGB"><strong>RGB</strong></a>(...)</dt></dl>
|
|
<dl><dt><a name="-Rect"><strong>Rect</strong></a>(...)</dt><dd><tt><a href="#-Rect">Rect</a>(Point ll,Point ur)</tt></dd></dl>
|
|
<dl><dt><a name="-Replace"><strong>Replace</strong></a>(...)</dt><dd><tt>Replace</tt></dd></dl>
|
|
<dl><dt><a name="-TTGasp"><strong>TTGasp</strong></a>(...)</dt><dd><tt>TTGasp</tt></dd></dl>
|
|
<dl><dt><a name="-TTH"><strong>TTH</strong></a>(...)</dt><dd><tt><a href="#-TTH">TTH</a>()</tt></dd></dl>
|
|
<dl><dt><a name="-TTHCommand"><strong>TTHCommand</strong></a>(...)</dt><dd><tt>TTHCommand</tt></dd></dl>
|
|
<dl><dt><a name="-TTHPoint"><strong>TTHPoint</strong></a>(...)</dt><dd><tt>TTHPoint</tt></dd></dl>
|
|
<dl><dt><a name="-TTHProblem"><strong>TTHProblem</strong></a>(...)</dt><dd><tt>TTHProblem</tt></dd></dl>
|
|
<dl><dt><a name="-TTInfo"><strong>TTInfo</strong></a>(...)</dt><dd><tt>TTInfo</tt></dd></dl>
|
|
<dl><dt><a name="-TTPoint"><strong>TTPoint</strong></a>(...)</dt><dd><tt>TTPoint</tt></dd></dl>
|
|
<dl><dt><a name="-TTStem"><strong>TTStem</strong></a>(...)</dt><dd><tt>TTStem</tt></dd></dl>
|
|
<dl><dt><a name="-TTVdmx"><strong>TTVdmx</strong></a>(...)</dt><dd><tt>TTVdmx</tt></dd></dl>
|
|
<dl><dt><a name="-TrueTypeTable"><strong>TrueTypeTable</strong></a>(...)</dt><dd><tt>TrueTypeTable</tt></dd></dl>
|
|
<dl><dt><a name="-Uni"><strong>Uni</strong></a>(...)</dt><dd><tt><a href="#-Uni">Uni</a>(Int value)</tt></dd></dl>
|
|
<dl><dt><a name="-VArray"><strong>VArray</strong></a>(...)</dt><dd><tt><a href="#-VArray">VArray</a>(void)</tt></dd></dl>
|
|
<dl><dt><a name="-VExAnchorArray"><strong>VExAnchorArray</strong></a>(...)</dt><dd><tt>VExAnchorArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExFontNames"><strong>VExFontNames</strong></a>(...)</dt><dd><tt>VExFontNames</tt></dd></dl>
|
|
<dl><dt><a name="-VExGlyphArray"><strong>VExGlyphArray</strong></a>(...)</dt><dd><tt>VExGlyphArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExGuideArray"><strong>VExGuideArray</strong></a>(...)</dt><dd><tt>VExGuideArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExHintArray"><strong>VExHintArray</strong></a>(...)</dt><dd><tt>VExHintArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExIntArray"><strong>VExIntArray</strong></a>(...)</dt><dd><tt>VExIntArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExLinkArray"><strong>VExLinkArray</strong></a>(...)</dt><dd><tt>VExLinkArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExOTFeatures"><strong>VExOTFeatures</strong></a>(...)</dt><dd><tt>VExOTFeatures</tt></dd></dl>
|
|
<dl><dt><a name="-VExReplaceArray"><strong>VExReplaceArray</strong></a>(...)</dt><dd><tt>VExReplaceArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExSeacArray"><strong>VExSeacArray</strong></a>(...)</dt><dd><tt>VExSeacArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExTTHCommandArray"><strong>VExTTHCommandArray</strong></a>(...)</dt><dd><tt>VExTTHCommandArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExTTHPointArray"><strong>VExTTHPointArray</strong></a>(...)</dt><dd><tt>VExTTHPointArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExTTStemArray"><strong>VExTTStemArray</strong></a>(...)</dt><dd><tt>VExTTStemArray</tt></dd></dl>
|
|
<dl><dt><a name="-VExTTTables"><strong>VExTTTables</strong></a>(...)</dt><dd><tt>VExTTTables</tt></dd></dl>
|
|
<dl><dt><a name="-VSBByteArray"><strong>VSBByteArray</strong></a>(...)</dt><dd><tt>VSBByteArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSICharArray"><strong>VSICharArray</strong></a>(...)</dt><dd><tt>VSICharArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSITTGaspArray"><strong>VSITTGaspArray</strong></a>(...)</dt><dd><tt>VSITTGaspArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSITTVdmxArray"><strong>VSITTVdmxArray</strong></a>(...)</dt><dd><tt>VSITTVdmxArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSSByteArray"><strong>VSSByteArray</strong></a>(...)</dt><dd><tt>VSSByteArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSSTTPointArray"><strong>VSSTTPointArray</strong></a>(...)</dt><dd><tt>VSSTTPointArray</tt></dd></dl>
|
|
<dl><dt><a name="-VSSWordArray"><strong>VSSWordArray</strong></a>(...)</dt><dd><tt>VSSWordArray</tt></dd></dl>
|
|
<dl><dt><a name="-WeightVector"><strong>WeightVector</strong></a>(...)</dt><dd><tt>WeightVector</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>BUTTONCONTROL</strong> = 3<br>
|
|
<strong>CHECKBOXCONTROL</strong> = 2<br>
|
|
<strong>CHOICECONTROL</strong> = 5<br>
|
|
<strong>CORNER</strong> = 'corner'<br>
|
|
<strong>CURVE</strong> = 'curve'<br>
|
|
<strong>Cancel</strong> = 2<br>
|
|
<strong>EDITCONTROL</strong> = 0<br>
|
|
<strong>GLYPH_COPY_ATTRS</strong> = ['name', 'width', 'unicodes', 'note', 'lib']<br>
|
|
<strong>LINE</strong> = 'line'<br>
|
|
<strong>LISTCONTROL</strong> = 4<br>
|
|
<strong>LOCAL_ENCODING</strong> = 'macroman'<br>
|
|
<strong>MAC_TT</strong> = 'macttf'<br>
|
|
<strong>MAC_TT_DFONT</strong> = 'macttdfont'<br>
|
|
<strong>MAC_TYPE1</strong> = 'mactype1'<br>
|
|
<strong>MOVE</strong> = 'move'<br>
|
|
<strong>OFFCURVE</strong> = 'offcurve'<br>
|
|
<strong>OK</strong> = 1<br>
|
|
<strong>OTF_CFF</strong> = 'otfcff'<br>
|
|
<strong>OTF_TT</strong> = 'otfttf'<br>
|
|
<strong>PC_MM</strong> = 'pcmm'<br>
|
|
<strong>PC_MM_ASCII</strong> = 'pcmmascii'<br>
|
|
<strong>PC_TYPE1</strong> = 'pctype1'<br>
|
|
<strong>PC_TYPE1_ASCII</strong> = 'pctype1ascii'<br>
|
|
<strong>PREVIEWCONTROL</strong> = 6<br>
|
|
<strong>QCURVE</strong> = 'qcurve'<br>
|
|
<strong>SS_BITMAP</strong> = 0<br>
|
|
<strong>SS_BLACKFRAME</strong> = 0<br>
|
|
<strong>SS_BLACKRECT</strong> = 0<br>
|
|
<strong>SS_CENTER</strong> = 0<br>
|
|
<strong>SS_CENTERIMAGE</strong> = 0<br>
|
|
<strong>SS_ELLIPSISMASK</strong> = 0<br>
|
|
<strong>SS_ENDELLIPSIS</strong> = 0<br>
|
|
<strong>SS_ENHMETAFILE</strong> = 0<br>
|
|
<strong>SS_ETCHEDFRAME</strong> = 0<br>
|
|
<strong>SS_ETCHEDHORZ</strong> = 0<br>
|
|
<strong>SS_ETCHEDVERT</strong> = 0<br>
|
|
<strong>SS_GRAYFRAME</strong> = 0<br>
|
|
<strong>SS_GRAYRECT</strong> = 0<br>
|
|
<strong>SS_ICON</strong> = 0<br>
|
|
<strong>SS_LEFT</strong> = 0<br>
|
|
<strong>SS_LEFTNOWORDWRAP</strong> = 0<br>
|
|
<strong>SS_NOPREFIX</strong> = 0<br>
|
|
<strong>SS_NOTIFY</strong> = 0<br>
|
|
<strong>SS_OWNERDRAW</strong> = 0<br>
|
|
<strong>SS_PATHELLIPSIS</strong> = 0<br>
|
|
<strong>SS_REALSIZEIMAGE</strong> = 0<br>
|
|
<strong>SS_RIGHT</strong> = 0<br>
|
|
<strong>SS_RIGHTJUST</strong> = 0<br>
|
|
<strong>SS_SIMPLE</strong> = 0<br>
|
|
<strong>SS_SUNKEN</strong> = 0<br>
|
|
<strong>SS_TYPEMASK</strong> = 0<br>
|
|
<strong>SS_USERITEM</strong> = 0<br>
|
|
<strong>SS_WHITEFRAME</strong> = 0<br>
|
|
<strong>SS_WHITERECT</strong> = 0<br>
|
|
<strong>SS_WORDELLIPSIS</strong> = 0<br>
|
|
<strong>STATICCONTROL</strong> = 1<br>
|
|
<strong>STYLE_BUTTON</strong> = 268435456<br>
|
|
<strong>STYLE_CHECKBOX</strong> = 268435459<br>
|
|
<strong>STYLE_CHOICE</strong> = 278921216<br>
|
|
<strong>STYLE_CUSTOM</strong> = 276824064<br>
|
|
<strong>STYLE_EDIT</strong> = 276824064<br>
|
|
<strong>STYLE_FRAME</strong> = 268435456<br>
|
|
<strong>STYLE_LABEL</strong> = 268435456<br>
|
|
<strong>STYLE_LIST</strong> = 278921216<br>
|
|
<strong>TR_CODE_3D</strong> = 25<br>
|
|
<strong>TR_CODE_3DROTATE</strong> = 26<br>
|
|
<strong>TR_CODE_ADJUST</strong> = 33<br>
|
|
<strong>TR_CODE_ALIGNMENT</strong> = 15<br>
|
|
<strong>TR_CODE_ALIGNWIDTH</strong> = 20<br>
|
|
<strong>TR_CODE_AUTOHINT</strong> = 6<br>
|
|
<strong>TR_CODE_AUTOREPLACE</strong> = 8<br>
|
|
<strong>TR_CODE_AUTOSPACING</strong> = 21<br>
|
|
<strong>TR_CODE_BEARING</strong> = 19<br>
|
|
<strong>TR_CODE_BOLD</strong> = 22<br>
|
|
<strong>TR_CODE_COLLEGE</strong> = 23<br>
|
|
<strong>TR_CODE_CONVERT2</strong> = 13<br>
|
|
<strong>TR_CODE_CONVERT3</strong> = 12<br>
|
|
<strong>TR_CODE_DECOMPOSE</strong> = 11<br>
|
|
<strong>TR_CODE_DROP_TTH</strong> = 32<br>
|
|
<strong>TR_CODE_ENVELOPE</strong> = 29<br>
|
|
<strong>TR_CODE_EXTREMES</strong> = 16<br>
|
|
<strong>TR_CODE_GRADIENT</strong> = 27<br>
|
|
<strong>TR_CODE_MAKELAYER</strong> = 30<br>
|
|
<strong>TR_CODE_MIRROR</strong> = 1<br>
|
|
<strong>TR_CODE_OPTIMIZE</strong> = 31<br>
|
|
<strong>TR_CODE_OVERLAP</strong> = 17<br>
|
|
<strong>TR_CODE_RANDOM</strong> = 28<br>
|
|
<strong>TR_CODE_REMOVE</strong> = 5<br>
|
|
<strong>TR_CODE_REVERSE_ALL</strong> = 14<br>
|
|
<strong>TR_CODE_ROTATE</strong> = 3<br>
|
|
<strong>TR_CODE_SCALE</strong> = 2<br>
|
|
<strong>TR_CODE_SHADOW</strong> = 24<br>
|
|
<strong>TR_CODE_SHIFT</strong> = 0<br>
|
|
<strong>TR_CODE_SLANT</strong> = 4<br>
|
|
<strong>TR_CODE_TOHINTS</strong> = 10<br>
|
|
<strong>TR_CODE_TOLINKS</strong> = 9<br>
|
|
<strong>TR_CODE_TT_AUTOHINT</strong> = 7<br>
|
|
<strong>TR_CODE_WIDTH</strong> = 18<br>
|
|
<strong>TTFLAGS_CREATE_CHARACTERS</strong> = 262144<br>
|
|
<strong>TTFLAGS_CREATE_HDMX</strong> = 524288<br>
|
|
<strong>TTFLAGS_CREATE_VDMX</strong> = 131072<br>
|
|
<strong>TTFLAGS_CREATE_VMTX</strong> = 1048576<br>
|
|
<strong>UNIX_ASCII</strong> = 'unixascii'<br>
|
|
<strong>WS_BORDER</strong> = 8388608<br>
|
|
<strong>WS_CAPTION</strong> = 12582912<br>
|
|
<strong>WS_CHILD</strong> = 1073741824<br>
|
|
<strong>WS_CLIPCHILDREN</strong> = 33554432<br>
|
|
<strong>WS_CLIPSIBLINGS</strong> = 67108864<br>
|
|
<strong>WS_DISABLED</strong> = 134217728<br>
|
|
<strong>WS_DLGFRAME</strong> = 4194304<br>
|
|
<strong>WS_GROUP</strong> = 131072<br>
|
|
<strong>WS_HSCROLL</strong> = 1048576<br>
|
|
<strong>WS_MAXIMIZE</strong> = 16777216<br>
|
|
<strong>WS_MAXIMIZEBOX</strong> = 65536<br>
|
|
<strong>WS_MINIMIZE</strong> = 536870912<br>
|
|
<strong>WS_MINIMIZEBOX</strong> = 131072<br>
|
|
<strong>WS_OVERLAPPED</strong> = 0<br>
|
|
<strong>WS_OVERLAPPEDWINDOW</strong> = 13565952<br>
|
|
<strong>WS_POPUP</strong> = -2147483648<br>
|
|
<strong>WS_POPUPWINDOW</strong> = -2138570752<br>
|
|
<strong>WS_SYSMENU</strong> = 524288<br>
|
|
<strong>WS_TABSTOP </strong> = 65536<br>
|
|
<strong>WS_THICKFRAME</strong> = 262144<br>
|
|
<strong>WS_VISIBLE</strong> = 268435456<br>
|
|
<strong>WS_VSCROLL</strong> = 2097152<br>
|
|
<strong>aALIGN</strong> = -100<br>
|
|
<strong>aAUTO</strong> = -105<br>
|
|
<strong>aIDENT</strong> = -102<br>
|
|
<strong>aIDENT2</strong> = -103<br>
|
|
<strong>aIDENT3</strong> = -104<br>
|
|
<strong>aNEXT</strong> = -101<br>
|
|
<strong>aSAME</strong> = -106<br>
|
|
<strong>cBRUSH_NULL</strong> = 1<br>
|
|
<strong>cBRUSH_SOLID</strong> = 0<br>
|
|
<strong>cDS_AND</strong> = 1<br>
|
|
<strong>cDS_BLACK</strong> = 0<br>
|
|
<strong>cDS_COPY</strong> = 8<br>
|
|
<strong>cDS_NOT</strong> = 3<br>
|
|
<strong>cDS_NOTAND</strong> = 5<br>
|
|
<strong>cDS_NOTCOPY</strong> = 12<br>
|
|
<strong>cDS_NOTOR</strong> = 7<br>
|
|
<strong>cDS_NOTXOR</strong> = 14<br>
|
|
<strong>cDS_OR</strong> = 3<br>
|
|
<strong>cDS_WHITE</strong> = 1<br>
|
|
<strong>cDS_XOR</strong> = 10<br>
|
|
<strong>cPEN_DASH</strong> = 3<br>
|
|
<strong>cPEN_DOT</strong> = 2<br>
|
|
<strong>cPEN_NULL</strong> = 1<br>
|
|
<strong>cPEN_SOLID</strong> = 0<br>
|
|
<strong>cRECT_3DDOWN</strong> = 2<br>
|
|
<strong>cRECT_3DDOWN_FLAT</strong> = 6<br>
|
|
<strong>cRECT_3DDOWN_SOLID</strong> = 3<br>
|
|
<strong>cRECT_3DUP</strong> = 4<br>
|
|
<strong>cRECT_3DUP_FLAT</strong> = 7<br>
|
|
<strong>cRECT_3DUP_SOLID</strong> = 5<br>
|
|
<strong>cRECT_BLACK_FRAME</strong> = 8<br>
|
|
<strong>cRECT_BLACK_SOLID</strong> = 10<br>
|
|
<strong>cRECT_BLACK_THICK_FRAME</strong> = 9<br>
|
|
<strong>cRECT_ELLIPSE</strong> = 1<br>
|
|
<strong>cRECT_FOCUS</strong> = 11<br>
|
|
<strong>cRECT_GRAY_FRAME</strong> = 13<br>
|
|
<strong>cRECT_GRAY_SOLID</strong> = 14<br>
|
|
<strong>cRECT_INVERT</strong> = 19<br>
|
|
<strong>cRECT_LTGRAY_SOLID</strong> = 15<br>
|
|
<strong>cRECT_RECTANGLE</strong> = 0<br>
|
|
<strong>cRECT_SIZE</strong> = 12<br>
|
|
<strong>cRECT_WHITE_SOLID</strong> = 16<br>
|
|
<strong>cRECT_YELLOW_FRAME</strong> = 17<br>
|
|
<strong>cRECT_YELLOW_SOLID</strong> = 18<br>
|
|
<strong>cRGB_BLACK</strong> = -16777216<br>
|
|
<strong>cRGB_BLUE</strong> = -16776961<br>
|
|
<strong>cRGB_GRAY</strong> = -8355712<br>
|
|
<strong>cRGB_GREEN</strong> = -16711936<br>
|
|
<strong>cRGB_LTGRAY</strong> = -4144960<br>
|
|
<strong>cRGB_RED</strong> = -65536<br>
|
|
<strong>cRGB_WHITE</strong> = -1<br>
|
|
<strong>cRGB_YELLOW</strong> = -128<br>
|
|
<strong>cTO_BOTTOM</strong> = 64<br>
|
|
<strong>cTO_CENTER</strong> = 4<br>
|
|
<strong>cTO_LEFT</strong> = 8<br>
|
|
<strong>cTO_RIGHT</strong> = 16<br>
|
|
<strong>cTO_TOP</strong> = 32<br>
|
|
<strong>cTO_VCENTER</strong> = 2<br>
|
|
<strong>fl</strong> = <FontLab Fonts: 0><br>
|
|
<strong>flCURVE</strong> = 35<br>
|
|
<strong>flFIXED</strong> = 12288<br>
|
|
<strong>flLINE</strong> = 1<br>
|
|
<strong>flMOVE</strong> = 17<br>
|
|
<strong>flOFFCURVE</strong> = 65<br>
|
|
<strong>flSHARP</strong> = 0<br>
|
|
<strong>flSMOOTH</strong> = 4096<br>
|
|
<strong>ftFONTLAB</strong> = 0<br>
|
|
<strong>ftMACTRUETYPE</strong> = 30<br>
|
|
<strong>ftMACTRUETYPE_DFONT</strong> = 31<br>
|
|
<strong>ftMACTYPE1</strong> = 23<br>
|
|
<strong>ftOPENTYPE</strong> = 6<br>
|
|
<strong>ftTRUETYPE</strong> = 3<br>
|
|
<strong>ftTYPE1</strong> = 1<br>
|
|
<strong>ftTYPE1ASCII</strong> = 2<br>
|
|
<strong>ftTYPE1ASCII_MM</strong> = 21<br>
|
|
<strong>ftTYPE1_MM</strong> = 20<br>
|
|
<strong>ftTYPE42</strong> = 29<br>
|
|
<strong>k</strong> = 1<br>
|
|
<strong>mtADDKERNING</strong> = 32<br>
|
|
<strong>mtALLMETRICS</strong> = 1<br>
|
|
<strong>mtAUTOKERNING</strong> = 64<br>
|
|
<strong>mtCLOSEMETRICS</strong> = 8<br>
|
|
<strong>mtREPLACEKERNING</strong> = 16<br>
|
|
<strong>mtREPLACENAMES</strong> = 512<br>
|
|
<strong>mtREPLACEOTHERDATA</strong> = 256<br>
|
|
<strong>mtTHICKERMETRICS</strong> = 2<br>
|
|
<strong>mtWIDERMETRIC</strong> = 4<br>
|
|
<strong>nCURVE</strong> = 35<br>
|
|
<strong>nFIXED</strong> = 12288<br>
|
|
<strong>nLINE</strong> = 1<br>
|
|
<strong>nMOVE</strong> = 17<br>
|
|
<strong>nOFF</strong> = 65<br>
|
|
<strong>nSHARP</strong> = 0<br>
|
|
<strong>nSMOOTH</strong> = 4096<br>
|
|
<strong>options</strong> = <FontLab Options><br>
|
|
<strong>v</strong> = 'line'</td></tr></table>
|
|
</body></html> |