Don't offset SVG width and height by one.
This commit is contained in:
parent
9c9a0d8c28
commit
044a4ea8fc
|
@ -482,9 +482,8 @@ void SvgFileWriter::StartFile(void) {
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"<title>Exported SVG</title>\r\n"
|
"<title>Exported SVG</title>\r\n"
|
||||||
"\r\n",
|
"\r\n",
|
||||||
(ptMax.x - ptMin.x) + 1, (ptMax.y - ptMin.y) + 1,
|
(ptMax.x - ptMin.x), (ptMax.y - ptMin.y),
|
||||||
(ptMax.x - ptMin.x) + 1, (ptMax.y - ptMin.y) + 1);
|
(ptMax.x - ptMin.x), (ptMax.y - ptMin.y));
|
||||||
// A little bit of extra space for the stroke width.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvgFileWriter::StartPath(RgbColor strokeRgb, double lineWidth,
|
void SvgFileWriter::StartPath(RgbColor strokeRgb, double lineWidth,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user