XCFImageFormat::Layer Class Reference
Public Attributes | |
Q_UINT32 | width |
Q_UINT32 | height |
Q_INT32 | type |
char * | name |
Q_UINT32 | hierarchy_offset |
Q_UINT32 | mask_offset |
uint | nrows |
uint | ncols |
Tiles | image_tiles |
Tiles | alpha_tiles |
Tiles | mask_tiles |
struct { | |
Q_UINT32 opacity | |
Q_UINT32 visible | |
Q_UINT32 show_masked | |
uchar red | |
uchar green | |
uchar blue | |
Q_UINT32 tattoo | |
} | mask_channel |
bool | active |
Q_UINT32 | linked |
Q_UINT32 | preserve_transparency |
Q_UINT32 | apply_mask |
Q_UINT32 | edit_mask |
Q_UINT32 | show_mask |
Q_INT32 | x_offset |
Q_INT32 | y_offset |
Q_UINT32 | mode |
uchar | tile [TILE_WIDTH *TILE_HEIGHT *sizeof(QRgb)] |
void(* | assignBytes )(Layer &layer, uint i, uint j) |
Detailed Description
Each GIMP image is composed of one or more layers. A layer can be one of any three basic types: RGB, grayscale or indexed. With an optional alpha channel, there are six possible types altogether.
Note: there is only ever one instance of this structure. The layer info is discarded after it is merged into the final QImage.
Member Data Documentation
Q_UINT32 XCFImageFormat::Layer::apply_mask |
void(* XCFImageFormat::Layer::assignBytes)(Layer &layer, uint i, uint j) |
Q_UINT32 XCFImageFormat::Layer::edit_mask |
Q_UINT32 XCFImageFormat::Layer::height |
Q_UINT32 XCFImageFormat::Layer::linked |
struct { ... } XCFImageFormat::Layer::mask_channel |
Additional information about a layer mask.
Q_UINT32 XCFImageFormat::Layer::mask_offset |
Q_UINT32 XCFImageFormat::Layer::mode |
Q_UINT32 XCFImageFormat::Layer::opacity |
Q_UINT32 XCFImageFormat::Layer::show_mask |
Q_UINT32 XCFImageFormat::Layer::tattoo |
uchar XCFImageFormat::Layer::tile[TILE_WIDTH *TILE_HEIGHT *sizeof(QRgb)] |
Q_INT32 XCFImageFormat::Layer::type |
Q_UINT32 XCFImageFormat::Layer::visible |
Q_UINT32 XCFImageFormat::Layer::width |
Q_INT32 XCFImageFormat::Layer::x_offset |
Q_INT32 XCFImageFormat::Layer::y_offset |
The documentation for this class was generated from the following file: