Debian Codegraph @

lvgl/tests/src/test_assets/svg/g_general_attributes.svg

raw symbols SCIP
1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800" width='400' height='400'>
2 <defs>
3 <linearGradient id='ggg1' x1='0%' y1='0%' x2='100%' y2='0%'>
4 <stop offset='0' stop-color='red' />
5 <stop offset='0.5' stop-color='green' />
6 <stop offset='1' stop-color='blue' />
7 </linearGradient>
8 </defs>
9
10 <g id='group1' fill='red'>
11 <rect x='0' y='115' width='50' height='50' />
12 <text x='0' y='110' fill='black' font-size='8'>color name</text>
13 </g>
14 <g fill='#ff0000'>
15 <rect x='51' y='115' width='50' height='50' />
16 <text x='51' y='110' fill='black' font-size='8'>hex</text>
17 </g>
18 <g fill='rgb(255, 0, 0)'>
19 <rect x='102' y='115' width='50' height='50' />
20 <text x='102' y='110' fill='black' font-size='8'>RGB</text>
21 </g>
22 <g fill='rgba(255, 0, 0, 0.5)'>
23 <rect x='153' y='115' width='50' height='50' />
24 <text x='153' y='110' fill='black' font-size='8'>RGBA</text>
25 </g>
26 <g fill='none'>
27 <rect x='204' y='115' width='50' height='50' />
28 <text x='204' y='110' fill='black' font-size='8'>none</text>
29 </g>
30 <g fill='url(#ggg1)'>
31 <rect x='255' y='115' width='50' height='50' />
32 <text x='255' y='110' fill='black' font-size='8'>gradient</text>
33 </g>
34
35 <g fill='none' stroke='black'>
36 <rect x='0' y='180' width='50' height='50' />
37 <text x='0' y='175' fill='black' font-size='16'>solid</text>
38 </g>
39 <g fill='none' stroke='url(#ggg1)'>
40 <rect x='55' y='180' width='50' height='50' />
41 <text x='55' y='175' fill='black' font-size='16'>gradient</text>
42 </g>
43
44 <g transform='translate(0,50)' >
45
46 <rect x='20' y='250' width='50' height='50' />
47 <text x='20' y='245' fill='black' font-size='16'>translate</text>
48 </g>
49 <g transform='rotate(300, 100, 100)'>
50 <rect x='55' y='250' width='50' height='50' />
51 <text x='55' y='245' fill='black' font-size='16'>rotate</text>
52 </g>
53 <g transform='scale(1.4, 1.4)'>
54 <rect x='110' y='270' width='50' height='50' />
55 <text x='110' y='265' fill='black' font-size='16'>scale</text>
56 </g>
57 <g transform='skewX(10)'>
58 <rect x='220' y='250' width='50' height='50' />
59 <text x='220' y='245' fill='black' font-size='16'>X skew</text>
60 </g>
61 <g transform='skewY(20)'>
62 <rect x='280' y='250' width='50' height='50' />
63 <text x='280' y='245' fill='black' font-size='16'>Y skew</text>
64 </g>
65 <g transform='matrix(1, 0, 0.3640, 1, 0, 0)'>
66 <rect x='350' y='250' width='50' height='50' />
67 <text x='350' y='245' fill='black' font-size='16'>matrix</text>
68 </g>
69 <g id='xxxx' fill='pink' stroke='red' transform='matrix(1, 0, 0.3640, 1, 0, 0)'>
70 <rect x='0' y='300' width='50' height='50' />
71 <text x='0' y='295' fill='black' font-size='16'>mixed</text>
72 </g>
73 </svg>