ConnectionPainter.hpp 399 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <QtGui/QPainter>
  3. #include <QtGui/QPainterPath>
  4. #include "Definitions.hpp"
  5. namespace QtNodes {
  6. class ConnectionGeometry;
  7. class ConnectionGraphicsObject;
  8. class ConnectionPainter
  9. {
  10. public:
  11. static void paint(QPainter *painter, ConnectionGraphicsObject const &cgo);
  12. static QPainterPath getPainterStroke(ConnectionGraphicsObject const &cgo);
  13. };
  14. } // namespace QtNodes