PieDock 1.4.3
Public Member Functions

PieDock::PngSurface Class Reference

#include <PngSurface.h>

Inheritance diagram for PieDock::PngSurface:
Inheritance graph
[legend]
Collaboration diagram for PieDock::PngSurface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PngSurface (std::string)
 PngSurface (std::istream &)
void load (std::istream &)

Detailed Description

A ARGB surface loaded from a PNG file

Author:
Markus Fisch <mf@markusfisch.de>

Constructor & Destructor Documentation

PngSurface::PngSurface ( std::string  f)

Initialize surface from file

Parameters:
f- path and filename of PNG to load

References load().

PngSurface::PngSurface ( std::istream &  in)

Initialize surface from stream

Parameters:
in- input stream

References load().


Member Function Documentation

void PngSurface::load ( std::istream &  in)

Load image from a PNG input stream

Parameters:
in- input stream

References PieDock::Surface::allocateData(), PieDock::Surface::calculateSize(), and PieDock::Surface::freeData().

Referenced by PngSurface().


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