diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-04-05 12:52:58 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-04-05 14:56:53 +0200 |
commit | fcb00ac8ebe2acb429f09ef5b728b8c73a5bbc37 (patch) | |
tree | 4f9dc3b5d195e01d653619d51bc1ec1e0b5ff882 /svgio/qa/cppunit/data | |
parent | 48429e075fe73b858328d7287035c24744812f75 (diff) |
support opacity for widget definition draw SVGs
This opacity influences the whole shape (stroke and fill).
Change-Id: I82e10e07dbf2f321805b55a5f4831a513e52dab8
Reviewed-on: https://gerrit.libreoffice.org/70292
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svgio/qa/cppunit/data')
-rw-r--r-- | svgio/qa/cppunit/data/VisiotorTest-Rect.svg | 4 | ||||
-rw-r--r-- | svgio/qa/cppunit/data/path.svg | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/svgio/qa/cppunit/data/VisiotorTest-Rect.svg b/svgio/qa/cppunit/data/VisiotorTest-Rect.svg new file mode 100644 index 000000000000..4cd2d3602ea3 --- /dev/null +++ b/svgio/qa/cppunit/data/VisiotorTest-Rect.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <rect x="10" y="10" width="100" height="100" rx="10" ry="10" stroke="#ff0000" opacity="0.1" fill="#00cc00" stroke-width="3" /> +</svg> diff --git a/svgio/qa/cppunit/data/path.svg b/svgio/qa/cppunit/data/path.svg index 1722181c872e..559ceec6d557 100644 --- a/svgio/qa/cppunit/data/path.svg +++ b/svgio/qa/cppunit/data/path.svg @@ -1,3 +1,3 @@ <svg width="44" height="26" xmlns="http://www.w3.org/2000/svg"> - <path d="M1 1 H 43 V 25 H 1 L 1 1 Z" fill="#007aff" stroke="#fff" stroke-width="0"/> + <path d="M1 1 H 43 V 25 H 1 L 1 1 Z" fill="#007aff" stroke="#fff" opacity="0.1" stroke-width="0"/> </svg> |