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:
Inheritance graph
[legend]
Collaboration diagram for VDKPixbuf:
Collaboration graph
[legend]

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() [1/2]

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

Constructor

Parameters
owner
pixfile(type of file will be autodetected)

◆ VDKPixbuf() [2/2]

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

Constructor

Parameters
owner
pixdatamust be a pixmap hard-coded data

◆ ~VDKPixbuf()

VDKPixbuf::~VDKPixbuf ( )
virtual

Destructor

Member Function Documentation

◆ AsGdkPixbuf()

GdkPixbuf * VDKPixbuf::AsGdkPixbuf ( )
inline

GdkPixmap* conversion

◆ Height()

int VDKPixbuf::Height ( )
inline

Return pixbuf height in pixel

◆ Width()

int VDKPixbuf::Width ( )
inline

Return pixbuf width in pixel


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