Drawing QPainterPath using Opengl

  • Hi All,

    How is it possible to draw a bezeir curve that is constructed by QPainterParth by OpenGL?

    I wrote that code and need to convert it to opengl
    QPainterPath path;
    path.cubicTo(mFromNode->scenePos().x()+tanSize, tangentY, mToNode->scenePos().x()-tanSize, mToNode->scenePos().y(), mToNode->scenePos().x(), mToNode->scenePos().y());

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.