[Okular-devel] Question about XPS code

Albert Astals Cid aacid at kde.org
Sun May 8 17:27:20 CEST 2011


Hi guys, 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?

Albert


More information about the Okular-devel mailing list