|
sprint 1-alpha
|
#include <imageview.h>
Inherited by sprint::iimage.
Public Member Functions | |
| imageview (const imageview &src, int x0, int y0, int x1, int y1) | |
Public Attributes | |
| unsigned int | type |
| type of image (see imagetypes.h) | |
| unsigned int | bpp |
| BYTE PER PIXEL :::: | |
| unsigned int | width |
| Geometry of image: width. | |
| unsigned int | height |
| Geometry of image: height. | |
| long | stride |
| delta between lines (can be also negative, for example in bmp images) | |
| unsigned char * | mem |
| Pointer to first byte of array byte. | |
| unsigned int | palette_size |
| size of palette image | |
| unsigned int | palettetype |
| a type of palette (see imagetypes.h) | |
| unsigned char * | palette |
| RGB Image palette (for PALETTE images) | |
| unsigned int | colorkey |
| a 32 bit colorkey | |
| void * | user |
| contain user params (i.e. external library pointer) | |
a struct holding all the image information, uncopiable, unreleaseable It could be also a subpart of a image
| sprint::imageview::imageview | ( | const imageview & | src, |
| int | x0, | ||
| int | y0, | ||
| int | x1, | ||
| int | y1 | ||
| ) |
mmmh.... crop costructor: create image importing from another one (no allocate memory)
1.7.4