MaxMatrix
Drive chained 8x8 LED dot matrix modules with MAX7219.
Loading...
Searching...
No Matches
max_matrix::Sprite Struct Reference

A sprite of your own: its width, its height and up to five columns. More...

#include <Font.h>

Public Attributes

uint8_t width
uint8_t height
array< uint8_t, kSpriteMaxWidth > columns

Detailed Description

A sprite of your own: its width, its height and up to five columns.

max_matrix::Sprite const kInvader{5, 5, {{0x16, 0x0D, 0x07, 0x0D, 0x16}}};
A sprite of your own: its width, its height and up to five columns.
Definition Font.h:38

A char of a font is a Glyph instead.

Member Data Documentation

◆ columns

array<uint8_t, kSpriteMaxWidth> max_matrix::Sprite::columns

Its columns, the leftmost first, bit 0 the top row; those beyond width are not drawn.

◆ height

uint8_t max_matrix::Sprite::height

The rows it takes, 1 to 8.

◆ width

uint8_t max_matrix::Sprite::width

The columns it takes, 1 to kSpriteMaxWidth.


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