Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
CharDef_t Struct Reference

Data Structure that defines an individual character. More...

#include <GrFont.h>

Public Attributes

uint16_t x
 UL x-position of the character within the DRAM image.
 
uint16_t y
 UL y-position of the character within the DRAM image.
 
uint16_t width
 Width of the character in the DRAM image.
 
uint16_t height
 Height of the character in the DRAM image.
 
int16_t xoffset
 Cursor x-offset that should be used when copying character to the screen.
 
int16_t yoffset
 Cursor y-offset that should be used when copying character to the screen.
 
uint16_t xadvance
 How far to advance the curso x-pos after this character.
 

Detailed Description

Data Structure that defines an individual character.

This structure should be created so that it references an image in DRAM that contains font imagery.

Member Data Documentation

◆ height

uint16_t CharDef_t::height

Height of the character in the DRAM image.

◆ width

uint16_t CharDef_t::width

Width of the character in the DRAM image.

◆ x

uint16_t CharDef_t::x

UL x-position of the character within the DRAM image.

◆ xadvance

uint16_t CharDef_t::xadvance

How far to advance the curso x-pos after this character.

◆ xoffset

int16_t CharDef_t::xoffset

Cursor x-offset that should be used when copying character to the screen.

◆ y

uint16_t CharDef_t::y

UL y-position of the character within the DRAM image.

◆ yoffset

int16_t CharDef_t::yoffset

Cursor y-offset that should be used when copying character to the screen.


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