

<a name="fontgate.fgMatrix"></a>

# `fgMatrix`


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


<pre class="doc" markdown="0">Transformation matrix representation

Constructors:
  fgMatrix() - default
  fgMatrix(fgMatrix) - copy
  fgMatrix(float m11, float m12, float m21, float m22, float dx, float dy)

Math operation:
  fgMatrix * fgMatrix</pre>


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

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

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

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

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__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="fgMatrix-__eq__" href="#fgMatrix-__eq__"><span class="function-name">__eq__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__eq__">__eq__</a>(y) <==> x==y</pre>

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__ge__">__ge__</a>(y) <==> x>=y</pre>

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

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

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

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

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

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__gt__">__gt__</a>(y) <==> x>y</pre>

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__le__">__le__</a>(y) <==> x<=y</pre>

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__lt__">__lt__</a>(y) <==> x<y</pre>

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__mul__">__mul__</a>(y) <==> x*y</pre>

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__ne__">__ne__</a>(y) <==> x!=y</pre>

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__rmul__">__rmul__</a>(y) <==> y*x</pre>

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

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

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

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

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

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__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="fgMatrix-__str__" href="#fgMatrix-__str__"><span class="function-name">__str__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgMatrix-__str__">__str__</a>() <==> str(x)</pre>

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

<pre class="doc" markdown="0">represent object as dictionary</pre>

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

<pre class="doc" markdown="0">represent object as tuple</pre>

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

<pre class="doc" markdown="0"><a href="#fontgate.fgMatrix-assign">assign</a>(fgMatrix) or <a href="#fontgate.fgMatrix-assign">assign</a>(m11, m12, m21, m22, dx, dy)</pre>

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

<pre class="doc" markdown="0">float <a href="#fontgate.fgMatrix-determinant">determinant</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-invert">invert</a>()</pre>

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

<pre class="doc" markdown="0">fgMatrix <a href="#fontgate.fgMatrix-inverted">inverted</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-invertible">invertible</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-noMove">noMove</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-noRotate">noRotate</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-noScale">noScale</a>()</pre>

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

<pre class="doc" markdown="0"><a href="#fontgate.fgMatrix-scale">scale</a>(float s)</pre>

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

<pre class="doc" markdown="0"><a href="#fontgate.fgMatrix-slant">slant</a>(float angle) or float <a href="#fontgate.fgMatrix-slant">slant</a>()</pre>

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

<pre class="doc" markdown="0">bool <a href="#fontgate.fgMatrix-standard">standard</a>()</pre>

</dd></dl>

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

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

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

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

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

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

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

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

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

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

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

<pre class="doc" markdown="0"></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="#fontgate.fgMatrix-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</pre>

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


<a name="fontgate.fgMatrix.asDict"></a>

## `asDict`


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

<pre class="doc" markdown="0">represent object as dictionary</pre>

</dd></dl>



<a name="fontgate.fgMatrix.assign"></a>

## `assign`


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

<pre class="doc" markdown="0">assign(fgMatrix) or assign(m11, m12, m21, m22, dx, dy)</pre>

</dd></dl>



<a name="fontgate.fgMatrix.asTuple"></a>

## `asTuple`


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

<pre class="doc" markdown="0">represent object as tuple</pre>

</dd></dl>



<a name="fontgate.fgMatrix.determinant"></a>

## `determinant`


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

<pre class="doc" markdown="0">float determinant()</pre>

</dd></dl>



<a name="fontgate.fgMatrix.invert"></a>

## `invert`


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

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

</dd></dl>



<a name="fontgate.fgMatrix.inverted"></a>

## `inverted`


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

<pre class="doc" markdown="0">fgMatrix inverted()</pre>

</dd></dl>



<a name="fontgate.fgMatrix.invertible"></a>

## `invertible`


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

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

</dd></dl>



<a name="fontgate.fgMatrix.noMove"></a>

## `noMove`


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

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

</dd></dl>



<a name="fontgate.fgMatrix.noRotate"></a>

## `noRotate`


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

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

</dd></dl>



<a name="fontgate.fgMatrix.noScale"></a>

## `noScale`


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

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

</dd></dl>



<a name="fontgate.fgMatrix.scale"></a>

## `scale`


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

<pre class="doc" markdown="0">scale(float s)</pre>

</dd></dl>



<a name="fontgate.fgMatrix.slant"></a>

## `slant`


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

<pre class="doc" markdown="0">slant(float angle) or float slant()</pre>

</dd></dl>



<a name="fontgate.fgMatrix.standard"></a>

## `standard`


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

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

</dd></dl>

