QGIS/tests/testdata/test_symbol_svg2.svg
Nyall Dawson 0b2de85fe7 Check file modified time when retrieving svg images from cache
If file has been modified since the cache, regenerate a new cache
image.

We don't want to check the file modified time too often though,
(e.g., we don't want to check for every point render in a 100k
point file), so use a hardcoded 30 second minimum time between
consecutive file modified checks.

This means that file modifications occuring more often than
every 30 seconds won't be picked up till 30 seconds has elapsed
since the last modification. But at the same time it means that
if the render takes < 30 seconds we'll only check each svg
at most once (and if a render takes > 30 seconds, adding a few
more milliseconds won't hurt!).

Fixes #13565
2017-10-31 12:12:24 +10:00

76 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
sodipodi:docname="test_symbol_svg2.svg"
inkscape:version="0.91 r13725"
sodipodi:version="0.32"
x="0px"
y="0px"
width="306.33475"
height="484.79999"
viewBox="0 0 306.33475 484.79999"
enable-background="new 0 0 580 580"
xml:space="preserve"><metadata
id="metadata26"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><sodipodi:namedview
showgrid="false"
inkscape:cy="-115.04372"
inkscape:cx="-222.39645"
inkscape:zoom="0.46083856"
pagecolor="#ffffff"
bordercolor="#666666"
guidetolerance="10.0"
objecttolerance="10.0"
gridtolerance="10.0"
borderopacity="1.0"
id="base"
inkscape:current-layer="svg2"
inkscape:window-y="34"
inkscape:window-x="75"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:window-width="1014"
inkscape:window-height="711"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-maximized="0" /><defs
id="defs4" /><g
id="layer3"
transform="matrix(48.14969,0,0,48.14969,-673.10453,-80.905752)"
inkscape:label="Layout"
display="none"
style="display:none"><rect
id="rect4134"
x="1"
y="1"
display="inline"
width="10"
height="10"
style="display:inline;fill:none;stroke:#757575;stroke-width:0.1" /><rect
id="rect4136"
x="2"
y="2"
display="inline"
width="8"
height="8"
style="display:inline;fill:none;stroke:#757575;stroke-width:0.1" /></g><path
fill="param(fill)"
stroke="param(outline)"
stroke-width="param(outline-width)"
d="m 306.29574,465.246 c -0.076,10.965 -9.608,19.554 -21.7,19.554 l -0.179,-0.001 c -10.191,0 -18.79,-6.488 -20.891,-15.586 -14.36,0.915 -21.136,3.602 -28.298,6.441 -8.834,3.503 -17.969,7.125 -41.421,8.282 l -77.79,0.72 C 67.792742,484.118 28.808742,456.176 0.14574201,401.607 c -0.269,-0.512 -0.158,-1.14 0.27,-1.527 0.428,-0.389 1.06299999,-0.438 1.54599999,-0.123 l 2.563,1.678 c 0.188,0.123 0.34,0.293 0.44,0.494 9.638,19.316 45.785,36.26 77.355,36.26 20.794998,0 35.283998,-7.488 40.814998,-21.088 1.526,-7.885 9.78,-15.345 18.753,-17.111 l 0.232,-136.159 c -8.047,-0.854 -16.265,-9.484 -16.429,-17.656 l -4.264,-224.286 c -0.129,-6.844 1.612,-12.169 5.175,-15.83 5.975,-6.138 15.568,-6.214 21.3,-6.259 0.004,0 0.008,0 0.012,0 l 41.061,0.062 c 6.554,0.03 15.794,2.78 21.66,8.855 4.101,4.246 6.084,9.527 5.896,15.693 l -6.164,221.815 c -0.216,8.035 -8.456,16.616 -16.454,17.507 l -0.179,136.605 c 12.057,0.934 20.348,6.056 26.027,16.053 4.234,7.45 10.999,10.773 21.935,10.773 4.717,0 9.758,-0.598 14.633,-1.176 2.118,-0.251 4.297,-0.51 6.422,-0.715 l -0.037,-5.658 c 0.075,-10.813 9.862,-19.609 21.854,-19.609 12.018,0.019 21.782,8.835 21.767,19.652 l -0.039,45.389 z"
id="path24"
inkscape:connector-curvature="0" /></svg>