Laxkit  0.0.7.1
Public Member Functions | Protected Attributes
Laxkit::LaxBufferImage Class Reference
Inheritance diagram for Laxkit::LaxBufferImage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int imagetype ()
virtual int Stride ()
 The number of bytes between rows.
virtual int HasAlpha ()
virtual int BitsPerChannel ()
- Public Member Functions inherited from Laxkit::LaxImage
 LaxImage (const char *fname)
virtual ~LaxImage ()
virtual unsigned int imagestate ()=0
 Return whether this is valid image, is whole image, etc.
virtual void doneForNow ()
 The file that the image is supposed to correspond to.
virtual int w ()=0
 Return the width of the actual image.
virtual int h ()=0
 Return the height of the actual image.
virtual int dataw ()=0
 Return the width of the image in memory (the actual or preview), or 0 if neither is in memory.
virtual int datah ()=0
 Return the height of the image in memory (the actual or preview), or 1 if neither is in memory.
virtual void clear ()=0
 Clear all data contained in this image.
virtual unsigned chargetImageBuffer ()=0
virtual int doneWithBuffer (unsigned char *buffer)=0
- Public Member Functions inherited from Laxkit::anObject
 anObject ()
 Set object_id=getUniqueNumber().
virtual ~anObject ()
 Empty virtual destructor.
virtual const charwhattype ()
 Returns the type of anObject.
virtual anObjectduplicate (anObject *ref=NULL)
virtual int inc_count ()
 Increment the data's count by 1. Returns count.
virtual int dec_count ()
 Decrement the count of the data, deleting if count is less than or equal to 0.
virtual int the_count ()

Protected Attributes

int color_system_id
chariccprofile
int num_channels
int alpha_channel
int bits_per_channel
int stride
int width
int height
unsigned charpixel_data

Additional Inherited Members

- Public Attributes inherited from Laxkit::LaxImage
char delpreview
 1 to unlink previewfile in the destructor, else 0.
charfilename
charpreviewfile
clock_t lastaccesstime
- Public Attributes inherited from Laxkit::anObject
int suppress_debug
DeleteRefCountedFunc deleteMe
 Called when the count is decremented to 0.
unsigned long object_id
charobject_idstr

The documentation for this class was generated from the following file:

Mon Feb 17 2014 11:52:59, Laxkit