MythTV  master
Public Member Functions | Public Attributes | List of all members
Bitmap< Pixel > Class Template Reference

#include <polygon.h>

Collaboration diagram for Bitmap< Pixel >:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

int width { 0 }
 
int height { 0 }
 
int extra
 
Pixel * data { nullptr }
 

Detailed Description

template<typename Pixel>
class Bitmap< Pixel >

Definition at line 7 of file polygon.h.

Constructor & Destructor Documentation

◆ Bitmap()

template<typename Pixel >
Bitmap< Pixel >::Bitmap ( int  e = 0)
inlineexplicit

Definition at line 15 of file polygon.h.

◆ ~Bitmap()

template<typename Pixel >
Bitmap< Pixel >::~Bitmap ( )
inline

Definition at line 16 of file polygon.h.

Member Function Documentation

◆ size()

template<typename Pixel >
void Bitmap< Pixel >::size ( int  w,
int  h 
)
inline

Definition at line 18 of file polygon.h.

◆ clear()

template<typename Pixel >
void Bitmap< Pixel >::clear ( )
inline

Definition at line 27 of file polygon.h.

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

Member Data Documentation

◆ width

template<typename Pixel >
int Bitmap< Pixel >::width { 0 }

Definition at line 10 of file polygon.h.

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

◆ height

template<typename Pixel >
int Bitmap< Pixel >::height { 0 }

Definition at line 11 of file polygon.h.

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

◆ extra

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

Definition at line 12 of file polygon.h.

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

◆ data

template<typename Pixel >
Pixel* Bitmap< Pixel >::data { nullptr }

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