You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we want the min viewBox size to be 4, then maybe we should transform the pathData to ensure this precondition is met w/o affecting the scale of the image?
Example SVG:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.0"
width="600"
height="600"
viewBox="0 0 1 1"
id="svg2">
<defs id="defs3497" />
<g transform="matrix(1.688625,0,0,1.688625,-0.404256,0.14628)"
id="g6547">
<path d="M 0.67499548,0.44929292 L 0.67209619,0.44970958 L 0.66930107,0.45007416 L 0.66661012,0.4503693 L 0.66404069,0.45059499 L 0.66154071,0.4507686 L 0.65916225,0.45087277 L 0.6568706,0.45092485 L 0.65466575,0.45092485 L 0.65256507,0.45085541 L 0.65055119,0.45073388 L 0.64862412,0.45056027 L 0.64678386,0.45033458 L 0.64501303,0.45003944 L 0.64334638,0.44970958 L 0.64174916,0.44932764 L 0.64023876,0.44889362 L 0.6387978,0.44840751 L 0.63742628,0.44786932 L 0.63614156,0.44727904 L 0.63490893,0.44665405 L 0.6337631,0.44597697 L 0.63266936,0.44524781 L 0.63164506,0.44448392 L 0.63069021,0.44366796 L 0.62978744,0.44281727 L 0.62895411,0.44191449 L 0.62817286,0.440977 L 0.6274437,0.44000478 L 0.62676662,0.43898049 L 0.62614163,0.43792146 L 0.62504788,0.43569926 L 0.62412775,0.43333816 L 0.62338123,0.43083818 L 0.62277359,0.42821667 L 0.62230484,0.42545627 L 0.62197499,0.4225917 L 0.62173193,0.41962297 L 0.62157568,0.41655007 L 0.62148888,0.41337301 L 0.62147152,0.4101265 L 0.62150624,0.40679319 L 0.62154096,0.40339044 L 0.6216104,0.3999356 L 0.62169721,0.39281759 L 0.62171457,0.3892065 L 0.61791251,0.30887715 L 0.60207928,0.38304334 C 0.59874597,0.39679326 0.59499599,0.40970984 0.61499586,0.42012644 C 0.62916244,0.43264372 0.61332921,0.44972694 0.59791264,0.44764362 C 0.55166294,0.44929292 0.55832956,0.41847714 0.5624962,0.39679326 L 0.56499618,0.36512679 L 0.57249614,0.30054387 L 0.56624618,0.28429398 C 0.51582983,0.27137739 0.48166338,0.26179412 0.44291363,0.24096092 L 0.41541381,0.2447109 C 0.40249722,0.24679421 0.40583054,0.26137745 0.40458054,0.27096073 L 0.4004139,0.29722792 L 0.37749738,0.35681087 L 0.37583073,0.36179348 C 0.37416407,0.36596012 0.37458074,0.38221001 0.38041403,0.3905433 L 0.39291395,0.4155605 C 0.40208056,0.42929305 0.40458054,0.46429282 0.37874738,0.4530429 L 0.37916404,0.4530429 L 0.3599975,0.44512628 C 0.34624758,0.43931034 0.33499766,0.40139392 0.32999769,0.3738941 L 0.33083102,0.33471032 C 0.31874776,0.33139437 0.31374779,0.4009599 0.31874776,0.4155605 L 0.33083102,0.4517929 C 0.33416433,0.4634595 0.32041442,0.4676435 0.31083114,0.4676435 C 0.28833129,0.4676435 0.27833135,0.44470961 0.27374805,0.42554307 L 0.27041474,0.41095983 C 0.26458144,0.38887664 0.26749809,0.35512686 0.27874802,0.33554365 L 0.28458131,0.32346039 C 0.29416458,0.29929388 0.28166466,0.28221065 0.27874802,0.26971074 C 0.26916474,0.23054432 0.26124813,0.1926279 0.28833129,0.15512814 L 0.29083127,0.15222885 C 0.28958128,0.14929484 0.28166466,0.14306224 0.27708136,0.12846164 C 0.26666476,0.095128519 0.25749815,0.040545535 0.27041474,0.040545535 L 0.27916468,0.040128871 C 0.30083121,0.040128871 0.29416458,0.1301283 0.32041442,0.124295 L 0.50791322,0.12637832 L 0.54124634,0.11722907 C 0.55291293,0.1138784 0.56332953,0.10637845 0.57416279,0.099711823 L 0.59582932,0.086378575 C 0.61999583,0.11096175 0.64166236,0.12637832 0.6770788,0.1392949 C 0.68666207,0.21262777 0.67582881,0.22889502 0.6666622,0.27262738 L 0.66332889,0.29054394 C 0.6562456,0.3218111 0.65416228,0.35429353 0.65582894,0.38679332 L 0.65666226,0.40179322 C 0.65582894,0.41720979 0.66499554,0.41847714 0.6770788,0.42222712 C 0.68499542,0.4263764 0.69041205,0.44179297 0.67499548,0.44929292 L 0.67541214,0.44929292 L 0.67499548,0.44929292 z"
fill="#000"
id="path12" />
<path d="M 0.71499522,0.000129127 L 0.71593272,0.000823567 L 0.71690493,0.001518007 L 0.71886673,0.003028414 L 0.72089796,0.004642987 L 0.72296392,0.006361726 L 0.7250646,0.00816727 L 0.72718265,0.010042258 L 0.72933541,0.01198669 L 0.73150554,0.013983205 L 0.73367566,0.016049164 L 0.73584578,0.018132484 L 0.74013395,0.02240329 L 0.74223463,0.024556054 L 0.74431795,0.026708818 L 0.74634919,0.028844221 L 0.74832834,0.030979624 L 0.76166159,0.045128839 C 0.76999487,0.053878783 0.78291146,0.052628791 0.79416138,0.055128775 L 0.79874469,0.055545439 C 0.81082794,0.062229424 0.80707797,0.075562672 0.80291133,0.085545247 L 0.80041134,0.091812568 C 0.78832809,0.12054502 0.75332831,0.12262834 0.72832847,0.1092951 L 0.71749521,0.1034618 L 0.71374523,0.1034618 L 0.70582862,0.10846177 L 0.69041205,0.12097905 C 0.65791226,0.10681247 0.63166242,0.090128551 0.61082922,0.067628695 L 0.65916225,0.006795751 L 0.67541214,-0.016537433 L 0.67874546,-0.024454049 L 0.68249543,-0.033186632 C 0.68249543,-0.033186632 0.69749534,-0.051953873 0.70624528,-0.048203897 C 0.71499522,-0.04443656 0.72041186,-0.028204025 0.71832854,-0.019870745 L 0.71582855,-0.009870809 L 0.71499522,0.000129127 L 0.71541189,0.000129127"
fill="#000"
id="path14" />
</g>
</svg>
If we want the min viewBox size to be 4, then maybe we should transform the pathData to ensure this precondition is met w/o affecting the scale of the image?
Example SVG:
Same as romannurik/AndroidIconAnimator#116
The text was updated successfully, but these errors were encountered: