rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
board_drawing.h
Go to the documentation of this file.
1
19
20
#pragma once
21
22
#include <stdbool.h>
23
#include <stdint.h>
24
25
#include "
gfx.h
"
26
#include "
link_drawing.h
"
27
#include "
out_bind.h
"
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
43
bool
board_drawing_agrees(
const
link_drawing_t
*d,
44
const
outbind_board_t
*board,
const
char
**why);
45
53
int
board_drawing_scale(uint32_t v,
int
px, uint16_t full);
54
60
void
board_drawing_render(
gfx_canvas_t
*c,
const
link_drawing_t
*d,
int
x,
61
int
y,
int
w,
int
h, gfx_color_t hole);
62
63
#ifdef __cplusplus
64
}
65
#endif
gfx.h
gfx: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
link_drawing.h
Reading a board drawing (LINK_ART_DRAWING): the layout link_pages.h gives under LINK_DRAW_*.
out_bind.h
Binding a protocol to pins: what the operator chooses, and the OUTPUTS page that comes out of it.
gfx_canvas_t
Definition
gfx.h:129
link_drawing_t
A drawing that passed link_drawing_parse().
Definition
link_drawing.h:53
outbind_board_t
One board: its identity, catalogue, outline and pads.
Definition
out_bind.h:120
shared
ui
include
board_drawing.h
Generated by
1.18.0