feat: remove margins from shape render (#10)

This commit is contained in:
afn 2023-06-05 22:11:57 -04:00 committed by GitHub
parent ce7298f1a0
commit 4f590d4aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 800 800" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="Logo"><g id="Shape"><path id="V-Shape" serif:id="V Shape" d="M538.74,269.872c1.481,-3.382 1.157,-7.283 -0.863,-10.373c-2.021,-3.091 -5.464,-4.954 -9.156,-4.954c-5.148,0 -10.435,0 -14.165,0c-3.1,0 -5.907,1.834 -7.153,4.672c-12.468,28.396 -78.273,178.273 -100.25,228.328c-1.246,2.838 -4.053,4.671 -7.154,4.671c-3.1,0 -5.907,-1.833 -7.153,-4.671c-21.977,-50.055 -87.782,-199.932 -100.25,-228.328c-1.246,-2.838 -4.053,-4.672 -7.153,-4.672c-3.73,0 -9.017,0 -14.164,0c-3.693,0 -7.135,1.863 -9.156,4.954c-2.02,3.09 -2.344,6.991 -0.863,10.373c23.557,53.766 101.872,232.519 117.871,269.034c1.743,3.979 5.674,6.549 10.018,6.549c6.293,-0 15.408,-0 21.701,-0c4.344,-0 8.275,-2.57 10.018,-6.549c15.999,-36.515 94.315,-215.268 117.872,-269.034Z" style="fill:#fff;"/><path id="Diamond" d="M408.119,395.312c-1.675,2.901 -4.77,4.688 -8.119,4.688c-3.349,-0 -6.444,-1.787 -8.119,-4.688c-16.997,-29.44 -56.156,-97.264 -73.153,-126.704c-1.675,-2.901 -1.675,-6.474 0,-9.375c1.675,-2.901 4.77,-4.688 8.119,-4.688c33.995,0 112.311,0 146.306,0c3.349,0 6.444,1.787 8.119,4.688c1.675,2.901 1.675,6.474 -0,9.375c-16.997,29.44 -56.156,97.264 -73.153,126.704Z" style="fill:url(#_Linear1);"/></g></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.77155e-14,289.317,-282.535,1.73003e-14,400,254.545)"><stop offset="0" style="stop-color:#f04e98;stop-opacity:1"/><stop offset="0.5" style="stop-color:#5f65d4;stop-opacity:1"/><stop offset="1" style="stop-color:#4e98f0;stop-opacity:1"/></linearGradient></defs></svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(2.75,0,0,2.75,-224,-224)">
<g id="Shape">
<g id="V-Shape" serif:id="V Shape" transform="matrix(1,0,0,1,1.01146e-05,-0.0493818)">
<path d="M173.764,83.287C173.936,82.894 173.899,82.44 173.664,82.08C173.429,81.721 173.028,81.504 172.598,81.504C169.925,81.504 165.262,81.504 163.619,81.504C163.258,81.504 162.932,81.717 162.787,82.048C160.01,88.371 133.856,147.939 128.832,159.381C128.687,159.712 128.361,159.925 128,159.925C127.639,159.925 127.312,159.712 127.167,159.381C122.144,147.939 95.989,88.371 93.213,82.048C93.068,81.717 92.741,81.504 92.381,81.504C90.737,81.504 86.075,81.504 83.402,81.504C82.972,81.504 82.571,81.721 82.336,82.08C82.101,82.44 82.064,82.894 82.236,83.287C87.557,95.432 118.354,165.726 121.906,173.833C122.109,174.296 122.566,174.595 123.072,174.595C125.196,174.595 130.803,174.595 132.928,174.595C133.433,174.595 133.891,174.296 134.094,173.833C137.645,165.727 168.443,95.432 173.764,83.287Z" style="fill:white;"/>
</g>
<g id="Diamond" transform="matrix(-1.54007,-1.88604e-16,1.88604e-16,-1.54007,327.925,209.689)">
<path d="M129.203,52.157C129.329,51.938 129.563,51.803 129.816,51.803C130.069,51.803 130.303,51.938 130.429,52.157C133.25,57.043 144.956,77.318 147.777,82.203C147.903,82.422 147.903,82.692 147.777,82.912C147.65,83.131 147.416,83.266 147.163,83.266L112.469,83.266C112.216,83.266 111.982,83.131 111.856,82.912C111.729,82.692 111.729,82.422 111.856,82.203C114.676,77.318 126.382,57.043 129.203,52.157Z" style="fill:url(#_Linear1);"/>
</g>
</g>
</g>
<defs>
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.1043e-14,-60.1151,58.7061,-1.07841e-14,129.816,83.2658)"><stop offset="0" style="stop-color:rgb(240,78,152);stop-opacity:1"/><stop offset="0.5" style="stop-color:rgb(95,101,212);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(78,152,240);stop-opacity:1"/></linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB