rcbench
Servo and ESC test bench: panel, IOmcu and shared C
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
30extern "C" {
31#endif
32
43bool board_drawing_agrees(const link_drawing_t *d,
44 const outbind_board_t *board, const char **why);
45
53int board_drawing_scale(uint32_t v, int px, uint16_t full);
54
60void 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: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
Binding a protocol to pins: what the operator chooses, and the OUTPUTS page that comes out of it.
Definition gfx.h:129
One board: its identity, catalogue, outline and pads.
Definition out_bind.h:120