|
constixel
|
#include <constixel.hpp>
Public Attributes | |
| int32_t | x0 = 0 |
| int32_t | y0 = 0 |
| int32_t | x1 = 0 |
| int32_t | y1 = 0 |
| uint8_t | col = color::WHITE |
| float | sw = 1 |
A struct which can be passed to: draw_line(), draw_line_aa().
| uint8_t constixel::draw_line::col = color::WHITE |
Color palette index to use.
| float constixel::draw_line::sw = 1 |
Width of the stroke in pixels.
| int32_t constixel::draw_line::x0 = 0 |
First X coordinate in pixels.
| int32_t constixel::draw_line::x1 = 0 |
Second X coordinate in pixels.
| int32_t constixel::draw_line::y0 = 0 |
First Y coordinate in pixels.
| int32_t constixel::draw_line::y1 = 0 |
Second Y coordinate in pixels.