123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551 |
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- 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"
- width="1in"
- height="1in"
- viewBox="0 0 25.4 25.4"
- version="1.1"
- id="svg8"
- inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
- sodipodi:docname="masterDotfile.svg"
- inkscape:export-filename="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\sectionDecoration\dot-size6.png"
- inkscape:export-xdpi="300"
- inkscape:export-ydpi="300">
- <defs
- id="defs2">
- <linearGradient
- inkscape:collect="always"
- id="linearGradient3120">
- <stop
- style="stop-color:#ffffff;stop-opacity:1;"
- offset="0"
- id="stop3116" />
- <stop
- style="stop-color:#ffffff;stop-opacity:0;"
- offset="1"
- id="stop3118" />
- </linearGradient>
- <linearGradient
- id="linearGradient3090"
- osb:paint="solid">
- <stop
- style="stop-color:#ffffff;stop-opacity:1;"
- offset="0"
- id="stop3088" />
- </linearGradient>
- <inkscape:path-effect
- effect="powerclip"
- id="path-effect3502"
- is_visible="true"
- lpeversion="1"
- inverse="true"
- flatten="false"
- hide_clip="false"
- message="Use fill-rule evenodd on <b>fill and stroke</b> dialog if no flatten result after convert clip to paths." />
- <inkscape:path-effect
- effect="powerclip"
- id="path-effect3475"
- is_visible="true"
- lpeversion="1"
- inverse="true"
- flatten="false"
- hide_clip="false"
- message="Use fill-rule evenodd on <b>fill and stroke</b> dialog if no flatten result after convert clip to paths." />
- <linearGradient
- id="linearGradient2854"
- osb:paint="solid">
- <stop
- style="stop-color:#000000;stop-opacity:1;"
- offset="0"
- id="stop2852" />
- </linearGradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath498">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient502);stroke-width:0.983898;stroke-opacity:1"
- id="rect500"
- width="24.416101"
- height="24.4161"
- x="-11.224152"
- y="37.608047"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient502"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562199,0,0,0.35562199,-1.4643916,38.592265)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow514">
- <meshpatch
- id="meshpatch512">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop504" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop506" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop508" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop510" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath516">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient520);stroke-width:0.983898;stroke-opacity:1"
- id="rect518"
- width="24.416101"
- height="24.4161"
- x="61.875282"
- y="23.888676"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient520"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562199,0,0,0.35562199,71.635041,24.872891)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow532">
- <meshpatch
- id="meshpatch530">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop522" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop524" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop526" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop528" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath534">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient538);stroke-width:0.983898;stroke-opacity:1"
- id="rect536"
- width="24.416101"
- height="24.4161"
- x="56.016651"
- y="-25.531712"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient538"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562199,0,0,0.35562199,59.000991,-31.047899)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow550">
- <meshpatch
- id="meshpatch548">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop540" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop542" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop544" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop546" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath608">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient612);stroke-width:0.983898;stroke-opacity:1"
- id="rect610"
- width="24.416101"
- height="24.4161"
- x="-26.760134"
- y="-21.751949"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient612"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562199,0,0,0.35562199,-23.775796,-27.268138)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow624">
- <meshpatch
- id="meshpatch622">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop614" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop616" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop618" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop620" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath1574">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient1578);stroke-width:0.983898;stroke-opacity:1"
- id="rect1576"
- width="24.416101"
- height="24.4161"
- x="-5.1922026"
- y="-13.970746"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1578"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562199,0,0,0.35562199,4.5675563,-12.986531)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow1590">
- <meshpatch
- id="meshpatch1588">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1580" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1582" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1584" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1586" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <mask
- maskUnits="userSpaceOnUse"
- id="mask1087">
- <rect
- style="fill:url(#meshgradient1091);fill-opacity:1;stroke:#000000;stroke-width:0.984001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- id="rect1089"
- width="24.416101"
- height="24.416098"
- x="11.721966"
- y="14.661929"
- ry="5.8395634"
- rx="5.4162478" />
- </mask>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1091"
- gradientUnits="userSpaceOnUse"
- x="13.19195"
- y="13.19195"
- gradientTransform="translate(-1.4699821,1.4699817)">
- <meshrow
- id="meshrow1103">
- <meshpatch
- id="meshpatch1101">
- <stop
- path="c 8.1387,0 0,24.4161 24.4161,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1093" />
- <stop
- path="c 0,8.1387 0,16.2774 0,24.4161"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1095" />
- <stop
- path="c -8.1387,0 -17.5469,-7.88445 -24.4161,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1097" />
- <stop
- path="c 0,-8.1387 0,-16.2774 0,-24.4161"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1099" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <mask
- maskUnits="userSpaceOnUse"
- id="mask3353">
- <rect
- style="display:inline;opacity:1;fill:none;fill-opacity:1;stroke:url(#meshgradient3357);stroke-width:1.01622;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- id="rect3355"
- width="25.151323"
- height="25.280172"
- x="16.332344"
- y="13.731041"
- ry="6.0462227"
- rx="5.5793428" />
- </mask>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient3357"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.0301122,0,0,1.0353895,3.6001566,-1.085878)"
- x="11.859336"
- y="13.818479">
- <meshrow
- id="meshrow3369">
- <meshpatch
- id="meshpatch3367">
- <stop
- path="c 8.4667,0 16.9334,0 25.4001,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop3359" />
- <stop
- path="c 0,8.4667 0,16.9334 0,25.4001"
- style="stop-color:#000000;stop-opacity:1"
- id="stop3361" />
- <stop
- path="c -8.4667,0 -16.9334,0 -25.4001,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop3363" />
- <stop
- path="c 0,-8.4667 0,-16.9334 0,-25.4001"
- style="stop-color:#000000;stop-opacity:1"
- id="stop3365" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath1574-0">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:url(#meshgradient1578);stroke-width:0.983898;stroke-opacity:1"
- id="rect1576-4"
- width="24.416101"
- height="24.4161"
- x="-5.1922026"
- y="-13.970746"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath3498">
- <rect
- style="display:none;opacity:1;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:0.892352;stroke-opacity:1"
- id="rect3500"
- width="22.14431"
- height="22.144308"
- x="14.327896"
- y="14.327896"
- ry="5.2962222"
- rx="4.9122944"
- d="m 19.240191,14.327896 h 12.319721 c 2.721411,0 4.912294,2.362115 4.912294,5.296222 v 11.551864 c 0,2.934107 -2.190883,5.296222 -4.912294,5.296222 H 19.240191 c -2.721412,0 -4.912295,-2.362115 -4.912295,-5.296222 V 19.624118 c 0,-2.934107 2.190883,-5.296222 4.912295,-5.296222 z" />
- <path
- id="lpe_path-effect3502"
- style="display:block;opacity:1;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:0.892352;stroke-opacity:1"
- class="powerclip"
- d="M 8.1920004,8.1920004 H 42.608102 V 42.6081 H 8.1920004 Z M 19.240191,14.327896 c -2.721412,0 -4.912295,2.362115 -4.912295,5.296222 v 11.551864 c 0,2.934107 2.190883,5.296222 4.912295,5.296222 h 12.319721 c 2.721411,0 4.912294,-2.362115 4.912294,-5.296222 V 19.624118 c 0,-2.934107 -2.190883,-5.296222 -4.912294,-5.296222 z" />
- </clipPath>
- <mask
- maskUnits="userSpaceOnUse"
- id="mask3616">
- <g
- id="g3620">
- <path
- style="display:inline;fill:url(#meshgradient3622);fill-opacity:1;stroke:none;stroke-width:0.983898;stroke-opacity:1"
- id="path3618"
- width="24.416101"
- height="24.4161"
- x="13.192"
- y="13.192"
- ry="5.8395634"
- rx="5.4162478"
- clip-path="url(#clipPath3498)"
- sodipodi:type="rect"
- inkscape:path-effect="#path-effect3502"
- d="m 18.608248,13.192 h 13.583606 c 3.000601,0 5.416248,2.604446 5.416248,5.839564 v 12.736973 c 0,3.235118 -2.415647,5.839563 -5.416248,5.839563 H 18.608248 C 15.607647,37.6081 13.192,35.003655 13.192,31.768537 V 19.031564 c 0,-3.235118 2.415647,-5.839564 5.416248,-5.839564 z" />
- </g>
- </mask>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient3622"
- gradientUnits="userSpaceOnUse"
- x="13.192"
- y="13.192">
- <meshrow
- id="meshrow3634">
- <meshpatch
- id="meshpatch3632">
- <stop
- path="c 8.1387,0 16.2774,0 24.4161,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop3624" />
- <stop
- path="c 0,8.1387 0,16.2774 0,24.4161"
- style="stop-color:#000000;stop-opacity:1"
- id="stop3626" />
- <stop
- path="c -8.1387,0 -16.2774,0 -24.4161,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop3628" />
- <stop
- path="c 0,-8.1387 0,-16.2774 0,-24.4161"
- style="stop-color:#000000;stop-opacity:1"
- id="stop3630" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <clipPath
- clipPathUnits="userSpaceOnUse"
- id="clipPath3647">
- <rect
- style="display:inline;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:0.983898;stroke-opacity:1"
- id="rect3649"
- width="24.416101"
- height="24.4161"
- x="7.9192328"
- y="-24.208742"
- ry="5.8395634"
- rx="5.4162478" />
- </clipPath>
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient3120"
- id="linearGradient3122"
- x1="1.8793989"
- y1="10.784102"
- x2="19.13447"
- y2="14.66243"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.53042213,0,0,0.91692079,13.742344,-6.1028803)" />
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="5.6"
- inkscape:cx="39.614063"
- inkscape:cy="53.676523"
- inkscape:document-units="mm"
- inkscape:current-layer="layer1"
- inkscape:document-rotation="0"
- showgrid="false"
- inkscape:pagecheckerboard="true"
- inkscape:window-width="1920"
- inkscape:window-height="1017"
- inkscape:window-x="-8"
- inkscape:window-y="-8"
- inkscape:window-maximized="1"
- units="in"
- showguides="false" />
- <metadata
- id="metadata5">
- <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>
- <script
- id="mesh_polyfill"
- type="text/javascript">
- !function(){const t="http://www.w3.org/2000/svg",e="http://www.w3.org/1999/xlink",s="http://www.w3.org/1999/xhtml",r=2;if(document.createElementNS(t,"meshgradient").x)return;const n=(t,e,s,r)=>{let n=new x(.5*(e.x+s.x),.5*(e.y+s.y)),o=new x(.5*(t.x+e.x),.5*(t.y+e.y)),i=new x(.5*(s.x+r.x),.5*(s.y+r.y)),a=new x(.5*(n.x+o.x),.5*(n.y+o.y)),h=new x(.5*(n.x+i.x),.5*(n.y+i.y)),l=new x(.5*(a.x+h.x),.5*(a.y+h.y));return[[t,o,a,l],[l,h,i,r]]},o=t=>{let e=t[0].distSquared(t[1]),s=t[2].distSquared(t[3]),r=.25*t[0].distSquared(t[2]),n=.25*t[1].distSquared(t[3]),o=e>s?e:s,i=r>n?r:n;return 18*(o>i?o:i)},i=(t,e)=>Math.sqrt(t.distSquared(e)),a=(t,e)=>t.scale(2/3).add(e.scale(1/3)),h=t=>{let e,s,r,n,o,i,a,h=new g;return t.match(/(\w+\(\s*[^)]+\))+/g).forEach(t=>{let l=t.match(/[\w.-]+/g),d=l.shift();switch(d){case"translate":2===l.length?e=new g(1,0,0,1,l[0],l[1]):(console.error("mesh.js: translate does not have 2 arguments!"),e=new g(1,0,0,1,0,0)),h=h.append(e);break;case"scale":1===l.length?s=new g(l[0],0,0,l[0],0,0):2===l.length?s=new g(l[0],0,0,l[1],0,0):(console.error("mesh.js: scale does not have 1 or 2 arguments!"),s=new g(1,0,0,1,0,0)),h=h.append(s);break;case"rotate":if(3===l.length&&(e=new g(1,0,0,1,l[1],l[2]),h=h.append(e)),l[0]){r=l[0]*Math.PI/180;let t=Math.cos(r),e=Math.sin(r);Math.abs(t)<1e-16&&(t=0),Math.abs(e)<1e-16&&(e=0),a=new g(t,e,-e,t,0,0),h=h.append(a)}else console.error("math.js: No argument to rotate transform!");3===l.length&&(e=new g(1,0,0,1,-l[1],-l[2]),h=h.append(e));break;case"skewX":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),o=new g(1,0,n,1,0,0),h=h.append(o)):console.error("math.js: No argument to skewX transform!");break;case"skewY":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),i=new g(1,n,0,1,0,0),h=h.append(i)):console.error("math.js: No argument to skewY transform!");break;case"matrix":6===l.length?h=h.append(new g(...l)):console.error("math.js: Incorrect number of arguments for matrix!");break;default:console.error("mesh.js: Unhandled transform type: "+d)}}),h},l=t=>{let e=[],s=t.split(/[ ,]+/);for(let t=0,r=s.length-1;t<r;t+=2)e.push(new x(parseFloat(s[t]),parseFloat(s[t+1])));return e},d=(t,e)=>{for(let s in e)t.setAttribute(s,e[s])},c=(t,e,s,r,n)=>{let o,i,a=[0,0,0,0];for(let h=0;h<3;++h)e[h]<t[h]&&e[h]<s[h]||t[h]<e[h]&&s[h]<e[h]?a[h]=0:(a[h]=.5*((e[h]-t[h])/r+(s[h]-e[h])/n),o=Math.abs(3*(e[h]-t[h])/r),i=Math.abs(3*(s[h]-e[h])/n),a[h]>o?a[h]=o:a[h]>i&&(a[h]=i));return a},u=[[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[-3,3,0,0,-2,-1,0,0,0,0,0,0,0,0,0,0],[2,-2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,-3,3,0,0,-2,-1,0,0],[0,0,0,0,0,0,0,0,2,-2,0,0,1,1,0,0],[-3,0,3,0,0,0,0,0,-2,0,-1,0,0,0,0,0],[0,0,0,0,-3,0,3,0,0,0,0,0,-2,0,-1,0],[9,-9,-9,9,6,3,-6,-3,6,-6,3,-3,4,2,2,1],[-6,6,6,-6,-3,-3,3,3,-4,4,-2,2,-2,-2,-1,-1],[2,0,-2,0,0,0,0,0,1,0,1,0,0,0,0,0],[0,0,0,0,2,0,-2,0,0,0,0,0,1,0,1,0],[-6,6,6,-6,-4,-2,4,2,-3,3,-3,3,-2,-1,-2,-1],[4,-4,-4,4,2,2,-2,-2,2,-2,2,-2,1,1,1,1]],f=t=>{let e=[];for(let s=0;s<16;++s){e[s]=0;for(let r=0;r<16;++r)e[s]+=u[s][r]*t[r]}return e},p=(t,e,s)=>{const r=e*e,n=s*s,o=e*e*e,i=s*s*s;return t[0]+t[1]*e+t[2]*r+t[3]*o+t[4]*s+t[5]*s*e+t[6]*s*r+t[7]*s*o+t[8]*n+t[9]*n*e+t[10]*n*r+t[11]*n*o+t[12]*i+t[13]*i*e+t[14]*i*r+t[15]*i*o},y=t=>{let e=[],s=[],r=[];for(let s=0;s<4;++s)e[s]=[],e[s][0]=n(t[0][s],t[1][s],t[2][s],t[3][s]),e[s][1]=[],e[s][1].push(...n(...e[s][0][0])),e[s][1].push(...n(...e[s][0][1])),e[s][2]=[],e[s][2].push(...n(...e[s][1][0])),e[s][2].push(...n(...e[s][1][1])),e[s][2].push(...n(...e[s][1][2])),e[s][2].push(...n(...e[s][1][3]));for(let t=0;t<8;++t){s[t]=[];for(let r=0;r<4;++r)s[t][r]=[],s[t][r][0]=n(e[0][2][t][r],e[1][2][t][r],e[2][2][t][r],e[3][2][t][r]),s[t][r][1]=[],s[t][r][1].push(...n(...s[t][r][0][0])),s[t][r][1].push(...n(...s[t][r][0][1])),s[t][r][2]=[],s[t][r][2].push(...n(...s[t][r][1][0])),s[t][r][2].push(...n(...s[t][r][1][1])),s[t][r][2].push(...n(...s[t][r][1][2])),s[t][r][2].push(...n(...s[t][r][1][3]))}for(let t=0;t<8;++t){r[t]=[];for(let e=0;e<8;++e)r[t][e]=[],r[t][e][0]=s[t][0][2][e],r[t][e][1]=s[t][1][2][e],r[t][e][2]=s[t][2][2][e],r[t][e][3]=s[t][3][2][e]}return r};class x{constructor(t,e){this.x=t||0,this.y=e||0}toString(){return`(x=${this.x}, y=${this.y})`}clone(){return new x(this.x,this.y)}add(t){return new x(this.x+t.x,this.y+t.y)}scale(t){return void 0===t.x?new x(this.x*t,this.y*t):new x(this.x*t.x,this.y*t.y)}distSquared(t){let e=this.x-t.x,s=this.y-t.y;return e*e+s*s}transform(t){let e=this.x*t.a+this.y*t.c+t.e,s=this.x*t.b+this.y*t.d+t.f;return new x(e,s)}}class g{constructor(t,e,s,r,n,o){void 0===t?(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0):(this.a=t,this.b=e,this.c=s,this.d=r,this.e=n,this.f=o)}toString(){return`affine: ${this.a} ${this.c} ${this.e} \n ${this.b} ${this.d} ${this.f}`}append(t){t instanceof g||console.error("mesh.js: argument to Affine.append is not affine!");let e=this.a*t.a+this.c*t.b,s=this.b*t.a+this.d*t.b,r=this.a*t.c+this.c*t.d,n=this.b*t.c+this.d*t.d,o=this.a*t.e+this.c*t.f+this.e,i=this.b*t.e+this.d*t.f+this.f;return new g(e,s,r,n,o,i)}}class w{constructor(t,e){this.nodes=t,this.colors=e}paintCurve(t,e){if(o(this.nodes)>r){const s=n(...this.nodes);let r=[[],[]],o=[[],[]];for(let t=0;t<4;++t)r[0][t]=this.colors[0][t],r[1][t]=(this.colors[0][t]+this.colors[1][t])/2,o[0][t]=r[1][t],o[1][t]=this.colors[1][t];let i=new w(s[0],r),a=new w(s[1],o);i.paintCurve(t,e),a.paintCurve(t,e)}else{let s=Math.round(this.nodes[0].x);if(s>=0&&s<e){let r=4*(~~this.nodes[0].y*e+s);t[r]=Math.round(this.colors[0][0]),t[r+1]=Math.round(this.colors[0][1]),t[r+2]=Math.round(this.colors[0][2]),t[r+3]=Math.round(this.colors[0][3])}}}}class m{constructor(t,e){this.nodes=t,this.colors=e}split(){let t=[[],[],[],[]],e=[[],[],[],[]],s=[[[],[]],[[],[]]],r=[[[],[]],[[],[]]];for(let s=0;s<4;++s){const r=n(this.nodes[0][s],this.nodes[1][s],this.nodes[2][s],this.nodes[3][s]);t[0][s]=r[0][0],t[1][s]=r[0][1],t[2][s]=r[0][2],t[3][s]=r[0][3],e[0][s]=r[1][0],e[1][s]=r[1][1],e[2][s]=r[1][2],e[3][s]=r[1][3]}for(let t=0;t<4;++t)s[0][0][t]=this.colors[0][0][t],s[0][1][t]=this.colors[0][1][t],s[1][0][t]=(this.colors[0][0][t]+this.colors[1][0][t])/2,s[1][1][t]=(this.colors[0][1][t]+this.colors[1][1][t])/2,r[0][0][t]=s[1][0][t],r[0][1][t]=s[1][1][t],r[1][0][t]=this.colors[1][0][t],r[1][1][t]=this.colors[1][1][t];return[new m(t,s),new m(e,r)]}paint(t,e){let s,n=!1;for(let t=0;t<4;++t)if((s=o([this.nodes[0][t],this.nodes[1][t],this.nodes[2][t],this.nodes[3][t]]))>r){n=!0;break}if(n){let s=this.split();s[0].paint(t,e),s[1].paint(t,e)}else{new w([...this.nodes[0]],[...this.colors[0]]).paintCurve(t,e)}}}class b{constructor(t){this.readMesh(t),this.type=t.getAttribute("type")||"bilinear"}readMesh(t){let e=[[]],s=[[]],r=Number(t.getAttribute("x")),n=Number(t.getAttribute("y"));e[0][0]=new x(r,n);let o=t.children;for(let t=0,r=o.length;t<r;++t){e[3*t+1]=[],e[3*t+2]=[],e[3*t+3]=[],s[t+1]=[];let r=o[t].children;for(let n=0,o=r.length;n<o;++n){let o=r[n].children;for(let r=0,i=o.length;r<i;++r){let i=r;0!==t&&++i;let h,d=o[r].getAttribute("path"),c="l";null!=d&&(c=(h=d.match(/\s*([lLcC])\s*(.*)/))[1]);let u=l(h[2]);switch(c){case"l":0===i?(e[3*t][3*n+3]=u[0].add(e[3*t][3*n]),e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&&(e[3*t+3][3*n+0]=u[0].add(e[3*t+3][3*n+3])),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case"L":0===i?(e[3*t][3*n+3]=u[0],e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0],e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&&(e[3*t+3][3*n+0]=u[0]),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case"c":0===i?(e[3*t][3*n+1]=u[0].add(e[3*t][3*n]),e[3*t][3*n+2]=u[1].add(e[3*t][3*n]),e[3*t][3*n+3]=u[2].add(e[3*t][3*n])):1===i?(e[3*t+1][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+2][3*n+3]=u[1].add(e[3*t][3*n+3]),e[3*t+3][3*n+3]=u[2].add(e[3*t][3*n+3])):2===i?(e[3*t+3][3*n+2]=u[0].add(e[3*t+3][3*n+3]),e[3*t+3][3*n+1]=u[1].add(e[3*t+3][3*n+3]),0===n&&(e[3*t+3][3*n+0]=u[2].add(e[3*t+3][3*n+3]))):(e[3*t+2][3*n]=u[0].add(e[3*t+3][3*n]),e[3*t+1][3*n]=u[1].add(e[3*t+3][3*n]));break;case"C":0===i?(e[3*t][3*n+1]=u[0],e[3*t][3*n+2]=u[1],e[3*t][3*n+3]=u[2]):1===i?(e[3*t+1][3*n+3]=u[0],e[3*t+2][3*n+3]=u[1],e[3*t+3][3*n+3]=u[2]):2===i?(e[3*t+3][3*n+2]=u[0],e[3*t+3][3*n+1]=u[1],0===n&&(e[3*t+3][3*n+0]=u[2])):(e[3*t+2][3*n]=u[0],e[3*t+1][3*n]=u[1]);break;default:console.error("mesh.js: "+c+" invalid path type.")}if(0===t&&0===n||r>0){let e=window.getComputedStyle(o[r]).stopColor.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),a=window.getComputedStyle(o[r]).stopOpacity,h=255;a&&(h=Math.floor(255*a)),e&&(0===i?(s[t][n]=[],s[t][n][0]=Math.floor(e[1]),s[t][n][1]=Math.floor(e[2]),s[t][n][2]=Math.floor(e[3]),s[t][n][3]=h):1===i?(s[t][n+1]=[],s[t][n+1][0]=Math.floor(e[1]),s[t][n+1][1]=Math.floor(e[2]),s[t][n+1][2]=Math.floor(e[3]),s[t][n+1][3]=h):2===i?(s[t+1][n+1]=[],s[t+1][n+1][0]=Math.floor(e[1]),s[t+1][n+1][1]=Math.floor(e[2]),s[t+1][n+1][2]=Math.floor(e[3]),s[t+1][n+1][3]=h):3===i&&(s[t+1][n]=[],s[t+1][n][0]=Math.floor(e[1]),s[t+1][n][1]=Math.floor(e[2]),s[t+1][n][2]=Math.floor(e[3]),s[t+1][n][3]=h))}}e[3*t+1][3*n+1]=new x,e[3*t+1][3*n+2]=new x,e[3*t+2][3*n+1]=new x,e[3*t+2][3*n+2]=new x,e[3*t+1][3*n+1].x=(-4*e[3*t][3*n].x+6*(e[3*t][3*n+1].x+e[3*t+1][3*n].x)+-2*(e[3*t][3*n+3].x+e[3*t+3][3*n].x)+3*(e[3*t+3][3*n+1].x+e[3*t+1][3*n+3].x)+-1*e[3*t+3][3*n+3].x)/9,e[3*t+1][3*n+2].x=(-4*e[3*t][3*n+3].x+6*(e[3*t][3*n+2].x+e[3*t+1][3*n+3].x)+-2*(e[3*t][3*n].x+e[3*t+3][3*n+3].x)+3*(e[3*t+3][3*n+2].x+e[3*t+1][3*n].x)+-1*e[3*t+3][3*n].x)/9,e[3*t+2][3*n+1].x=(-4*e[3*t+3][3*n].x+6*(e[3*t+3][3*n+1].x+e[3*t+2][3*n].x)+-2*(e[3*t+3][3*n+3].x+e[3*t][3*n].x)+3*(e[3*t][3*n+1].x+e[3*t+2][3*n+3].x)+-1*e[3*t][3*n+3].x)/9,e[3*t+2][3*n+2].x=(-4*e[3*t+3][3*n+3].x+6*(e[3*t+3][3*n+2].x+e[3*t+2][3*n+3].x)+-2*(e[3*t+3][3*n].x+e[3*t][3*n+3].x)+3*(e[3*t][3*n+2].x+e[3*t+2][3*n].x)+-1*e[3*t][3*n].x)/9,e[3*t+1][3*n+1].y=(-4*e[3*t][3*n].y+6*(e[3*t][3*n+1].y+e[3*t+1][3*n].y)+-2*(e[3*t][3*n+3].y+e[3*t+3][3*n].y)+3*(e[3*t+3][3*n+1].y+e[3*t+1][3*n+3].y)+-1*e[3*t+3][3*n+3].y)/9,e[3*t+1][3*n+2].y=(-4*e[3*t][3*n+3].y+6*(e[3*t][3*n+2].y+e[3*t+1][3*n+3].y)+-2*(e[3*t][3*n].y+e[3*t+3][3*n+3].y)+3*(e[3*t+3][3*n+2].y+e[3*t+1][3*n].y)+-1*e[3*t+3][3*n].y)/9,e[3*t+2][3*n+1].y=(-4*e[3*t+3][3*n].y+6*(e[3*t+3][3*n+1].y+e[3*t+2][3*n].y)+-2*(e[3*t+3][3*n+3].y+e[3*t][3*n].y)+3*(e[3*t][3*n+1].y+e[3*t+2][3*n+3].y)+-1*e[3*t][3*n+3].y)/9,e[3*t+2][3*n+2].y=(-4*e[3*t+3][3*n+3].y+6*(e[3*t+3][3*n+2].y+e[3*t+2][3*n+3].y)+-2*(e[3*t+3][3*n].y+e[3*t][3*n+3].y)+3*(e[3*t][3*n+2].y+e[3*t+2][3*n].y)+-1*e[3*t][3*n].y)/9}}this.nodes=e,this.colors=s}paintMesh(t,e){let s=(this.nodes.length-1)/3,r=(this.nodes[0].length-1)/3;if("bilinear"===this.type||s<2||r<2){let n;for(let o=0;o<s;++o)for(let s=0;s<r;++s){let r=[];for(let t=3*o,e=3*o+4;t<e;++t)r.push(this.nodes[t].slice(3*s,3*s+4));let i=[];i.push(this.colors[o].slice(s,s+2)),i.push(this.colors[o+1].slice(s,s+2)),(n=new m(r,i)).paint(t,e)}}else{let n,o,a,h,l,d,u;const x=s,g=r;s++,r++;let w=new Array(s);for(let t=0;t<s;++t){w[t]=new Array(r);for(let e=0;e<r;++e)w[t][e]=[],w[t][e][0]=this.nodes[3*t][3*e],w[t][e][1]=this.colors[t][e]}for(let t=0;t<s;++t)for(let e=0;e<r;++e)0!==t&&t!==x&&(n=i(w[t-1][e][0],w[t][e][0]),o=i(w[t+1][e][0],w[t][e][0]),w[t][e][2]=c(w[t-1][e][1],w[t][e][1],w[t+1][e][1],n,o)),0!==e&&e!==g&&(n=i(w[t][e-1][0],w[t][e][0]),o=i(w[t][e+1][0],w[t][e][0]),w[t][e][3]=c(w[t][e-1][1],w[t][e][1],w[t][e+1][1],n,o));for(let t=0;t<r;++t){w[0][t][2]=[],w[x][t][2]=[];for(let e=0;e<4;++e)n=i(w[1][t][0],w[0][t][0]),o=i(w[x][t][0],w[x-1][t][0]),w[0][t][2][e]=n>0?2*(w[1][t][1][e]-w[0][t][1][e])/n-w[1][t][2][e]:0,w[x][t][2][e]=o>0?2*(w[x][t][1][e]-w[x-1][t][1][e])/o-w[x-1][t][2][e]:0}for(let t=0;t<s;++t){w[t][0][3]=[],w[t][g][3]=[];for(let e=0;e<4;++e)n=i(w[t][1][0],w[t][0][0]),o=i(w[t][g][0],w[t][g-1][0]),w[t][0][3][e]=n>0?2*(w[t][1][1][e]-w[t][0][1][e])/n-w[t][1][3][e]:0,w[t][g][3][e]=o>0?2*(w[t][g][1][e]-w[t][g-1][1][e])/o-w[t][g-1][3][e]:0}for(let s=0;s<x;++s)for(let r=0;r<g;++r){let n=i(w[s][r][0],w[s+1][r][0]),o=i(w[s][r+1][0],w[s+1][r+1][0]),c=i(w[s][r][0],w[s][r+1][0]),x=i(w[s+1][r][0],w[s+1][r+1][0]),g=[[],[],[],[]];for(let t=0;t<4;++t){(d=[])[0]=w[s][r][1][t],d[1]=w[s+1][r][1][t],d[2]=w[s][r+1][1][t],d[3]=w[s+1][r+1][1][t],d[4]=w[s][r][2][t]*n,d[5]=w[s+1][r][2][t]*n,d[6]=w[s][r+1][2][t]*o,d[7]=w[s+1][r+1][2][t]*o,d[8]=w[s][r][3][t]*c,d[9]=w[s+1][r][3][t]*x,d[10]=w[s][r+1][3][t]*c,d[11]=w[s+1][r+1][3][t]*x,d[12]=0,d[13]=0,d[14]=0,d[15]=0,u=f(d);for(let e=0;e<9;++e){g[t][e]=[];for(let s=0;s<9;++s)g[t][e][s]=p(u,e/8,s/8),g[t][e][s]>255?g[t][e][s]=255:g[t][e][s]<0&&(g[t][e][s]=0)}}h=[];for(let t=3*s,e=3*s+4;t<e;++t)h.push(this.nodes[t].slice(3*r,3*r+4));l=y(h);for(let s=0;s<8;++s)for(let r=0;r<8;++r)(a=new m(l[s][r],[[[g[0][s][r],g[1][s][r],g[2][s][r],g[3][s][r]],[g[0][s][r+1],g[1][s][r+1],g[2][s][r+1],g[3][s][r+1]]],[[g[0][s+1][r],g[1][s+1][r],g[2][s+1][r],g[3][s+1][r]],[g[0][s+1][r+1],g[1][s+1][r+1],g[2][s+1][r+1],g[3][s+1][r+1]]]])).paint(t,e)}}}transform(t){if(t instanceof x)for(let e=0,s=this.nodes.length;e<s;++e)for(let s=0,r=this.nodes[0].length;s<r;++s)this.nodes[e][s]=this.nodes[e][s].add(t);else if(t instanceof g)for(let e=0,s=this.nodes.length;e<s;++e)for(let s=0,r=this.nodes[0].length;s<r;++s)this.nodes[e][s]=this.nodes[e][s].transform(t)}scale(t){for(let e=0,s=this.nodes.length;e<s;++e)for(let s=0,r=this.nodes[0].length;s<r;++s)this.nodes[e][s]=this.nodes[e][s].scale(t)}}document.querySelectorAll("rect,circle,ellipse,path,text").forEach((r,n)=>{let o=r.getAttribute("id");o||(o="patchjs_shape"+n,r.setAttribute("id",o));const i=r.style.fill.match(/^url\(\s*"?\s*#([^\s"]+)"?\s*\)/),a=r.style.stroke.match(/^url\(\s*"?\s*#([^\s"]+)"?\s*\)/);if(i&&i[1]){const a=document.getElementById(i[1]);if(a&&"meshgradient"===a.nodeName){const i=r.getBBox();let l=document.createElementNS(s,"canvas");d(l,{width:i.width,height:i.height});const c=l.getContext("2d");let u=c.createImageData(i.width,i.height);const f=new b(a);"objectBoundingBox"===a.getAttribute("gradientUnits")&&f.scale(new x(i.width,i.height));const p=a.getAttribute("gradientTransform");null!=p&&f.transform(h(p)),"userSpaceOnUse"===a.getAttribute("gradientUnits")&&f.transform(new x(-i.x,-i.y)),f.paintMesh(u.data,l.width),c.putImageData(u,0,0);const y=document.createElementNS(t,"image");d(y,{width:i.width,height:i.height,x:i.x,y:i.y});let g=l.toDataURL();y.setAttributeNS(e,"xlink:href",g),r.parentNode.insertBefore(y,r),r.style.fill="none";const w=document.createElementNS(t,"use");w.setAttributeNS(e,"xlink:href","#"+o);const m="patchjs_clip"+n,M=document.createElementNS(t,"clipPath");M.setAttribute("id",m),M.appendChild(w),r.parentElement.insertBefore(M,r),y.setAttribute("clip-path","url(#"+m+")"),u=null,l=null,g=null}}if(a&&a[1]){const o=document.getElementById(a[1]);if(o&&"meshgradient"===o.nodeName){const i=parseFloat(r.style.strokeWidth.slice(0,-2))*(parseFloat(r.style.strokeMiterlimit)||parseFloat(r.getAttribute("stroke-miterlimit"))||1),a=r.getBBox(),l=Math.trunc(a.width+i),c=Math.trunc(a.height+i),u=Math.trunc(a.x-i/2),f=Math.trunc(a.y-i/2);let p=document.createElementNS(s,"canvas");d(p,{width:l,height:c});const y=p.getContext("2d");let g=y.createImageData(l,c);const w=new b(o);"objectBoundingBox"===o.getAttribute("gradientUnits")&&w.scale(new x(l,c));const m=o.getAttribute("gradientTransform");null!=m&&w.transform(h(m)),"userSpaceOnUse"===o.getAttribute("gradientUnits")&&w.transform(new x(-u,-f)),w.paintMesh(g.data,p.width),y.putImageData(g,0,0);const M=document.createElementNS(t,"image");d(M,{width:l,height:c,x:0,y:0});let S=p.toDataURL();M.setAttributeNS(e,"xlink:href",S);const k="pattern_clip"+n,A=document.createElementNS(t,"pattern");d(A,{id:k,patternUnits:"userSpaceOnUse",width:l,height:c,x:u,y:f}),A.appendChild(M),o.parentNode.appendChild(A),r.style.stroke="url(#"+k+")",g=null,p=null,S=null}}})}();
- </script>
- <g
- inkscape:groupmode="layer"
- id="layer1"
- inkscape:label="dot">
- <circle
- style="fill:#000000;stroke-width:14.2569"
- id="path254"
- cx="12.7"
- cy="12.7"
- inkscape:export-xdpi="96"
- inkscape:export-ydpi="96"
- r="7.7863092" />
- <circle
- style="fill:url(#linearGradient3122);fill-opacity:1;stroke-width:9.94265"
- id="path254-8"
- cx="20.478868"
- cy="5.5422969"
- inkscape:export-xdpi="96"
- inkscape:export-ydpi="96"
- transform="matrix(0.87345054,0.48691289,-0.61194538,0.79090003,0,0)"
- rx="4.1300306"
- ry="7.1394286" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer2"
- inkscape:label="a dot"
- style="display:none"
- sodipodi:insensitive="true">
- <circle
- style="fill:#000000;stroke-width:2.78564"
- id="path254-3"
- cx="1.984375"
- cy="0.59058779"
- r="1.5213541" />
- </g>
- </svg>
|