constixel
Loading...
Searching...
No Matches
constixel::draw_string Struct Reference

#include <constixel.hpp>

Public Attributes

int32_t x = 0
 
int32_t y = 0
 
const char * str = nullptr
 
uint8_t col = color::WHITE
 

Detailed Description

A struct which can be passed to: draw_string_mono(), draw_string_centered_mono().

Member Data Documentation

◆ col

uint8_t constixel::draw_string::col = color::WHITE

Color palette index to use.

◆ str

const char* constixel::draw_string::str = nullptr

UTF8 string

◆ x

int32_t constixel::draw_string::x = 0

X coordinate in pixels.

◆ y

int32_t constixel::draw_string::y = 0

Y coordinate in pixels.


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