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

#include <constixel.hpp>

Public Attributes

int32_t cx = 0
 
int32_t cy = 0
 
int32_t r = 0
 
uint8_t col = color::WHITE
 
int32_t sw = 1
 

Detailed Description

A struct which can be passed to: fill_circle(), stroke_circle(), fill_circle_aa(), stroke_circle_aa().

Member Data Documentation

◆ col

uint8_t constixel::draw_circle::col = color::WHITE

Color palette index to use.

◆ cx

int32_t constixel::draw_circle::cx = 0

Center X coordinate in pixels.

◆ cy

int32_t constixel::draw_circle::cy = 0

Center Y coordinate in pixels.

◆ r

int32_t constixel::draw_circle::r = 0

Radius of the circle in pixels.

◆ sw

int32_t constixel::draw_circle::sw = 1

Width of the stroke in pixels.


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