The Pedigree Project  0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Png Class Reference
+ Collaboration diagram for Png:

Public Member Functions

 Png (const char *filename)
 
void render (cairo_t *cr, size_t x, size_t y, size_t width, size_t height)
 
void renderPartial (cairo_t *cr, size_t atX, size_t atY, size_t innerX, size_t innerY, size_t partialWidth, size_t partialHeight, size_t scaleWidth, size_t scaleHeight)
 
size_t getWidth ()
 
size_t getHeight ()
 
 Png (const char *filename)
 
void render (rgb_t *pFb, size_t x, size_t y, size_t width, size_t height)
 
size_t getWidth ()
 
size_t getHeight ()
 

Private Member Functions

 Png (const Png &)
 
Pngoperator= (const Png &)
 
 Png (const Png &)
 
Pngoperator= (const Png &)
 
uint32_t compileColour (uint8_t r, uint8_t g, uint8_t b, Display::PixelFormat pf)
 

Private Attributes

png_structp m_PngPtr
 
png_infop m_InfoPtr
 
size_t m_nWidth
 
size_t m_nHeight
 
uint8_t ** m_pRowPointers
 
uint32_t * m_pBitmap
 

Detailed Description

Definition at line 30 of file applications/winman/Png.h.

Constructor & Destructor Documentation

Png::Png ( const char *  filename)
Todo:
clean up after these errors.

Definition at line 25 of file applications/winman/Png.cc.


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