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

#include <constixel.hpp>

Public Attributes

int32_t x = 0
 
int32_t y = 0
 
int32_t w = 0
 
int32_t h = 0
 
int32_t r = 0
 
uint8_t col = color::WHITE
 
int32_t sw = 1
 

Detailed Description

A struct which can be passed to: fill_round_rect(), stroke_round_rect(), fill_round_rect_aa(), stroke_round_rect_aa().

Member Data Documentation

◆ col

uint8_t constixel::draw_round_rect::col = color::WHITE

Color palette index to use.

◆ h

int32_t constixel::draw_round_rect::h = 0

Height in pixels.

◆ r

int32_t constixel::draw_round_rect::r = 0

Radius of the corners in pixels.

◆ sw

int32_t constixel::draw_round_rect::sw = 1

Width of the stroke in pixels.

◆ w

int32_t constixel::draw_round_rect::w = 0

Width in pixels.

◆ x

int32_t constixel::draw_round_rect::x = 0

X coordinate in pixels.

◆ y

int32_t constixel::draw_round_rect::y = 0

Y coordinate in pixels.


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