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.moveTo(mFromNode->scenePos());
path.cubicTo(mFromNode->scenePos().x()+tanSize, tangentY, mToNode->scenePos().x()-tanSize, mToNode->scenePos().y(), mToNode->scenePos().x(), mToNode->scenePos().y());
@