Fl_Xlib_Graphics_Driver Class Reference

The Xlib-specific graphics class. More...

#include <Fl_Device.H>

Inheritance diagram for Fl_Xlib_Graphics_Driver:

Fl_Graphics_Driver Fl_Device

List of all members.

Public Member Functions

void draw (Fl_RGB_Image *img, int XP, int YP, int WP, int HP, int cx, int cy)
 Draws an Fl_RGB_Image object to the device.
void draw (Fl_Bitmap *pxm, int XP, int YP, int WP, int HP, int cx, int cy)
 Draws an Fl_Bitmap object to the device.
void draw (Fl_Pixmap *pxm, int XP, int YP, int WP, int HP, int cx, int cy)
 Draws an Fl_Pixmap object to the device.
 Fl_Xlib_Graphics_Driver ()
 The constructor.

Static Public Attributes

static const char * device_type = "Fl_Xlib_Graphics_Driver"
 A string that identifies each subclass of Fl_Device.


Detailed Description

The Xlib-specific graphics class.

This class is implemented only on the Xlib platform.


Constructor & Destructor Documentation

Fl_Xlib_Graphics_Driver::Fl_Xlib_Graphics_Driver (  )  [inline]

The constructor.


Member Function Documentation

void Fl_Xlib_Graphics_Driver::draw ( Fl_RGB_Image rgb,
int  XP,
int  YP,
int  WP,
int  HP,
int  cx,
int  cy 
) [virtual]

Draws an Fl_RGB_Image object to the device.

Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments.

Reimplemented from Fl_Graphics_Driver.

void Fl_Xlib_Graphics_Driver::draw ( Fl_Bitmap bm,
int  XP,
int  YP,
int  WP,
int  HP,
int  cx,
int  cy 
) [virtual]

Draws an Fl_Bitmap object to the device.

Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments.

Reimplemented from Fl_Graphics_Driver.

void Fl_Xlib_Graphics_Driver::draw ( Fl_Pixmap pxm,
int  XP,
int  YP,
int  WP,
int  HP,
int  cx,
int  cy 
) [virtual]

Draws an Fl_Pixmap object to the device.

Specifies a bounding box for the image, with the origin (upper left-hand corner) of the image offset by the cx and cy arguments.

Reimplemented from Fl_Graphics_Driver.


Member Data Documentation

const char * Fl_Xlib_Graphics_Driver::device_type = "Fl_Xlib_Graphics_Driver" [static]

A string that identifies each subclass of Fl_Device.

Function type() applied to a device of this class returns this string.

Reimplemented from Fl_Graphics_Driver.


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

FLTK © 1998-2010 by Bill Spitzak and others.    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.