-<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M1.171875.25H1004.687475V1005.6094H1.171875Z" fill="#09bbf1" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z" fill="#09bbf1"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z" fill="#09bbf1"/></svg>
\ No newline at end of file
+<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M.10681413.09784845 1000.0527.01592069V1000.0851L.06005738 999.9983Z" fill="#09bbf1" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><g fill="#09bbf1"><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z"/></g></svg>
\ No newline at end of file
-<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M1.171875.25H1004.687475V1005.6094H1.171875Z" fill="#fff" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z" fill="#fff"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z" fill="#fff"/></svg>
\ No newline at end of file
+<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M-.01986229-.01483051 999.12603.51483051 999.95363 999.91554.07944915 999.94865Z" fill="#fff" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><g fill="#fff"><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z"/></g></svg>
\ No newline at end of file
/* Drawing Commands */
/************************************************************************/
-static const char* svg = "<svg height=\"1000\" viewBox=\"0 0 1000 1000\" width=\"1000\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.171875.25H1004.687475V1005.6094H1.171875Z\" fill=\"#09bbf1\" stroke-width=\"3.910218\"/><g fill=\"#252f35\"><g stroke-width=\"3.864492\"><path d=\"M256.61221 100.51736H752.8963V386.99554H256.61221Z\"/><path d=\"M201.875 100.51736H238.366478V386.99554H201.875Z\"/><path d=\"M771.14203 100.51736H807.633508V386.99554H771.14203Z\"/></g><path d=\"M420.82388 380H588.68467V422.805317H420.82388Z\" stroke-width=\"3.227\"/><path d=\"m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z\"/><path d=\"M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z\"/></g><g fill=\"#222f35\"><path d=\"M420.82403 691.37851 588.68482 630.5019 589 834H421Z\"/><path d=\"m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0\"/><path d=\"m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z\"/></g><path d=\"m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z\" fill=\"#09bbf1\"/><path d=\"m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z\" fill=\"#09bbf1\"/></svg>";
+static const char* svg = "<svg height=\"1000\" viewBox=\"0 0 1000 1000\" width=\"1000\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.10681413.09784845 1000.0527.01592069V1000.0851L.06005738 999.9983Z\" fill=\"#09bbf1\" stroke-width=\"3.910218\"/><g fill=\"#252f35\"><g stroke-width=\"3.864492\"><path d=\"M256.61221 100.51736H752.8963V386.99554H256.61221Z\"/><path d=\"M201.875 100.51736H238.366478V386.99554H201.875Z\"/><path d=\"M771.14203 100.51736H807.633508V386.99554H771.14203Z\"/></g><path d=\"M420.82388 380H588.68467V422.805317H420.82388Z\" stroke-width=\"3.227\"/><path d=\"m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z\"/><path d=\"M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z\"/></g><g fill=\"#222f35\"><path d=\"M420.82403 691.37851 588.68482 630.5019 589 834H421Z\"/><path d=\"m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0\"/><path d=\"m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z\"/></g><g fill=\"#09bbf1\"><path d=\"m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z\"/><path d=\"m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z\"/></g></svg>";
void tvgDrawCmds(tvg::Canvas* canvas)
-<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M1.171875.25H1004.687475V1005.6094H1.171875Z" fill="#09bbf1" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z" fill="#09bbf1"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z" fill="#09bbf1"/></svg>
\ No newline at end of file
+<svg height="1000" viewBox="0 0 1000 1000" width="1000" xmlns="http://www.w3.org/2000/svg"><path d="M.10681413.09784845 1000.0527.01592069V1000.0851L.06005738 999.9983Z" fill="#09bbf1" stroke-width="3.910218"/><g fill="#252f35"><g stroke-width="3.864492"><path d="M256.61221 100.51736H752.8963V386.99554H256.61221Z"/><path d="M201.875 100.51736H238.366478V386.99554H201.875Z"/><path d="M771.14203 100.51736H807.633508V386.99554H771.14203Z"/></g><path d="M420.82388 380H588.68467V422.805317H420.82388Z" stroke-width="3.227"/><path d="m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z"/><path d="M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z"/></g><g fill="#222f35"><path d="M420.82403 691.37851 588.68482 630.5019 589 834H421Z"/><path d="m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0"/><path d="m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z"/></g><g fill="#09bbf1"><path d="m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z"/><path d="m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z"/></g></svg>
\ No newline at end of file
using namespace std;
using namespace tvg;
-string defaultData("<svg height=\"1000\" viewBox=\"0 0 1000 1000\" width=\"1000\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.171875.25H1004.687475V1005.6094H1.171875Z\" fill=\"#09bbf1\" stroke-width=\"3.910218\"/><g fill=\"#252f35\"><g stroke-width=\"3.864492\"><path d=\"M256.61221 100.51736H752.8963V386.99554H256.61221Z\"/><path d=\"M201.875 100.51736H238.366478V386.99554H201.875Z\"/><path d=\"M771.14203 100.51736H807.633508V386.99554H771.14203Z\"/></g><path d=\"M420.82388 380H588.68467V422.805317H420.82388Z\" stroke-width=\"3.227\"/><path d=\"m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z\"/><path d=\"M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z\"/></g><g fill=\"#222f35\"><path d=\"M420.82403 691.37851 588.68482 630.5019 589 834H421Z\"/><path d=\"m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0\"/><path d=\"m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z\"/></g><path d=\"m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z\" fill=\"#09bbf1\"/><path d=\"m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z\" fill=\"#09bbf1\"/></svg>");
+string defaultData("<svg height=\"1000\" viewBox=\"0 0 1000 1000\" width=\"1000\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.10681413.09784845 1000.0527.01592069V1000.0851L.06005738 999.9983Z\" fill=\"#09bbf1\" stroke-width=\"3.910218\"/><g fill=\"#252f35\"><g stroke-width=\"3.864492\"><path d=\"M256.61221 100.51736H752.8963V386.99554H256.61221Z\"/><path d=\"M201.875 100.51736H238.366478V386.99554H201.875Z\"/><path d=\"M771.14203 100.51736H807.633508V386.99554H771.14203Z\"/></g><path d=\"M420.82388 380H588.68467V422.805317H420.82388Z\" stroke-width=\"3.227\"/><path d=\"m420.82403 440.7101v63.94623l167.86079 25.5782V440.7101Z\"/><path d=\"M420.82403 523.07258V673.47362L588.68482 612.59701V548.13942Z\"/></g><g fill=\"#222f35\"><path d=\"M420.82403 691.37851 588.68482 630.5019 589 834H421Z\"/><path d=\"m420.82403 852.52249h167.86079v28.64782H420.82403v-28.64782 0 0\"/><path d=\"m439.06977 879.17031c0 0-14.90282 8.49429-18.24574 15.8161-4.3792 9.59153 0 31.63185 0 31.63185h167.86079c0 0 4.3792-22.04032 0-31.63185-3.34292-7.32181-18.24574-15.8161-18.24574-15.8161z\"/></g><g fill=\"#09bbf1\"><path d=\"m280 140h15v55l8 10 8-10v-55h15v60l-23 25-23-25z\"/><path d=\"m335 140v80h45v-50h-25v10h10v30h-15v-57h18v-13z\"/></g></svg>");
class __attribute__((visibility("default"))) ThorvgWasm
{