#include <tessellation.h>
|
void | paintEvent (QPaintEvent *) |
| Paints a tessellation in the window every time that a paint event occurs.
|
|
A class to create tessellations.
Tessellation::Tessellation |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructor. Creates a tesselation like this:
- Parameters
-
parent | parent of this tesselation, you should pass a reference to the window where this tesselation 'lives'. |
int Tessellation::getHeight |
( |
| ) |
|
Getter for the tesseltation height.
- Returns
- tesselation height
int Tessellation::getRotation |
( |
| ) |
|
Getter for the rotation.
- Returns
- The rotation
int Tessellation::getWidth |
( |
| ) |
|
Getter for the tesseltation width.
- Returns
- tesselation width
void Tessellation::setHeight |
( |
int |
h | ) |
|
Setter for the tesselation height.
- Parameters
-
void Tessellation::setRotation |
( |
int |
r | ) |
|
Setter for the tesselation rotation.
- Parameters
-
void Tessellation::setWidth |
( |
int |
w | ) |
|
Setter for the tesselation width.
- Parameters
-
tesselation height / altura del mosaico
int Tessellation::rotation |
|
private |
tesselation rotation / rotacion del mosaico
tesselation width / ancho del mosaico
The documentation for this class was generated from the following files: