SVGRenderer: let configure precision for SVG coordinates
While SVG is text format, 10-digits for each coordinate is overkill. In many cases on can use precion=1 or even precision=0. For instance, instead of path d="M95.67875432291896,61.48774395485388L99.22967055503229,-179.38931463976644" one gets (with precision 1) path d="M95.7,61.5L99.2,-179.4" This significantly (factor 2) reduces size of SVG when stored into the file.
Showing
想要评论请 注册 或 登录