#include <piece_image.h>
Public Methods | |
PieceImage (QDomElement const &dom_element) | |
QImage | createImage () const |
double | xOffset () const |
double | yOffset () const |
int | size () const |
bool | operator== (PieceImage const &other_piece_image) const |
Private Attributes | |
PieceImageEffect | m_effect |
std::vector< PieceImageLayer > | m_layers |
int | m_size |
double | m_x_offset |
double | m_y_offset |
|
Constructs a piece image from a dom element.
|
|
Returns the image of the given native size.
|
|
Returns true if the two piece images are equal.
|
|
Returns the native size of the image created in createImage().
|
|
Returns the x-offset of the piece image.
|
|
Returns the y-offset of the piece image.
|
|
The global effect.
|
|
The layers used.
|
|
The native size.
|
|
The x-offset.
|
|
The y-offset.
|