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

an image buffer capable of release, realloc, clonable More...

#include <image.h>

Inherits sprint::sharable, sprint::uncopiable, and sprint::imageview.

List of all members.

Public Member Functions

 iimage ()
 assign a dummy releaser for free memory
 iimage (unsigned int width, unsigned int height, unsigned int type)
 ~iimage ()
 On release image will be released.
void realloc (unsigned int swidth, unsigned int sheight, long sstride, unsigned int stype)
 a method to change the geometry of image
void realloc (unsigned int swidth, unsigned int sheight, long sstride, unsigned int stype, unsigned int spalettetype)
 set also the palettetype
void realloc (unsigned int swidth, unsigned int sheight, unsigned int stype)
 fastest method for alloc an image: width, height and image type

Public Attributes

void(* release )(iimage *obj)

Detailed Description

an image buffer capable of release, realloc, clonable


Constructor & Destructor Documentation

sprint::iimage::iimage ( unsigned int  width,
unsigned int  height,
unsigned int  type 
)

allocate a image

See also:
sprint/image/imagetypes.h for image types

Member Data Documentation

a callback called in order to release mem buffer allocated with a different tecnique (i.e. shared memory, an external library and so on)


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