rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
gfx_subpixel.h
Go to the documentation of this file.
1
20
#pragma once
21
22
#include "
gfx.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
37
void
gfx_fill_circle_aaf
(
gfx_canvas_t
*c,
float
cx,
float
cy,
float
r,
38
gfx_color_t col);
39
52
void
gfx_capsule_aaf
(
gfx_canvas_t
*c,
float
ax,
float
ay,
float
bx,
float
by,
53
float
thickness, gfx_color_t col);
54
75
void
gfx_ring_aaf
(
gfx_canvas_t
*c,
float
cx,
float
cy,
float
r,
76
float
thickness,
float
a0_deg,
float
a1_deg,
77
gfx_color_t col, gfx_color_t into,
float
fade_deg);
78
79
#ifdef __cplusplus
80
}
81
#endif
gfx_ring_aaf
void gfx_ring_aaf(gfx_canvas_t *c, float cx, float cy, float r, float thickness, float a0_deg, float a1_deg, gfx_color_t col, gfx_color_t into, float fade_deg)
A ring, or an arc of one, solved per pixel from its distance and direction to the centre.
Definition
gfx.c:1052
gfx_capsule_aaf
void gfx_capsule_aaf(gfx_canvas_t *c, float ax, float ay, float bx, float by, float thickness, gfx_color_t col)
A capsule, a thick line with round ends, from (ax, ay) to (bx, by), anti-aliased from each pixel's di...
Definition
gfx.c:916
gfx_fill_circle_aaf
void gfx_fill_circle_aaf(gfx_canvas_t *c, float cx, float cy, float r, gfx_color_t col)
A disc of radius r centred on (cx, cy), anti-aliased from each pixel's distance to the centre.
Definition
gfx.c:824
gfx.h
gfx: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
gfx_canvas_t
Definition
gfx.h:129
shared
gfx
include
gfx_subpixel.h
Generated by
1.18.0