FLTK 1.3.x

Fl_PostScript_Graphics_Driver Class Reference

PostScript graphical backend. More...

#include <Fl_PostScript.H>

Inheritance diagram for Fl_PostScript_Graphics_Driver:
Fl_Graphics_Driver Fl_Device

List of all members.

Public Member Functions

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 (Fl_RGB_Image *rgb, 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 *bitmap, int XP, int YP, int WP, int HP, int cx, int cy)
 Draws an Fl_Bitmap object to the device.
 Fl_PostScript_Graphics_Driver ()
 The constructor.
 ~Fl_PostScript_Graphics_Driver ()
 The destructor.

Static Public Attributes

static const char * class_id = "Fl_PostScript_Graphics_Driver"
 A string that identifies each subclass of Fl_Device.

Detailed Description

PostScript graphical backend.

PostScript text uses vectorial fonts for the latin alphabet (exactly: all unicode characters between U+0020 and U+017F, that is, ASCII, Latin-1 Supplement and Latin Extended-A charts) plus a few other characters:

CharCodepointName CharCodepointName CharCodepointName
ƒU+0192florinU+201AquotesinglbaseU+2122trademark
ˆU+02C6circumflexU+201CquotedblleftU+2202partialdiff
ˇU+02C7caronU+201DquotedblrightΔU+2206Delta
˘U+02D8breveU+201EquotedblbaseU+2211summation
˙U+02D9dotaccentU+2020daggerU+221Aradical
˚U+02DAringU+2021daggerdblU+221Einfinity
˛U+02DBogonekU+2022bulletU+2260notequal
˜U+02DCtildeU+2026ellipsisU+2264lessequal
˝U+02DDhungarumlautU+2030perthousandU+2265greaterequal
U+2013endashU+2039guilsinglleftU+25CAlozenge
U+2014emdashU+203AguilsinglrightU+FB01fi
U+2018quoteleft/U+2044fractionU+FB02fl
U+2019quoterightU+20ACEuroU+F8FFapple (Mac OS only)


All other unicode characters are output as a bitmap.
FLTK standard fonts are output using PostScript standard fonts: Helvetica, Courier, Times (and their bold, oblique, italic variants).


Constructor & Destructor Documentation

Fl_PostScript_Graphics_Driver::~Fl_PostScript_Graphics_Driver ( )

The destructor.


Member Function Documentation

void Fl_PostScript_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_PostScript_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_PostScript_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.


Member Data Documentation

const char * Fl_PostScript_Graphics_Driver::class_id = "Fl_PostScript_Graphics_Driver" [static]

A string that identifies each subclass of Fl_Device.

Function class_name() 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: