Rasterfarm-SDK
Loading...
Searching...
No Matches
PFF Class Reference

#include <polygonalfont.h>

Classes

struct  Header
 

Public Attributes

struct PFF::Header header
 
HeapArray< Vertex2fcharVertexPosition
 
HeapArray< uint > contourSize
 
HeapArray< uint > contourIndexSize
 
HeapArray< uint > contourIndex
 
HeapArray< uint > triangleSize
 
HeapArray< uint > faceSize
 
HeapArray< Array< uint, 4 > > triangleIndex
 
HeapArray< uint > vertexSize
 
HeapArray< Vertex2fvertex
 

Static Public Attributes

static constexpr char magicString [] = "POLYGONFONT"
 

Detailed Description

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.

Member Data Documentation

◆ charVertexPosition

HeapArray< Vertex2f > PFF::charVertexPosition

The displayed vertex-position for each charecter in the set;

◆ contourIndex

HeapArray< uint > PFF::contourIndex

The vertex-index data for all contours in the charector-set.

◆ contourIndexSize

HeapArray< uint > PFF::contourIndexSize

The size of each contour for all contours in the charector-set.

◆ contourSize

HeapArray< uint > PFF::contourSize

The number of contours for each charecter in the set;

◆ faceSize

HeapArray< uint > PFF::faceSize

The number of faces for each charecter in the set;

◆ header

struct PFF::Header PFF::header

◆ magicString

char PFF::magicString[] = "POLYGONFONT"
staticconstexpr

◆ triangleIndex

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.

◆ triangleSize

HeapArray< uint > PFF::triangleSize

The number of triangles for each charecter in the set;

◆ vertex

HeapArray< Vertex2f > PFF::vertex

The vertex-data data for all contours in the charector-set.

◆ vertexSize

HeapArray< uint > PFF::vertexSize

The number of vertices for each charecter in the set;


The documentation for this class was generated from the following file: