Logo Search packages:      
Sourcecode: fbpager version File versions  Download package

FbTk::FbPixmap Class Reference

#include <FbPixmap.hh>

Inheritance diagram for FbTk::FbPixmap:

FbTk::FbDrawable

List of all members.


Detailed Description

a wrapper for X Pixmap

Definition at line 34 of file FbPixmap.hh.


Public Member Functions

void copy (Pixmap pixmap)
void copy (const FbPixmap &the_copy)
virtual void copyArea (Drawable src, GC gc, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)
int depth () const
Drawable drawable () const
 X drawable.
virtual void drawLine (GC gc, int start_x, int start_y, int end_x, int end_y)
virtual void drawPoint (GC gc, int x, int y)
virtual void drawRectangle (GC gc, int x, int y, unsigned int width, unsigned int height)
 FbPixmap (Drawable src, unsigned int width, unsigned int height, int depth)
 FbPixmap (const FbDrawable &src, unsigned int width, unsigned int height, int depth)
 FbPixmap (Pixmap pm)
 creates a FbPixmap from X pixmap
 FbPixmap (const FbPixmap &copy)
 copy pixmap
virtual void fillPolygon (GC gc, XPoint *points, int npoints, int shape, int mode)
virtual void fillRectangle (GC gc, int x, int y, unsigned int width, unsigned int height)
unsigned int height () const
virtual XImage * image (int x, int y, unsigned int width, unsigned int height) const
FbPixmapoperator= (Pixmap pm)
 sets new pixmap
FbPixmapoperator= (const FbPixmap &copy)
Pixmap release ()
 drops pixmap and returns it
void resize (unsigned int width, unsigned int height)
void rotate ()
 rotates the pixmap 90 deg, not implemented!
void scale (unsigned int width, unsigned int height)
 scales the pixmap to specified size
unsigned int width () const

Private Member Functions

void create (Drawable src, unsigned int width, unsigned int height, int depth)
void free ()

Private Attributes

int m_depth
unsigned int m_height
Pixmap m_pm
unsigned int m_width

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

Generated by  Doxygen 1.6.0   Back to index