Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
Glyph Struct Reference

#include <Font.hpp>

Public Attributes

vec2 texCoord1
 
vec2 texCoord2
 
vec2 size
 
vec2 advance
 
vec2 location
 

Detailed Description

Glyph holds data about one glyph of a font.

Definition at line 8 of file Font.hpp.

Member Data Documentation

vec2 advance

Size in pixel (including empty-space around it)

Definition at line 13 of file Font.hpp.

vec2 location

Base-position

Definition at line 14 of file Font.hpp.

vec2 size

Size in pixel (of content)

Definition at line 12 of file Font.hpp.

vec2 texCoord1

Left upper corner in uv

Definition at line 10 of file Font.hpp.

vec2 texCoord2

Right bottom corner in uv

Definition at line 11 of file Font.hpp.


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