Rasterfarm-SDK
|
#include <polygonalfont.h>
Classes | |
struct | Header |
Public Attributes | |
struct PFF::Header | header |
HeapArray< Vertex2f > | charVertexPosition |
HeapArray< uint > | contourSize |
HeapArray< uint > | contourIndexSize |
HeapArray< uint > | contourIndex |
HeapArray< uint > | triangleSize |
HeapArray< uint > | faceSize |
HeapArray< Array< uint, 4 > > | triangleIndex |
HeapArray< uint > | vertexSize |
HeapArray< Vertex2f > | vertex |
Static Public Attributes | |
static constexpr char | magicString [] = "POLYGONFONT" |
The Polygon-Font Format describes a set of glyphs containing contours(holes and hulls) with the associated triangulation. As more often than not runtime tessellation of fonts is inappropriate, storing this data in a defined format reduces the time-to-render for applications.
HeapArray< Vertex2f > PFF::charVertexPosition |
The displayed vertex-position for each charecter in the set;
HeapArray< uint > PFF::contourIndex |
The vertex-index data for all contours in the charector-set.
HeapArray< uint > PFF::contourIndexSize |
The size of each contour for all contours in the charector-set.
HeapArray< uint > PFF::contourSize |
The number of contours for each charecter in the set;
HeapArray< uint > PFF::faceSize |
The number of faces for each charecter in the set;
struct PFF::Header PFF::header |
|
staticconstexpr |
HeapArray< Array< uint, 4 > > PFF::triangleIndex |
The vertex-index data for all triangles in the charector-set. The first 3 indices are for the vertices and the last index is for the face.
HeapArray< uint > PFF::triangleSize |
The number of triangles for each charecter in the set;
HeapArray< Vertex2f > PFF::vertex |
The vertex-data data for all contours in the charector-set.
HeapArray< uint > PFF::vertexSize |
The number of vertices for each charecter in the set;