X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.cpp;h=24746dc137ea3cc57c196a3205b65c111e7bb0ce;hp=35673d4046b03fd3b9213866dd03df7298a3d935;hb=6dd539966821debd18e0b86ed126742cd81d7fc9;hpb=dfd021b1505fb3924ae103d8aa27c6200d6ec3fd diff --git a/src/document.cpp b/src/document.cpp index 35673d4..24746dc 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -615,6 +615,8 @@ pair Document::ParseSVGPathData(const string & d, const SVGM x[0] = (relative) ? x[0] + dx : dx; y[0] = (relative) ? y[0] + dy : dy; + x0 = x[0]; + y0 = y[0]; //Debug("mmoveto %f,%f", Float(x[0]),Float(y[0])); command = (command == "m") ? "l" : "L"; }