coastline 0.0.4
Loading...
Searching...
No Matches
DecalGlyph Struct Reference

A character of the font of the decals, and its key on the keyboard of the text tool. More...

#include <decaleditor.h>

Public Attributes

s32 x
s32 y
u8 character
s32 cellX
s32 width
s32 kernLeft
s32 kernRight

Detailed Description

A character of the font of the decals, and its key on the keyboard of the text tool.

Member Data Documentation

◆ x

s32 DecalGlyph::x

The x of the key on the screen, where its highlight is drawn.

◆ y

s32 DecalGlyph::y

The y of the key on the screen, where its highlight is drawn.

◆ character

u8 DecalGlyph::character

The ASCII of the character.

◆ cellX

s32 DecalGlyph::cellX

Where the character starts in its cell of 16 texels of the font.

◆ width

s32 DecalGlyph::width

The width of the character, in texels.

◆ kernLeft

s32 DecalGlyph::kernLeft

How far the character may be moved towards the one before it.

◆ kernRight

s32 DecalGlyph::kernRight

How far the character may be moved towards the one after it.


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