|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The SIMULATION watermark: the mark that the numbers behind it are modelled. More...
#include "gfx.h"Go to the source code of this file.
Functions | |
| void | ui_watermark (gfx_canvas_t *c) |
| void | ui_watermark_invalidate (void) |
The SIMULATION watermark: the mark that the numbers behind it are modelled.
It is written across the whole screen, corner to corner, at 15% opacity: readable through, and not croppable out of a photograph. A caption in a corner would not stop a simulated reading being quoted as a measured one.
SPDX-License-Identifier: MIT
| void ui_watermark | ( | gfx_canvas_t * | c | ) |
Draw "SIMULATION" across the whole canvas, blended over what is there.
| void ui_watermark_invalidate | ( | void | ) |
Drop the cached stencil, so the next call rebuilds it.