kopia lustrzana https://github.com/jaseg/gerbolyze
svg-flatten: Make view box log output more readable
rodzic
2e2a7e6a41
commit
f55cfb4b35
|
@ -54,7 +54,7 @@ bool gerbolyze::SVGDocument::load(istream &in) {
|
|||
/* Set up the document's viewport transform */
|
||||
istringstream vb_stream(root_elem.attribute("viewBox").value());
|
||||
vb_stream >> vb_x >> vb_y >> vb_w >> vb_h;
|
||||
cerr << "loaded viewbox: " << vb_x << ", " << vb_y << ", " << vb_w << ", " << vb_h << endl;
|
||||
cerr << "SVG document viewbox: origin=" << vb_x << "," << vb_y << ", size=" << vb_w << "," << vb_h << endl;
|
||||
|
||||
page_w = usvg_double_attr(root_elem, "width");
|
||||
page_h = usvg_double_attr(root_elem, "height");
|
||||
|
|
Ładowanie…
Reference in New Issue