Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BicycleMark/23eb78d7a865d83989c909f964a07aa2 to your computer and use it in GitHub Desktop.
Save BicycleMark/23eb78d7a865d83989c909f964a07aa2 to your computer and use it in GitHub Desktop.
An Inkscape SVG I want to define in terms of PATH for XAMARIN Forms 4.7
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="drawing.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
id="svg7895"
version="1.1"
viewBox="0 0 210 297"
height="297mm"
width="210mm">
<defs
id="defs7889">
<linearGradient
inkscape:collect="always"
id="linearGradient4015">
<stop
style="stop-color:#ffb600;stop-opacity:1"
offset="0"
id="stop4011" />
<stop
style="stop-color:#ffff00;stop-opacity:0;"
offset="1"
id="stop4013" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4007">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4003" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop4005" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="852.09393"
x2="-327.4407"
y1="-31.350002"
x1="-737.77612"
id="linearGradient4019-8-9"
xlink:href="#linearGradient4015"
inkscape:collect="always" />
<radialGradient
gradientTransform="matrix(-0.06167049,-0.12145696,0.21393404,-0.1086263,-808.50418,99.841355)"
gradientUnits="userSpaceOnUse"
r="461.36093"
fy="510.39212"
fx="162.31145"
cy="510.39212"
cx="162.31145"
id="radialGradient4009-9-0"
xlink:href="#linearGradient4007"
inkscape:collect="always" />
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter6063-5"
x="-0.012623274"
width="1.0252465"
y="-0.012623274"
height="1.0252465">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="4.7337278"
id="feGaussianBlur6065-6" />
</filter>
</defs>
<sodipodi:namedview
inkscape:window-maximized="0"
inkscape:window-y="0"
inkscape:window-x="48"
inkscape:window-height="754"
inkscape:window-width="1274"
inkscape:lockguides="false"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="560"
inkscape:cx="400"
inkscape:zoom="0.35"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base" />
<metadata
id="metadata7892">
<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>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Layer 1">
<g
transform="matrix(0.12257901,0,0,0.12257901,-175.53669,246.2159)"
id="g7864-0">
<g
style="opacity:0.467949;fill:#e9c6af;fill-opacity:1"
transform="translate(319.99994,160.00004)"
id="g5853-5">
<path
d="M 1069.2077,2119.7168 A 500.14783,500.14783 0 0 1 569.05988,2619.8646 500.14783,500.14783 0 0 1 68.912048,2119.7168 500.14783,500.14783 0 0 1 569.05988,1619.569 500.14783,500.14783 0 0 1 1069.2077,2119.7168"
transform="rotate(-101.71607)"
style="fill:#e9c6af;fill-opacity:1;stroke:#9c8c0a;stroke-width:30;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path669-3-7" />
</g>
<path
d="m -236.34821,353.94913 a 450,450 0 0 1 -450,450 450,450 0 0 1 -449.99999,-450 450,450 0 0 1 449.99999,-450.000003 450,450 0 0 1 450,450.000003"
transform="rotate(118.4724,1148.5038,646.03526)"
style="fill:url(#linearGradient4019-8-9);fill-opacity:1;stroke:url(#radialGradient4009-9-0);stroke-width:29.0166;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter6063-5)"
id="path669-5-9-0" />
</g>
<path
style="fill:#ffffff;fill-opacity:1;stroke:#8f5902;stroke-width:3.42928;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path669-5-1-0"
sodipodi:type="arc"
sodipodi:cx="104.24583"
sodipodi:cy="147.90634"
sodipodi:rx="48.786446"
sodipodi:ry="47.668701"
sodipodi:start="5.9832529"
sodipodi:end="3.4556612"
sodipodi:open="true"
sodipodi:arc-type="chord"
d="M 150.85427,133.82236 A 48.786446,47.668701 0 0 1 132.54735,186.7343 48.786446,47.668701 0 0 1 75.385402,186.33953 48.786446,47.668701 0 0 1 57.845792,133.18002 Z" />
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment