KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIFONT Namespace Reference

Classes

struct  CONTOUR
 
class  FONT
 FONT is an abstract base class for both outline and stroke fonts. More...
 
class  GLYPH
 
struct  GLYPH_DATA
 
class  METRICS
 
class  OUTLINE_DECOMPOSER
 
class  OUTLINE_FONT
 Class OUTLINE_FONT implements outline font drawing. More...
 
class  OUTLINE_GLYPH
 
class  STROKE_FONT
 Implement a stroke font drawing. More...
 
class  STROKE_GLYPH
 
class  VERSION_INFO
 Container for library version helpers. More...
 

Variables

constexpr int GLYPH_DEFAULT_DPI = 72
 FreeType default. More...
 
constexpr int GLYPH_RESOLUTION = 288
 
constexpr double GLYPH_SIZE_SCALER = GLYPH_DEFAULT_DPI / (double) GLYPH_RESOLUTION
 

Variable Documentation

◆ GLYPH_DEFAULT_DPI

constexpr int KIFONT::GLYPH_DEFAULT_DPI = 72
constexpr

FreeType default.

Definition at line 43 of file glyph.h.

◆ GLYPH_RESOLUTION

constexpr int KIFONT::GLYPH_RESOLUTION = 288
constexpr

◆ GLYPH_SIZE_SCALER

constexpr double KIFONT::GLYPH_SIZE_SCALER = GLYPH_DEFAULT_DPI / (double) GLYPH_RESOLUTION
constexpr

Definition at line 47 of file glyph.h.

Referenced by KIFONT::OUTLINE_FONT::getTextAsGlyphsUnlocked(), and toVector2D().