|
| 1 | +SVGViewport { |
| 2 | + id: "svg-root", |
| 3 | + viewBox: { width: 480, height: 360 }, |
| 4 | + contents: [ |
| 5 | + SVGGroup { |
| 6 | + id: "test-body-content", |
| 7 | + contents: [ |
| 8 | + SVGGroup { |
| 9 | + contents: [ |
| 10 | + SVGCircle { cx: 75, cy: 40, r: 20, fill: "crimson" }, |
| 11 | + SVGCircle { cx: 115, cy: 40, r: 20, fill: "crimson" }, |
| 12 | + SVGCircle { cx: 75, cy: 80, r: 20, fill: "crimson" }, |
| 13 | + SVGCircle { cx: 115, cy: 80, r: 20, fill: "crimson" } |
| 14 | + ] |
| 15 | + }, |
| 16 | + SVGGroup { |
| 17 | + contents: [ |
| 18 | + SVGCircle { cx: 200, cy: 40, r: 20, fill: "palegreen" }, |
| 19 | + SVGCircle { cx: 240, cy: 40, r: 20, fill: "palegreen" }, |
| 20 | + SVGCircle { cx: 200, cy: 80, r: 20, fill: "palegreen" }, |
| 21 | + SVGCircle { cx: 240, cy: 80, r: 20, fill: "palegreen" } |
| 22 | + ] |
| 23 | + }, |
| 24 | + SVGGroup { |
| 25 | + contents: [ |
| 26 | + SVGCircle { cx: 325, cy: 40, r: 20, fill: "royalblue" }, |
| 27 | + SVGCircle { cx: 365, cy: 40, r: 20, fill: "royalblue" }, |
| 28 | + SVGCircle { cx: 325, cy: 80, r: 20, fill: "royalblue" }, |
| 29 | + SVGCircle { cx: 365, cy: 80, r: 20, fill: "royalblue" } |
| 30 | + ] |
| 31 | + }, |
| 32 | + SVGGroup { |
| 33 | + contents: [ |
| 34 | + SVGCircle { cx: 75, cy: 135, r: 20, fill: "firebrick" }, |
| 35 | + SVGCircle { cx: 115, cy: 135, r: 20, fill: "firebrick" }, |
| 36 | + SVGCircle { cx: 75, cy: 175, r: 20, fill: "firebrick" }, |
| 37 | + SVGCircle { cx: 115, cy: 175, r: 20, fill: "firebrick" } |
| 38 | + ] |
| 39 | + }, |
| 40 | + SVGGroup { |
| 41 | + contents: [ |
| 42 | + SVGCircle { cx: 200, cy: 135, r: 20, fill: "seagreen" }, |
| 43 | + SVGCircle { cx: 240, cy: 135, r: 20, fill: "seagreen" }, |
| 44 | + SVGCircle { cx: 200, cy: 175, r: 20, fill: "seagreen" }, |
| 45 | + SVGCircle { cx: 240, cy: 175, r: 20, fill: "seagreen" } |
| 46 | + ] |
| 47 | + }, |
| 48 | + SVGGroup { |
| 49 | + contents: [ |
| 50 | + SVGCircle { cx: 325, cy: 135, r: 20, fill: "mediumblue" }, |
| 51 | + SVGCircle { cx: 365, cy: 135, r: 20, fill: "mediumblue" }, |
| 52 | + SVGCircle { cx: 325, cy: 175, r: 20, fill: "mediumblue" }, |
| 53 | + SVGCircle { cx: 365, cy: 175, r: 20, fill: "mediumblue" } |
| 54 | + ] |
| 55 | + }, |
| 56 | + SVGGroup { |
| 57 | + contents: [ |
| 58 | + SVGCircle { cx: 75, cy: 230, r: 20, fill: "indianred" }, |
| 59 | + SVGCircle { cx: 115, cy: 230, r: 20, fill: "indianred" }, |
| 60 | + SVGCircle { cx: 75, cy: 270, r: 20, fill: "indianred" }, |
| 61 | + SVGCircle { cx: 115, cy: 270, r: 20, fill: "indianred" } |
| 62 | + ] |
| 63 | + }, |
| 64 | + SVGGroup { |
| 65 | + contents: [ |
| 66 | + SVGCircle { cx: 200, cy: 230, r: 20, fill: "lawngreen" }, |
| 67 | + SVGCircle { cx: 240, cy: 230, r: 20, fill: "lawngreen" }, |
| 68 | + SVGCircle { cx: 200, cy: 270, r: 20, fill: "lawngreen" }, |
| 69 | + SVGCircle { cx: 240, cy: 270, r: 20, fill: "lawngreen" } |
| 70 | + ] |
| 71 | + }, |
| 72 | + SVGGroup { |
| 73 | + contents: [ |
| 74 | + SVGCircle { cx: 325, cy: 230, r: 20, fill: "mediumturquoise" }, |
| 75 | + SVGCircle { cx: 365, cy: 230, r: 20, fill: "mediumturquoise" }, |
| 76 | + SVGCircle { cx: 325, cy: 270, r: 20, fill: "mediumturquoise" }, |
| 77 | + SVGCircle { cx: 365, cy: 270, r: 20, fill: "mediumturquoise" } |
| 78 | + ] |
| 79 | + } |
| 80 | + ] |
| 81 | + }, |
| 82 | + SVGGroup { |
| 83 | + contents: [ |
| 84 | + SVGText { |
| 85 | + id: "revision", |
| 86 | + text: "$Revision: 1.9 $", |
| 87 | + font: { name: "SVGFreeSansASCII,sans-serif", size: 32 }, |
| 88 | + fill: "black", |
| 89 | + transform: [1, 0, 0, 1, 10, 340] |
| 90 | + } |
| 91 | + ] |
| 92 | + }, |
| 93 | + SVGRect { |
| 94 | + id: "test-frame", |
| 95 | + x: 1, |
| 96 | + y: 1, |
| 97 | + width: 478, |
| 98 | + height: 358, |
| 99 | + stroke: { fill: "black" } |
| 100 | + } |
| 101 | + ] |
| 102 | +} |
0 commit comments