Pencil2D
ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
|
Public Member Functions | |
ViewManager (QObject *parent=0) | |
bool | init () override |
Status | load (Object *) override |
Status | save (Object *) override |
QTransform | getView () |
void | resetView () |
QPointF | mapCanvasToScreen (QPointF p) |
QPointF | mapScreenToCanvas (QPointF p) |
QRectF | mapCanvasToScreen (const QRectF &rect) |
QRectF | mapScreenToCanvas (const QRectF &rect) |
QPainterPath | mapCanvasToScreen (const QPainterPath &path) |
QPainterPath | mapScreenToCanvas (const QPainterPath &path) |
QPointF | translation () |
void | translate (float dx, float dy) |
void | translate (QPointF offset) |
float | rotation () |
void | rotate (float degree) |
float | scaling () |
void | scale (float scaleValue) |
void | scaleUp () |
void | scaleDown () |
void | flipHorizontal (bool b) |
void | flipVertical (bool b) |
bool | isFlipHorizontal () |
bool | isFlipVertical () |
void | setCanvasSize (QSize size) |
Q_SIGNAL void | viewChanged () |
![]() | |
BaseManager (QObject *parent=0) | |
void | setEditor (Editor *) |
Editor * | editor () |
Object * | object () |
Private Member Functions | |
void | updateViewTransforms () |
Definition at line 25 of file viewmanager.h.