sprint 1-alpha
Public Member Functions | Public Attributes
sprint::imageview Struct Reference

#include <imageview.h>

Inherited by sprint::iimage.

List of all members.

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)

Detailed Description

a struct holding all the image information, uncopiable, unreleaseable It could be also a subpart of a image


Constructor & Destructor Documentation

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)


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines