PieDock  1.6.3
Public Member Functions | Protected Member Functions | List of all members
PieDock::ArgbSurfaceSizeMap Class Reference

#include <ArgbSurfaceSizeMap.h>

Inheritance diagram for PieDock::ArgbSurfaceSizeMap:
Inheritance graph
[legend]

Public Member Functions

 ArgbSurfaceSizeMap (const ArgbSurface *)
 
virtual ~ArgbSurfaceSizeMap ()
 
const ArgbSurfacegetSurface () const
 
virtual const ArgbSurfacegetSurface (int, int)
 
virtual void setSurface (ArgbSurface *)
 

Protected Member Functions

virtual void clear ()
 

Detailed Description

Sizing ARGB surfaces

Author
Markus Fisch mf@ma.nosp@m.rkus.nosp@m.fisch.nosp@m..de

Constructor & Destructor Documentation

ArgbSurfaceSizeMap::ArgbSurfaceSizeMap ( const ArgbSurface s)

Initialize object

Parameters
s- some ARGB surface
ArgbSurfaceSizeMap::~ArgbSurfaceSizeMap ( )
virtual

Clean up

References clear().

Member Function Documentation

void ArgbSurfaceSizeMap::clear ( )
protectedvirtual

Clear map

Referenced by setSurface(), and ~ArgbSurfaceSizeMap().

const ArgbSurface * ArgbSurfaceSizeMap::getSurface ( int  width,
int  height 
)
virtual

Return a sized version of the icon image

Parameters
width- width of surface in pixels
height- height of surface in pixels

References PieDock::Resampler::resample().

void ArgbSurfaceSizeMap::setSurface ( ArgbSurface s)
virtual

Reset surface

Parameters
s- some ARGB surface

References clear().


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