vdk 2.4.0
Public Member Functions | List of all members
VDKPixbuf Class Reference

Provides a raw image wrapping GdkPixbuf This class should in time substitute VDKRawPixmap that from now should be considered deprecated ven if will continue to be supported in earler versions of vdk 2.x series. More...

#include <rawpixbuf.h>

Inheritance diagram for VDKPixbuf:
VDKRawObject

Public Member Functions

 VDKPixbuf (VDKObject *owner, const char *pixfile)
 
 VDKPixbuf (VDKObject *owner, const char **pixdata)
 
virtual ~VDKPixbuf ()
 
GdkPixbuf * AsGdkPixbuf ()
 
int Width ()
 
int Height ()
 
- Public Member Functions inherited from VDKRawObject
bool Destroy ()
 

Detailed Description

Provides a raw image wrapping GdkPixbuf This class should in time substitute VDKRawPixmap that from now should be considered deprecated ven if will continue to be supported in earler versions of vdk 2.x series.

Constructor & Destructor Documentation

VDKPixbuf::VDKPixbuf ( VDKObject owner,
const char *  pixfile 
)

Constructor

Parameters
owner
pixfile(type of file will be autodetected)
VDKPixbuf::VDKPixbuf ( VDKObject owner,
const char **  pixdata 
)

Constructor

Parameters
owner
pixdatamust be a pixmap hard-coded data
VDKPixbuf::~VDKPixbuf ( )
virtual

Destructor

Member Function Documentation

GdkPixbuf* VDKPixbuf::AsGdkPixbuf ( )
inline

GdkPixmap* conversion

int VDKPixbuf::Height ( )
inline

Return pixbuf height in pixel

int VDKPixbuf::Width ( )
inline

Return pixbuf width in pixel


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