58 lines
3.3 KiB
HTML
58 lines
3.3 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module robofab.pens.basePen</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.pens.html"><font color="#ffffff">pens</font></a>.basePen</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/tal/robofab/projects/robofab/Lib/robofab/pens/basePen.py">/Users/tal/robofab/projects/robofab/Lib/robofab/pens/basePen.py</a></font></td></tr></table>
|
|
<p><tt>A really simple pen that just prints whatever it gets.<br>
|
|
To illustrate the functioning of pens and how they interact<br>
|
|
with glyph objects.</tt></p>
|
|
<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.pens.basePen.html#BasePen">BasePen</a>
|
|
</font></dt></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="BasePen">class <strong>BasePen</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>Base class for pens, this one just prints when it's called<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="BasePen-__init__"><strong>__init__</strong></a>(self, glyph)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-addAnchor"><strong>addAnchor</strong></a>(self, name, (x, y))</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-addComponent"><strong>addComponent</strong></a>(self, baseName, offset<font color="#909090">=(0, 0)</font>, scale<font color="#909090">=(1, 1)</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-closePath"><strong>closePath</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-curveTo"><strong>curveTo</strong></a>(self, pt1, pt2, pt3, smooth<font color="#909090">=False</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-doneDrawing"><strong>doneDrawing</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-lineTo"><strong>lineTo</strong></a>(self, pt, smooth<font color="#909090">=False</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-moveTo"><strong>moveTo</strong></a>(self, pt, smooth<font color="#909090">=False</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-qCurveTo"><strong>qCurveTo</strong></a>(self, *pts, **kwargs)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-setNote"><strong>setNote</strong></a>(self, note)</dt></dl>
|
|
|
|
<dl><dt><a name="BasePen-setWidth"><strong>setWidth</strong></a>(self, width)</dt></dl>
|
|
|
|
</td></tr></table></td></tr></table>
|
|
</body></html> |