Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Camera Class Reference
+ Inheritance diagram for Camera:

Public Member Functions

 Camera (QPointF translation, float rotation, float scaling)
 
void setViewTransform (QPointF translation, float rotation, float scaling)
 
QPointF translation ()
 
float rotation ()
 
float scaling ()
 
- Public Member Functions inherited from KeyFrame
int pos ()
 
void setPos (int position)
 
int length ()
 
void setLength (int len)
 
void modification ()
 
void setModified (bool b)
 
bool isModified ()
 
void setSelected (bool b)
 
bool isSelected ()
 
QString fileName ()
 
void setFileName (QString strFileName)
 
void addEventListener (KeyFrameEventListener *)
 
void removeEventListner (KeyFrameEventListener *)
 
virtual bool isNull ()
 

Public Attributes

QTransform view
 

Private Member Functions

void updateViewTransform ()
 

Private Attributes

QPointF mTranslate
 
float mRotate = 0.f
 
float mScale = 1.f
 

Detailed Description

Definition at line 24 of file camera.h.


The documentation for this class was generated from the following files: