ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
svg_fixture.h File Reference

Baked deterministic SVG vector-art fixture for ereader_svg. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const char k_svg_fixture []
 Baked SVG vector-art document (NUL-terminated ASCII).

Detailed Description

Baked deterministic SVG vector-art fixture for ereader_svg.

A tiny 100x100 vector "cover" exercising the filled-shape paths of the reflow SVG rasterizer (#112/#141): a background <rect>, a <circle>, a bar <rect>, and a <polygon> triangle, each a distinct solid colour. SVG is text, so this is a plain ASCII string literal – no generator needed. The rendered framebuffer hash in hil.conf pins the result.

Definition in file svg_fixture.h.

Variable Documentation

◆ k_svg_fixture

const char k_svg_fixture[]
static
Initial value:
=
"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\""
" width=\"100\" height=\"100\">\n"
" <rect x=\"0\" y=\"0\" width=\"100\" height=\"100\" fill=\"#202840\"/>\n"
" <circle cx=\"50\" cy=\"35\" r=\"22\" fill=\"#E0A018\"/>\n"
" <rect x=\"20\" y=\"62\" width=\"60\" height=\"12\" fill=\"#18A030\"/>\n"
" <polygon points=\"50,12 62,33 38,33\" fill=\"#C01020\"/>\n"
"</svg>\n"

Baked SVG vector-art document (NUL-terminated ASCII).

Definition at line 17 of file svg_fixture.h.

Referenced by es_render_svg_or_halt().