diff options
| author | Martin Haug <mhaug@live.de> | 2021-12-06 14:58:57 +0100 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2021-12-06 14:58:57 +0100 |
| commit | f15ee7efb68eff188b5993d21d663e2120b5dd08 (patch) | |
| tree | 4cd7afa806c62a55234f359ad46177266093d7ee /tests/res/pattern.svg | |
| parent | 2982020480fc3d9061e26ca24dd467f315981dff (diff) | |
Add SVG capabilities
Diffstat (limited to 'tests/res/pattern.svg')
| -rw-r--r-- | tests/res/pattern.svg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/res/pattern.svg b/tests/res/pattern.svg new file mode 100644 index 00000000..b3bf4847 --- /dev/null +++ b/tests/res/pattern.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Adapted from + https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Patterns under + CC0 / Public Domain Licensing --> +<svg width="200" height="150" xmlns="http://www.w3.org/2000/svg"> + <defs> + <linearGradient id="Gradient1"> + <stop offset="5%" stop-color="white"/> + <stop offset="95%" stop-color="blue"/> + </linearGradient> + <linearGradient id="Gradient2" x1="0" x2="0" y1="0" y2="1"> + <stop offset="5%" stop-color="red"/> + <stop offset="95%" stop-color="orange"/> + </linearGradient> + <pattern id="Pattern" x="40" y="10" width="50" height="50" patternUnits="userSpaceOnUse"> + <rect x="0" y="0" width="50" height="50" fill="skyblue"/> + <rect x="0" y="0" width="25" height="25" fill="url(#Gradient2)"/> + <circle cx="25" cy="25" r="20" fill="url(#Gradient1)" fill-opacity="0.5"/> + </pattern> + </defs> + <rect fill="url(#Pattern)" stroke="black" width="200" height="150"/> +</svg> |
