

<a name="fontlab.CurveEx"></a>

# `CurveEx`


<dt class="class"><h2><span class="class-name">fontlab.CurveEx</span> = <a name="fontlab.CurveEx" href="#fontlab.CurveEx">class CurveEx</a>(<a href="./__builtin__.html#object">object</a>)</h2></dt><dd class="class"><dd>


<pre class="doc" markdown="0">CurveEx representation

Constructors:
  CurveEx() - default
  CurveEx(QPointF p0, QPointF p1[, int leftIdx=0[, int _rightIdx=0]])
  CurveEx(QPointF p0, QPointF p1, QPointF p2, QPointF p3)
  CurveEx( list(QPointF) )</pre>


</dd><h4 class="head-methods">Methods </h4><dl class="function"><dt><a name="CurveEx-__add__" href="#CurveEx-__add__"><span class="function-name">__add__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__add__">__add__</a>(y) <==> x+y</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__delattr__" href="#CurveEx-__delattr__"><span class="function-name">__delattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__delattr__">__delattr__</a>('name') <==> del x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__delitem__" href="#CurveEx-__delitem__"><span class="function-name">__delitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__delitem__">__delitem__</a>(y) <==> del x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__delslice__" href="#CurveEx-__delslice__"><span class="function-name">__delslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__delslice__">__delslice__</a>(i, j) <==> del x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__getattribute__" href="#CurveEx-__getattribute__"><span class="function-name">__getattribute__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__getattribute__">__getattribute__</a>('name') <==> x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__getitem__" href="#CurveEx-__getitem__"><span class="function-name">__getitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__getitem__">__getitem__</a>(y) <==> x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__getslice__" href="#CurveEx-__getslice__"><span class="function-name">__getslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__getslice__">__getslice__</a>(i, j) <==> x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__init__" href="#CurveEx-__init__"><span class="function-name">__init__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__len__" href="#CurveEx-__len__"><span class="function-name">__len__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__len__">__len__</a>() <==> len(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__mul__" href="#CurveEx-__mul__"><span class="function-name">__mul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__mul__">__mul__</a>(n) <==> x*n</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__repr__" href="#CurveEx-__repr__"><span class="function-name">__repr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__repr__">__repr__</a>() <==> repr(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__rmul__" href="#CurveEx-__rmul__"><span class="function-name">__rmul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__rmul__">__rmul__</a>(n) <==> n*x</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__setattr__" href="#CurveEx-__setattr__"><span class="function-name">__setattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__setattr__">__setattr__</a>('name', value) <==> x.name = value</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__setitem__" href="#CurveEx-__setitem__"><span class="function-name">__setitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-__setslice__" href="#CurveEx-__setslice__"><span class="function-name">__setslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontlab.CurveEx-__setslice__">__setslice__</a>(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-applyTransform" href="#CurveEx-applyTransform"><span class="function-name">applyTransform</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">void <a href="#fontlab.CurveEx-applyTransform">applyTransform</a>(QTransform& tx)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-empty" href="#CurveEx-empty"><span class="function-name">empty</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontlab.CurveEx-empty">empty</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-extremum" href="#CurveEx-extremum"><span class="function-name">extremum</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontlab.CurveEx-extremum">extremum</a>(CurveEx prev)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-fastLength" href="#CurveEx-fastLength"><span class="function-name">fastLength</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">double <a href="#fontlab.CurveEx-fastLength">fastLength</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-improve" href="#CurveEx-improve"><span class="function-name">improve</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontlab.CurveEx-improve">improve</a>([double curvature = 1.0])</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-smooth" href="#CurveEx-smooth"><span class="function-name">smooth</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontlab.CurveEx-smooth">smooth</a>(CurveEx prev)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-smoothCurvature" href="#CurveEx-smoothCurvature"><span class="function-name">smoothCurvature</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">CurveEx <a href="#fontlab.CurveEx-smoothCurvature">smoothCurvature</a>(CurveEx c1, bool complete)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-split" href="#CurveEx-split"><span class="function-name">split</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontlab.CurveEx-split">split</a>(CurveEx, CurveEx)</pre>

</dd></dl>
<dl class="function"><dt><a name="CurveEx-updateBRect" href="#CurveEx-updateBRect"><span class="function-name">updateBRect</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">void <a href="#fontlab.CurveEx-updateBRect">updateBRect</a>()</pre>

</dd></dl>

  <h4 class="head-desc">Descriptors </h4><dl class="descriptor"><dt>bcp0</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcp0</pre>

</dd>
</dl>
<dl class="descriptor"><dt>bcp1</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcp1</pre>

</dd>
</dl>
<dl class="descriptor"><dt>bcv0</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcv0</pre>

</dd>
</dl>
<dl class="descriptor"><dt>bcv1</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcv1</pre>

</dd>
</dl>
<dl class="descriptor"><dt>brect</dt>
<dd>

<pre class="doc" markdown="0">QRectF</pre>

</dd>
</dl>
<dl class="descriptor"><dt>contourIx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>
<dl class="descriptor"><dt>countPoints</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>
<dl class="descriptor"><dt>leftIdx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>
<dl class="descriptor"><dt>p0</dt>
<dd>

<pre class="doc" markdown="0">QPointF p0</pre>

</dd>
</dl>
<dl class="descriptor"><dt>p1</dt>
<dd>

<pre class="doc" markdown="0">QPointF p1</pre>

</dd>
</dl>
<dl class="descriptor"><dt>paramT</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>
<dl class="descriptor"><dt>rightIdx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>

  <h4 class="head-attrs">Attributes </h4><dl><dt><span class="other-name">__new__</span> = &lt;built-in method __new__ of type object&gt;<dd>

<pre class="doc" markdown="0">T.<a href="#fontlab.CurveEx-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</pre>

</dd></dl>
</dd>


<a name="fontlab.CurveEx.applyTransform"></a>

## `applyTransform`


<dl class="function"><dt><a name="-fontlab.CurveEx.applyTransform" href="#-fontlab.CurveEx.applyTransform"><span class="function-name">fontlab.CurveEx.applyTransform</span></a> = applyTransform<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">void applyTransform(QTransform& tx)</pre>

</dd></dl>



<a name="fontlab.CurveEx.bcp0"></a>

## `bcp0`


<dl class="descriptor"><dt>fontlab.CurveEx.bcp0</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcp0</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.bcp1"></a>

## `bcp1`


<dl class="descriptor"><dt>fontlab.CurveEx.bcp1</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcp1</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.bcv0"></a>

## `bcv0`


<dl class="descriptor"><dt>fontlab.CurveEx.bcv0</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcv0</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.bcv1"></a>

## `bcv1`


<dl class="descriptor"><dt>fontlab.CurveEx.bcv1</dt>
<dd>

<pre class="doc" markdown="0">QPointF bcv1</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.brect"></a>

## `brect`


<dl class="descriptor"><dt>fontlab.CurveEx.brect</dt>
<dd>

<pre class="doc" markdown="0">QRectF</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.contourIx"></a>

## `contourIx`


<dl class="descriptor"><dt>fontlab.CurveEx.contourIx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.countPoints"></a>

## `countPoints`


<dl class="descriptor"><dt>fontlab.CurveEx.countPoints</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.empty"></a>

## `empty`


<dl class="function"><dt><a name="-fontlab.CurveEx.empty" href="#-fontlab.CurveEx.empty"><span class="function-name">fontlab.CurveEx.empty</span></a> = empty<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool empty()</pre>

</dd></dl>



<a name="fontlab.CurveEx.extremum"></a>

## `extremum`


<dl class="function"><dt><a name="-fontlab.CurveEx.extremum" href="#-fontlab.CurveEx.extremum"><span class="function-name">fontlab.CurveEx.extremum</span></a> = extremum<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool extremum(CurveEx prev)</pre>

</dd></dl>



<a name="fontlab.CurveEx.fastLength"></a>

## `fastLength`


<dl class="function"><dt><a name="-fontlab.CurveEx.fastLength" href="#-fontlab.CurveEx.fastLength"><span class="function-name">fontlab.CurveEx.fastLength</span></a> = fastLength<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">double fastLength()</pre>

</dd></dl>



<a name="fontlab.CurveEx.improve"></a>

## `improve`


<dl class="function"><dt><a name="-fontlab.CurveEx.improve" href="#-fontlab.CurveEx.improve"><span class="function-name">fontlab.CurveEx.improve</span></a> = improve<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool improve([double curvature = 1.0])</pre>

</dd></dl>



<a name="fontlab.CurveEx.leftIdx"></a>

## `leftIdx`


<dl class="descriptor"><dt>fontlab.CurveEx.leftIdx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.p0"></a>

## `p0`


<dl class="descriptor"><dt>fontlab.CurveEx.p0</dt>
<dd>

<pre class="doc" markdown="0">QPointF p0</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.p1"></a>

## `p1`


<dl class="descriptor"><dt>fontlab.CurveEx.p1</dt>
<dd>

<pre class="doc" markdown="0">QPointF p1</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.paramT"></a>

## `paramT`


<dl class="descriptor"><dt>fontlab.CurveEx.paramT</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.rightIdx"></a>

## `rightIdx`


<dl class="descriptor"><dt>fontlab.CurveEx.rightIdx</dt>
<dd>

<pre class="doc" markdown="0">int</pre>

</dd>
</dl>



<a name="fontlab.CurveEx.smooth"></a>

## `smooth`


<dl class="function"><dt><a name="-fontlab.CurveEx.smooth" href="#-fontlab.CurveEx.smooth"><span class="function-name">fontlab.CurveEx.smooth</span></a> = smooth<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool smooth(CurveEx prev)</pre>

</dd></dl>



<a name="fontlab.CurveEx.smoothCurvature"></a>

## `smoothCurvature`


<dl class="function"><dt><a name="-fontlab.CurveEx.smoothCurvature" href="#-fontlab.CurveEx.smoothCurvature"><span class="function-name">fontlab.CurveEx.smoothCurvature</span></a> = smoothCurvature<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">CurveEx smoothCurvature(CurveEx c1, bool complete)</pre>

</dd></dl>



<a name="fontlab.CurveEx.split"></a>

## `split`


<dl class="function"><dt><a name="-fontlab.CurveEx.split" href="#-fontlab.CurveEx.split"><span class="function-name">fontlab.CurveEx.split</span></a> = split<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool split(CurveEx, CurveEx)</pre>

</dd></dl>



<a name="fontlab.CurveEx.updateBRect"></a>

## `updateBRect`


<dl class="function"><dt><a name="-fontlab.CurveEx.updateBRect" href="#-fontlab.CurveEx.updateBRect"><span class="function-name">fontlab.CurveEx.updateBRect</span></a> = updateBRect<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">void updateBRect()</pre>

</dd></dl>

