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"
|
||||
"<title>Exported SVG</title>\r\n"
|
||||
"\r\n",
|
||||
(ptMax.x - ptMin.x) + 1, (ptMax.y - ptMin.y) + 1,
|
||||
(ptMax.x - ptMin.x) + 1, (ptMax.y - ptMin.y) + 1);
|
||||
// A little bit of extra space for the stroke width.
|
||||
(ptMax.x - ptMin.x), (ptMax.y - ptMin.y),
|
||||
(ptMax.x - ptMin.x), (ptMax.y - ptMin.y));
|
||||
}
|
||||
|
||||
void SvgFileWriter::StartPath(RgbColor strokeRgb, double lineWidth,
|
||||
|
Loading…
Reference in New Issue
Block a user