Bitmap< Pixel > Struct Template Reference

#include <polygon.h>

List of all members.


Detailed Description

template<class Pixel>
struct Bitmap< Pixel >

Definition at line 7 of file polygon.h.


Public Member Functions

 Bitmap (int e=0)
 ~Bitmap ()
void size (int w, int h)
void clear ()

Public Attributes

int width
int height
int extra
Pixel * data

Constructor & Destructor Documentation

template<class Pixel>
Bitmap< Pixel >::Bitmap ( int  e = 0  )  [inline]

Definition at line 11 of file polygon.h.

template<class Pixel>
Bitmap< Pixel >::~Bitmap (  )  [inline]

Definition at line 12 of file polygon.h.


Member Function Documentation

template<class Pixel>
void Bitmap< Pixel >::size ( int  w,
int  h 
) [inline]

Definition at line 14 of file polygon.h.

Referenced by Synaesthesia::resize().

template<class Pixel>
void Bitmap< Pixel >::clear ( void   )  [inline]

Definition at line 22 of file polygon.h.

Referenced by Bitmap< unsigned short >::size().


Member Data Documentation

template<class Pixel>
int Bitmap< Pixel >::width

Definition at line 8 of file polygon.h.

Referenced by Bitmap< unsigned short >::clear(), and Bitmap< unsigned short >::size().

template<class Pixel>
int Bitmap< Pixel >::height

Definition at line 8 of file polygon.h.

Referenced by Bitmap< unsigned short >::clear(), and Bitmap< unsigned short >::size().

template<class Pixel>
int Bitmap< Pixel >::extra

Definition at line 8 of file polygon.h.

Referenced by Bitmap< unsigned short >::clear(), and Bitmap< unsigned short >::size().

template<class Pixel>
Pixel* Bitmap< Pixel >::data


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

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5