.. highlight:: python

################
Object Reference
################

FontParts scripts are built on with objects that represent fonts, glyphs, contours and so on. The objects are obtained through :ref:`fontparts-world`.


.. _fontparts-objects:

*******
Objects
*******

.. image:: ../_static/fontparts-map.png

.. toctree::
   :maxdepth: 1

   font
   info
   groups
   kerning
   features
   lib
   layer
   glyph
   contour
   segment
   bpoint
   point
   component
   anchor
   image
   guideline

***********
Value Types
***********

FontParts uses some common value types.

.. toctree::
   :maxdepth: 2

   valuetypes

.. _fontparts-world:

***************
fontParts.world
***************

.. module:: fontParts.world

.. note::
   We still need to decide if we need a ``world`` module or if we should recommend namespace injection.

.. autofunction:: AllFonts
.. autofunction:: NewFont
.. autofunction:: OpenFont
.. autofunction:: CurrentFont
.. autofunction:: CurrentLayer
.. autofunction:: CurrentGlyph

.. note::
   CurrentContour() CurrentSegment() CurrentPoint() CurrentAnchor() CurrentGuideline()


.. highlight:: python

################
Object Reference
################

FontParts scripts are built on with objects that represent fonts, glyphs, contours and so on. The objects are obtained through :ref:`fontparts-world`.


.. _fontparts-objects:

*******
Objects
*******

.. image:: ../_static/fontparts-map.png

.. toctree::
   :maxdepth: 1

   font
   info
   groups
   kerning
   features
   lib
   layer
   glyph
   contour
   segment
   bpoint
   point
   component
   anchor
   image
   guideline

***********
Value Types
***********

FontParts uses some common value types.

.. toctree::
   :maxdepth: 2

   valuetypes

.. _fontparts-world:

***************
fontParts.world
***************

.. module:: fontParts.world

.. note::
   We still need to decide if we need a ``world`` module or if we should recommend namespace injection.

.. autofunction:: AllFonts
.. autofunction:: NewFont
.. autofunction:: OpenFont
.. autofunction:: CurrentFont
.. autofunction:: CurrentLayer
.. autofunction:: CurrentGlyph
.. autofunction:: CurrentContours
.. autofunction:: CurrentSegments
.. autofunction:: CurrentPoints
.. autofunction:: CurrentComponents
.. autofunction:: CurrentAnchors
.. autofunction:: CurrentGuidelines

Add new functions to the documentation.
Add new functions to the documentation.
