CSol
|
Converts a QImage into a set of RGBA Grid tiles. More...
#include <csol_2d_image_to_tileset.h>
Inherits Operation.
Public Member Functions | |
CSol_2d_Image_to_TileSet () | |
virtual | ~CSol_2d_Image_to_TileSet () |
Protected Member Functions | |
virtual bool | execute () |
The tiles are suitable for the Grid View/Edit operation and can be named and hidden by default. The QImage is broken into a set of square Grids of dimension 'Tile size'. Each Grid contains an unsigned integer of the RGBA colour from the image. The offset of the lower left-hand corner of the entire tile set is given by the offset values. Spacings of the Grids are given by the spacing values in x and y. The opacity of the resulting RGBA Grids is set using 'Draw alpha' (0-1)
|
virtual |
|
protectedvirtual |