123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967 |
- <?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="2in"
- height="2in"
- viewBox="0 0 50.800001 50.800001"
- 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="96"
- inkscape:export-ydpi="96">
- <defs
- id="defs2">
- <linearGradient
- id="linearGradient2854"
- osb:paint="solid">
- <stop
- style="stop-color:#000000;stop-opacity:1;"
- offset="0"
- id="stop2852" />
- </linearGradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient948"
- gradientUnits="userSpaceOnUse"
- x="2.6928208"
- y="3.3542788"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,15.387687,11.682043)">
- <meshrow
- id="meshrow950">
- <meshpatch
- id="meshpatch952">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop954" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop956" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop958" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop960" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1001"
- gradientUnits="userSpaceOnUse"
- x="7.0867939"
- y="3.4251497"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,-19.557996,-0.74083224)">
- <meshrow
- id="meshrow1003">
- <meshpatch
- id="meshpatch1005">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1007" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1009" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1011" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1013" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient896"
- gradientUnits="userSpaceOnUse"
- x="1.8896213"
- y="2.1022332"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,7.5636816,17.956325)">
- <meshrow
- id="meshrow898">
- <meshpatch
- id="meshpatch900">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop902" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop904" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop906" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 -2.22045e-16,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop908" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient2858"
- gradientUnits="userSpaceOnUse"
- x="3.5196438"
- y="0.87381029"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,11.685268,12.192422)">
- <meshrow
- id="meshrow2860">
- <meshpatch
- id="meshpatch2862">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop2864" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop2866" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop2868" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop2870" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient915"
- gradientUnits="userSpaceOnUse"
- x="7.6065111"
- y="2.7636912"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,-15.621753,8.7397546)">
- <meshrow
- id="meshrow917">
- <meshpatch
- id="meshpatch919">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop921" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop923" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop925" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop927" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1138"
- gradientUnits="userSpaceOnUse"
- x="1.4901161e-08"
- y="1.4901161e-08"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,12.7,12.7)">
- <meshrow
- id="meshrow1140">
- <meshpatch
- id="meshpatch1142">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1144" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1146" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1148" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1150" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1152"
- gradientUnits="userSpaceOnUse"
- x="0.92105699"
- y="0.87381029"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,12.699999,11.176422)">
- <meshrow
- id="meshrow1154">
- <meshpatch
- id="meshpatch1156">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1158" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1160" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1162" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 -2.22045e-16,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1164" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1166"
- gradientUnits="userSpaceOnUse"
- x="0.89743388"
- y="2.385715"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,12.699999,11.684906)">
- <meshrow
- id="meshrow1168">
- <meshpatch
- id="meshpatch1170">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1172" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1174" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1176" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 -2.22045e-16,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1178" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1180"
- gradientUnits="userSpaceOnUse"
- x="0.77931619"
- y="3.6613851"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,13.205851,12.189505)">
- <meshrow
- id="meshrow1182">
- <meshpatch
- id="meshpatch1184">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1186" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1188" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1190" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 -2.22045e-16,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1192" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1194"
- gradientUnits="userSpaceOnUse"
- x="3.3070321"
- y="0.75569272"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,12.191296,11.685019)">
- <meshrow
- id="meshrow1196">
- <meshpatch
- id="meshpatch1198">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1200" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1202" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1204" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1206" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1208"
- gradientUnits="userSpaceOnUse"
- x="3.2361617"
- y="2.1731036"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,12.7,12.7)">
- <meshrow
- id="meshrow1210">
- <meshpatch
- id="meshpatch1212">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1214" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1216" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1218" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1220" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient1222"
- gradientUnits="userSpaceOnUse"
- x="3.6141374"
- y="3.9212437"
- gradientTransform="matrix(5.0799993,0,0,5.0799993,10.666759,11.174221)">
- <meshrow
- id="meshrow1224">
- <meshpatch
- id="meshpatch1226">
- <stop
- path="c 0.248035,-0.248035 0.650178,-0.248035 0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1228" />
- <stop
- path="c 0.248035,0.248035 0.248035,0.650178 0,0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1230" />
- <stop
- path="c -0.248035,0.248035 -0.650178,0.248035 -0.898213,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop1232" />
- <stop
- path="c -0.248035,-0.248035 -0.248035,-0.650178 0,-0.898213"
- style="stop-color:#800080;stop-opacity:1"
- id="stop1234" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient144"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.3440831,0,0,1.3440831,11.27939,-20.848585)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow156">
- <meshpatch
- id="meshpatch154">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop146" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop148" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop150" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop152" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient174"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562198,0,0,0.35562198,4.5675562,-12.986531)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow186">
- <meshpatch
- id="meshpatch184">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop176" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop178" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop180" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop182" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <meshgradient
- inkscape:collect="always"
- id="meshgradient315"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.35562198,0,0,0.35562198,50.213044,-21.598494)"
- x="1.4901161e-08"
- y="1.4901161e-08">
- <meshrow
- id="meshrow327">
- <meshpatch
- id="meshpatch325">
- <stop
- path="c 1.66667,0 3.33333,0 5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop317" />
- <stop
- path="c 0,1.66667 0,3.33333 0,5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop319" />
- <stop
- path="c -1.66667,0 -3.33333,0 -5,0"
- style="stop-color:#ffffff;stop-opacity:1"
- id="stop321" />
- <stop
- path="c 0,-1.66667 0,-3.33333 0,-5"
- style="stop-color:#800080;stop-opacity:1"
- id="stop323" />
- </meshpatch>
- </meshrow>
- </meshgradient>
- <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>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4"
- inkscape:cx="55.656207"
- inkscape:cy="34.885362"
- inkscape:document-units="mm"
- inkscape:current-layer="layer14"
- 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" />
- <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 />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="box"
- inkscape:groupmode="layer"
- id="layer1"
- style="display:inline">
- <rect
- style="fill:none;fill-opacity:1;stroke:url(#meshgradient1138);stroke-width:0.983899;stroke-opacity:1"
- id="rect7"
- width="24.416101"
- height="24.416098"
- x="13.19195"
- y="13.19195"
- ry="5.8395634"
- rx="5.4162478" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer12"
- inkscape:label="color">
- <g
- inkscape:groupmode="layer"
- id="layer13"
- inkscape:label="white"
- style="display:none">
- <rect
- style="display:inline;fill:#800080;fill-opacity:1;stroke:url(#meshgradient315);stroke-width:0.983898;stroke-opacity:1"
- id="rect7-7-7"
- width="24.416101"
- height="24.4161"
- x="47.228706"
- y="-16.082306"
- ry="5.8395634"
- rx="5.4162478" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer14"
- inkscape:label="red"
- style="display:none">
- <image
- sodipodi:absref="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\colorScapes\red.svg"
- xlink:href="../colorScapes/red.svg"
- transform="translate(39.952084,34.943897)"
- clip-path="url(#clipPath608)"
- y="-44.055"
- x="-37.855602"
- id="image580"
- height="89.999878"
- width="159.99989"
- inkscape:svg-dpi="96"
- preserveAspectRatio="none" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer15"
- inkscape:label="yellow"
- style="display:none">
- <image
- sodipodi:absref="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\colorScapes\yellow.svg"
- xlink:href="../colorScapes/yellow.svg"
- transform="translate(-42.824703,38.72366)"
- clip-path="url(#clipPath534)"
- y="-53.126427"
- x="-48.81691"
- id="image352"
- height="89.999878"
- width="159.99989"
- inkscape:svg-dpi="96"
- preserveAspectRatio="none" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="g121"
- inkscape:label="blue"
- style="display:none">
- <image
- sodipodi:absref="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\colorScapes\blue.svg"
- xlink:href="../colorScapes/blue.svg"
- transform="translate(-48.683332,-10.696726)"
- clip-path="url(#clipPath516)"
- y="-38.574345"
- x="-33.036404"
- id="image402"
- height="89.999878"
- width="159.99989"
- inkscape:svg-dpi="96"
- preserveAspectRatio="none" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="g123"
- inkscape:label="green"
- style="display:none">
- <image
- sodipodi:absref="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\colorScapes\green.svg"
- xlink:href="../colorScapes/green.svg"
- transform="translate(24.416101,-24.4161)"
- clip-path="url(#clipPath498)"
- y="1.1509594"
- x="-89.48719"
- id="image452"
- height="89.999878"
- width="159.99989"
- inkscape:svg-dpi="96"
- preserveAspectRatio="none" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="g125"
- inkscape:label="orange"
- style="display:none">
- <rect
- style="display:inline;fill:#800080;fill-opacity:1;stroke:url(#meshgradient174);stroke-width:0.983898;stroke-opacity:1"
- id="rect7-7-2"
- width="24.416101"
- height="24.4161"
- x="-5.1922026"
- y="-13.970746"
- ry="5.8395634"
- rx="5.4162478" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="g127"
- inkscape:label="purple"
- style="display:none">
- <rect
- style="display:inline;fill:#800080;fill-opacity:1;stroke:url(#meshgradient144);stroke-width:0.983898;stroke-opacity:1"
- id="rect7-7"
- width="24.416101"
- height="24.4161"
- x="7.9191823"
- y="-24.208794"
- ry="5.8395634"
- rx="5.4162478" />
- </g>
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer10"
- inkscape:label="12345"
- style="display:inline">
- <g
- inkscape:groupmode="layer"
- id="layer3"
- inkscape:label="quad3"
- style="display:none">
- <ellipse
- style="fill:none;fill-opacity:1;stroke:url(#meshgradient896);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-7"
- cx="19.444414"
- cy="30.917128"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer11"
- inkscape:label="four"
- style="display:none">
- <g
- inkscape:groupmode="layer"
- id="layer5"
- inkscape:label="quad2"
- style="display:none">
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient2858);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-7-8"
- cx="31.846516"
- cy="18.91284"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer9"
- inkscape:label="two"
- style="display:inline">
- <g
- inkscape:groupmode="layer"
- id="layer4"
- inkscape:label="quad4"
- style="display:inline">
- <ellipse
- style="fill:none;fill-opacity:1;stroke:url(#meshgradient948);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4"
- cx="31.348675"
- cy="31.003235"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer2"
- inkscape:label="quad1"
- style="display:inline">
- <ellipse
- style="fill:none;fill-opacity:1;stroke:url(#meshgradient1001);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-6"
- cx="18.724369"
- cy="18.940388"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- </g>
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer8"
- inkscape:label="one"
- style="display:none">
- <g
- inkscape:groupmode="layer"
- id="layer6"
- inkscape:label="center"
- style="display:inline">
- <ellipse
- style="fill:none;fill-opacity:1;stroke:url(#meshgradient915);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9"
- cx="25.300777"
- cy="25.060764"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- </g>
- </g>
- <g
- inkscape:groupmode="layer"
- id="layer7"
- inkscape:label="6"
- style="display:inline">
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1152);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-5"
- cx="19.660427"
- cy="17.896839"
- rx="3.2264714"
- ry="3.2264719" />
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1166);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-7"
- cx="19.540421"
- cy="26.0858"
- rx="3.2264714"
- ry="3.2264719" />
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1180);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-9"
- cx="19.446236"
- cy="33.070801"
- rx="3.2264714"
- ry="3.2264719" />
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1194);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-3"
- cx="31.272474"
- cy="17.805399"
- rx="3.2264714"
- ry="3.2264719" />
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1208);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-1"
- cx="31.421158"
- cy="26.020824"
- rx="3.2264714"
- ry="3.2264719" />
- <ellipse
- style="display:inline;fill:none;fill-opacity:1;stroke:url(#meshgradient1222);stroke-width:1.16706;stroke-opacity:1"
- id="path2796-4-9-13"
- cx="31.308037"
- cy="33.375599"
- rx="3.2264714"
- ry="3.2264719" />
- </g>
- <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>
- </svg>
|