Cogs.Core
Public Attributes | List of all members
Cogs::Core::Font::BakedCharacter Struct Reference

Defines a quad with locations in screen space defined by [x0, y0] and [x1, y1]. More...

#include <Font.h>

Public Attributes

float x0
 
float y0
 
float s0
 
float t0
 
float x1
 
float y1
 
float s1
 
float t1
 

Detailed Description

Defines a quad with locations in screen space defined by [x0, y0] and [x1, y1].

The corresponding texture coordinates in the font bitmap are stored in the quad [s0, t0], [s1, t1].

Definition at line 47 of file Font.h.

Member Data Documentation

◆ s0

float Cogs::Core::Font::BakedCharacter::s0

Definition at line 49 of file Font.h.

◆ s1

float Cogs::Core::Font::BakedCharacter::s1

Definition at line 50 of file Font.h.

◆ t0

float Cogs::Core::Font::BakedCharacter::t0

Definition at line 49 of file Font.h.

◆ t1

float Cogs::Core::Font::BakedCharacter::t1

Definition at line 50 of file Font.h.

◆ x0

float Cogs::Core::Font::BakedCharacter::x0

Definition at line 49 of file Font.h.

◆ x1

float Cogs::Core::Font::BakedCharacter::x1

Definition at line 50 of file Font.h.

◆ y0

float Cogs::Core::Font::BakedCharacter::y0

Definition at line 49 of file Font.h.

◆ y1

float Cogs::Core::Font::BakedCharacter::y1

Definition at line 50 of file Font.h.


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