tinyimg 1.1.1
Lightweight image manipulation library for WebAssembly
Loading...
Searching...
No Matches
TinyFontAxis Struct Reference

One variation axis a face declares. More...

#include <text.h>

Public Attributes

uint32_t tag
 The axis tag, as four packed bytes.
float min
float def
float max

Detailed Description

One variation axis a face declares.

The four numbers a caller needs to pick a value: the range, and where the face sits when nothing is asked for.

Member Data Documentation

◆ def

float TinyFontAxis::def

Where the axis sits with nothing asked for.

◆ max

float TinyFontAxis::max

Largest value the axis accepts.

◆ min

float TinyFontAxis::min

Smallest value the axis accepts.

◆ tag

uint32_t TinyFontAxis::tag

The axis tag, as four packed bytes.

wght, wdth, slnt, ital and opsz are the registered ones; TINYIMG_AXIS_WEIGHT and its siblings are those five spelled out.


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