Hi, Alle domenica 8 maggio 2011, Albert Astals Cid ha scritto: > i just saw we have this code > > case 'q': // Quadratic bezier curve > while (token.type == abtNumber) > { > QPointF point1 = getPointFromString(&token, isRelative, > currPos); > QPointF point2 = getPointFromString(&token, isRelative, > currPos); > path.quadTo(point2, point2); > } > break; > > Brad/Jiri should the first point2 be point1?
According to the specs: - point1 is the control point - point2 is the end point so, according to the QPainterPath API, it should be path.quadTo(point1, point2); as you suggests. -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel