Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
font.h File Reference
#include <string>

Go to the source code of this file.

Classes

class  Font
 

Variables

static const float LIGHT_STROKE = 0.6
 
static const float NORMAL_STROKE = 1.0
 
static const float BOLD_STROKE = 1.5
 
static const double REFERENCE_BASELINE_POS = 33.33
 
static const double REFERENCE_FONT_ASCENDER = 119.05
 
static const double REFERENCE_LINE_SPACING = REFERENCE_FONT_ASCENDER+REFERENCE_BASELINE_POS
 

Variable Documentation

const float LIGHT_STROKE = 0.6
static

Definition at line 28 of file font.h.

const float NORMAL_STROKE = 1.0
static

Definition at line 29 of file font.h.

const double REFERENCE_BASELINE_POS = 33.33
static

Definition at line 39 of file font.h.

Referenced by PaintText::calcLayout().

const double REFERENCE_FONT_ASCENDER = 119.05
static

Definition at line 40 of file font.h.

Referenced by PaintText::calcLayout().

const double REFERENCE_LINE_SPACING = REFERENCE_FONT_ASCENDER+REFERENCE_BASELINE_POS
static

Definition at line 41 of file font.h.

Referenced by Font::calcMetrics().