#include <Fl_Device.H>
Public Member Functions | |
void | color (uchar r, uchar g, uchar b) |
see fl_color(uchar r, uchar g, uchar b). | |
void | color (Fl_Color c) |
see fl_color(Fl_Color c). | |
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. | |
void | draw (int angle, const char *str, int n, int x, int y) |
see fl_draw(int angle, const char *str, int n, int x, int y). | |
void | draw (const char *str, int n, int x, int y) |
see fl_draw(const char *str, int n, int x, int y). | |
void | draw_image (Fl_Draw_Image_Cb cb, void *data, int X, int Y, int W, int H, int D=3) |
see fl_draw_image(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D). | |
void | draw_image (const uchar *buf, int X, int Y, int W, int H, int D=3, int L=0) |
see fl_draw_image(const uchar* buf, int X,int Y,int W,int H, int D, int L). | |
void | draw_image_mono (Fl_Draw_Image_Cb cb, void *data, int X, int Y, int W, int H, int D=1) |
see fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D). | |
void | draw_image_mono (const uchar *buf, int X, int Y, int W, int H, int D=1, int L=0) |
see fl_draw_image_mono(const uchar* buf, int X,int Y,int W,int H, int D, int L). | |
Fl_Quartz_Graphics_Driver () | |
The constructor. | |
void | font (Fl_Font face, Fl_Fontsize size) |
see fl_font(Fl_Font face, Fl_Fontsize size). | |
void | rtl_draw (const char *str, int n, int x, int y) |
see fl_rtl_draw(const char *str, int n, int x, int y). | |
Static Public Attributes | |
static const char * | device_type = "Fl_Quartz_Graphics_Driver" |
A string that identifies each subclass of Fl_Device. |
This class is implemented only on the Mac OS X platform.
Fl_Quartz_Graphics_Driver::Fl_Quartz_Graphics_Driver | ( | ) | [inline] |
The constructor.
void Fl_Quartz_Graphics_Driver::color | ( | Fl_Color | c | ) | [virtual] |
void Fl_Quartz_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_Quartz_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_Quartz_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.
void Fl_Quartz_Graphics_Driver::draw | ( | int | angle, | |
const char * | str, | |||
int | n, | |||
int | x, | |||
int | y | |||
) | [virtual] |
see fl_draw(int angle, const char *str, int n, int x, int y).
Reimplemented from Fl_Graphics_Driver.
void Fl_Quartz_Graphics_Driver::draw | ( | const char * | str, | |
int | n, | |||
int | x, | |||
int | y | |||
) | [virtual] |
void Fl_Quartz_Graphics_Driver::draw_image | ( | Fl_Draw_Image_Cb | cb, | |
void * | data, | |||
int | X, | |||
int | Y, | |||
int | W, | |||
int | H, | |||
int | D = 3 | |||
) | [virtual] |
see fl_draw_image(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D).
Reimplemented from Fl_Graphics_Driver.
void Fl_Quartz_Graphics_Driver::draw_image | ( | const uchar * | buf, | |
int | X, | |||
int | Y, | |||
int | W, | |||
int | H, | |||
int | D = 3 , |
|||
int | L = 0 | |||
) | [virtual] |
see fl_draw_image(const uchar* buf, int X,int Y,int W,int H, int D, int L).
Reimplemented from Fl_Graphics_Driver.
void Fl_Quartz_Graphics_Driver::draw_image_mono | ( | Fl_Draw_Image_Cb | cb, | |
void * | data, | |||
int | X, | |||
int | Y, | |||
int | W, | |||
int | H, | |||
int | D = 1 | |||
) | [virtual] |
see fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D).
Reimplemented from Fl_Graphics_Driver.
void Fl_Quartz_Graphics_Driver::draw_image_mono | ( | const uchar * | buf, | |
int | X, | |||
int | Y, | |||
int | W, | |||
int | H, | |||
int | D = 1 , |
|||
int | L = 0 | |||
) | [virtual] |
see fl_draw_image_mono(const uchar* buf, int X,int Y,int W,int H, int D, int L).
Reimplemented from Fl_Graphics_Driver.
void Fl_Quartz_Graphics_Driver::font | ( | Fl_Font | face, | |
Fl_Fontsize | size | |||
) | [virtual] |
void Fl_Quartz_Graphics_Driver::rtl_draw | ( | const char * | str, | |
int | n, | |||
int | x, | |||
int | y | |||
) | [virtual] |
const char * Fl_Quartz_Graphics_Driver::device_type = "Fl_Quartz_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.