vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::KerningPair Struct Reference

How far the pen moves between one glyph and the next, past their advances. More...

#include <font_asset.h>

Public Attributes

float adjust = 0.0f
 Added to the left glyph's advance, in baked pixels; negative pulls together.

Detailed Description

How far the pen moves between one glyph and the next, past their advances.

Packed as left * FontAsset::GLYPH_COUNT + right, by glyph index, so a sorted table answers a pair with one binary search.


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