Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
QGraphicsPathItem example 2: Bezier quadratic lines is a QGraphicsPathItem example. This example shows how to use QGraphicsRectItems to manipulatie QGraphicsPathItems, resulting in quadratic Bezier curves.
Note that the curves do not go through the middle control rectangle. QGraphicsPathItem example 3: Bezier quadratic lines again does have this feature.
Operating system(s) or programming environment(s)
Libraries used:
QT += core gui |
#include <QApplication> |
#ifndef QTPATHITEM_H |
#include <cassert> |
#ifndef QTRECTITEM_H |
#include "qtrectitem.h" |
#ifndef QTWIDGET_H |
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
This page has been created by the tool CodeToHtml