5 #ifndef BALL_VIEW_WIDGETS_CANVASWIDGET_H 6 #define BALL_VIEW_WIDGETS_CANVASWIDGET_H 8 #ifndef BALL_COMMON_GLOBAL_H 12 #include <QCanvasWidget> 13 #include <QtGui/QPixmap> 14 #include <QtGui/QPainter> 35 PixmapItem(QCanvas* canvas,
const QPixmap& pixmap);
45 void drawShape(QPainter& p);
65 virtual void zoomIn();
67 virtual void zoomOut();
69 virtual void zoom(
float xfactor,
float yfactor);
71 virtual void zoomToFit();
-*- Mode: C++; tab-width: 2; -*-