mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
examples: clean up mask resources.
These are not proper for our svg examples.
This commit is contained in:
parent
ac1434bb74
commit
0faea8a9ab
3 changed files with 2 additions and 23 deletions
|
@ -5,8 +5,8 @@
|
|||
/* Drawing Commands */
|
||||
/************************************************************************/
|
||||
|
||||
#define NUM_PER_LINE 5
|
||||
#define SIZE 160
|
||||
#define NUM_PER_LINE 4
|
||||
#define SIZE 200
|
||||
|
||||
static int count = 0;
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
<svg version="1.1" id="Layer_1" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient x1="29%" y1="36%" x2="77%" y2="63%" id="linearGradient">
|
||||
<stop stop-color="#0000FF" offset="0%"></stop>
|
||||
<stop stop-color="#FF0000" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<mask id="myMask">
|
||||
<circle id="maskID" cx="40" cy="40" r="10" fill="white" fill-opacity="1" />
|
||||
</mask>
|
||||
</defs>
|
||||
<rect x="0" y="0" width="64" height="64" fill="url(#linearGradient)" mask="url(#myMask)"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 619 B |
|
@ -1,8 +0,0 @@
|
|||
<svg version="1.1" baseProfile="basic" id="svg" xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="900px" height="900px"
|
||||
viewBox="0 0 900 900" xml:space="preserve">
|
||||
<mask id="myMask">
|
||||
<circle id="maskID" cx="450" cy="450" r="200" fill="white" fill-opacity="1" />
|
||||
</mask>
|
||||
<rect x="0" y="0" width="900" height="900" fill="blue" mask="url(#myMask)"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 483 B |
Loading…
Add table
Reference in a new issue