fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_PostScript_Graphics_Driver Class Reference

PostScript graphical backend. More...

#include <Fl_PostScript.H>

Inheritance diagram for Fl_PostScript_Graphics_Driver:
Collaboration diagram for Fl_PostScript_Graphics_Driver:

List of all members.

Classes

class  Clip

Public Types

enum  SHAPE {
  NONE = 0, LINE, LOOP, POLYGON,
  POINTS
}

Public Member Functions

void concat ()
void reconcat ()
void recover ()
void reset ()
int start_postscript (int pagecount, enum Fl_Paged_Device::Page_Format format, enum Fl_Paged_Device::Page_Layout layout)
void draw (const char *s, int n, int x, int y)
 see fl_draw(const char *str, int n, int x, int y).
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 rtl_draw (const char *s, int n, int x, int y)
 see fl_rtl_draw(const char *str, int n, int x, int y).
void transformed_draw (const char *s, int n, double x, double y)
void transformed_draw (const char *s, double x, double y)
int alpha_mask (const uchar *data, int w, int h, int D, int LD=0)
void draw_scaled_image (const uchar *data, double x, double y, double w, double h, int iw, int ih, int D=3, int LD=0)
void draw_scaled_image_mono (const uchar *data, double x, double y, double w, double h, int iw, int ih, int D=3, int LD=0)
void draw_scaled_image (Fl_Draw_Image_Cb call, void *data, double x, double y, double w, double h, int iw, int ih, int D)
void draw_scaled_image_mono (Fl_Draw_Image_Cb call, void *data, double x, double y, double w, double h, int iw, int ih, int D)
void color (Fl_Color c)
 see fl_color(Fl_Color c).
void color (uchar r, uchar g, uchar b)
 see fl_color(uchar r, uchar g, uchar b).
void push_clip (int x, int y, int w, int h)
 see fl_push_clip(int x, int y, int w, int h).
int clip_box (int x, int y, int w, int h, int &X, int &Y, int &W, int &H)
 see fl_clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H).
int not_clipped (int x, int y, int w, int h)
 see fl_not_clipped(int x, int y, int w, int h).
void push_no_clip ()
 see fl_push_no_clip().
void pop_clip ()
 see fl_pop_clip().
void line_style (int style, int width=0, char *dashes=0)
 see fl_line_style(int style, int width, char* dashes).
void rect (int x, int y, int w, int h)
 see fl_rect(int x, int y, int w, int h).
void rectf (int x, int y, int w, int h)
 see fl_rectf(int x, int y, int w, int h).
void xyline (int x, int y, int x1)
 see fl_xyline(int x, int y, int x1).
void xyline (int x, int y, int x1, int y2)
 see fl_xyline(int x, int y, int x1, int y2).
void xyline (int x, int y, int x1, int y2, int x3)
 see fl_xyline(int x, int y, int x1, int y2, int x3).
void yxline (int x, int y, int y1)
 see fl_yxline(int x, int y, int y1).
void yxline (int x, int y, int y1, int x2)
 see fl_yxline(int x, int y, int y1, int x2).
void yxline (int x, int y, int y1, int x2, int y3)
 see fl_yxline(int x, int y, int y1, int x2, int y3).
void line (int x1, int y1, int x2, int y2)
 see fl_line(int x, int y, int x1, int y1).
void line (int x1, int y1, int x2, int y2, int x3, int y3)
 see fl_line(int x, int y, int x1, int y1, int x2, int y2).
void loop (int x0, int y0, int x1, int y1, int x2, int y2)
 see fl_loop(int x0, int y0, int x1, int y1, int x2, int y2).
void loop (int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3)
 see fl_loop(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3).
void polygon (int x0, int y0, int x1, int y1, int x2, int y2)
 see fl_polygon(int x0, int y0, int x1, int y1, int x2, int y2).
void polygon (int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3)
 see fl_polygon(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3).
void point (int x, int y)
 see fl_point(int x, int y).
void begin_points ()
 see fl_begin_points().
void begin_line ()
 see fl_begin_line().
void begin_loop ()
 see fl_begin_loop().
void begin_polygon ()
 see fl_begin_polygon().
void vertex (double x, double y)
 see fl_vertex(double x, double y).
void curve (double x, double y, double x1, double y1, double x2, double y2, double x3, double y3)
 see fl_curve(double X0, double Y0, double X1, double Y1, double X2, double Y2, double X3, double Y3).
void circle (double x, double y, double r)
 see fl_circle(double x, double y, double r).
void arc (double x, double y, double r, double start, double a)
 see fl_arc(double x, double y, double r, double start, double end).
void arc (int x, int y, int w, int h, double a1, double a2)
 see fl_arc(int x, int y, int w, int h, double a1, double a2).
void pie (int x, int y, int w, int h, double a1, double a2)
 see fl_pie(int x, int y, int w, int h, double a1, double a2).
void end_points ()
 see fl_end_points().
void end_line ()
 see fl_end_line().
void end_loop ()
 see fl_end_loop().
void end_polygon ()
 see fl_end_polygon().
void begin_complex_polygon ()
 see fl_begin_complex_polygon().
void gap ()
 see fl_gap().
void end_complex_polygon ()
 see fl_end_complex_polygon().
void transformed_vertex (double x, double y)
 see fl_transformed_vertex(double xf, double yf).
void font (int face, int size)
 see fl_font(Fl_Font face, Fl_Fontsize size).
int font ()
int size ()
double width (unsigned c)
double width (const char *s, int n)
int descent ()
int height ()
void draw_image (const uchar *d, int x, int y, int w, int h, int delta=3, int ldelta=0)
 see fl_draw_image(const uchar* buf, int X,int Y,int W,int H, int D, int L).
void draw_image_mono (const uchar *d, int x, int y, int w, int h, int delta=1, int ld=0)
 see fl_draw_image_mono(const uchar* buf, int X,int Y,int W,int H, int D, int L).
void draw_image (Fl_Draw_Image_Cb call, void *data, int x, int y, int w, int h, int delta=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_mono (Fl_Draw_Image_Cb call, void *data, int x, int y, int w, int h, int delta=1)
 see fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D).
void page_policy (int p)
int page_policy ()
void close_command (int(*cmd)(FILE *))
FILE * file ()
void interpolate (int i)
int interpolate ()
void page (double pw, double ph, int media=0)
void page (int format)
void place (double x, double y, double tx, double ty, double scale=1)
 Fl_PostScript_Graphics_Driver ()
 The constructor.
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_Bitmap *bitmap, int XP, int YP, int WP, int HP, int cx, int cy)
 Draws an Fl_Bitmap 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.
 ~Fl_PostScript_Graphics_Driver ()
 The destructor.

Public Attributes

Clipclip_
int lang_level_
int font_
int size_
int gap_
int pages_
double width_
double height_
int shape_
int linewidth_
int linestyle_
int interpolate_
unsigned char cr_
unsigned char cg_
unsigned char cb_
char linedash_ [256]
ucharmask
int mx
int my
int(* close_cmd_ )(FILE *)
int page_policy_
int nPages
int orientation_
float scale_x
float scale_y
float angle
int left_margin
int top_margin
FILE * output
double pw_
double ph_
uchar bg_r
uchar bg_g
uchar bg_b
enum Fl_Paged_Device::Page_Format page_format_
char * ps_filename_

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).

Definition at line 64 of file Fl_PostScript.H.


Member Enumeration Documentation

Enumerator:
NONE 
LINE 
LOOP 
POLYGON 
POINTS 

Definition at line 69 of file Fl_PostScript.H.


Constructor & Destructor Documentation

Fl_PostScript_Graphics_Driver::Fl_PostScript_Graphics_Driver ( void  )

The constructor.

Definition at line 43 of file Fl_PostScript.cxx.

References bg_b, bg_g, bg_r, class_id, Fl_Device::class_name(), close_cmd_, lang_level_, mask, NULL, ps_filename_, scale_x, and scale_y.

Fl_PostScript_Graphics_Driver::~Fl_PostScript_Graphics_Driver ( )

The destructor.

Definition at line 56 of file Fl_PostScript.cxx.

References ps_filename_.


Member Function Documentation

int Fl_PostScript_Graphics_Driver::alpha_mask ( const uchar data,
int  w,
int  h,
int  D,
int  LD = 0 
)

mask row index

Definition at line 39 of file ps_image.cxx.

References h, i, mask, mx, my, val, and w.

Referenced by draw().

void Fl_PostScript_Graphics_Driver::arc ( double  x,
double  y,
double  r,
double  start,
double  end 
) [virtual]

see fl_arc(double x, double y, double r, double start, double end).

Reimplemented from Fl_Graphics_Driver.

Definition at line 1205 of file Fl_PostScript.cxx.

References gap_, NONE, and shape_.

Referenced by arc(), and pie().

void Fl_PostScript_Graphics_Driver::arc ( int  x,
int  y,
int  w,
int  h,
double  a1,
double  a2 
) [virtual]
void Fl_PostScript_Graphics_Driver::begin_complex_polygon ( ) [inline, virtual]

see fl_begin_complex_polygon().

Reimplemented from Fl_Graphics_Driver.

Definition at line 179 of file Fl_PostScript.H.

References begin_polygon().

void Fl_PostScript_Graphics_Driver::begin_line ( ) [virtual]

see fl_begin_line().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1141 of file Fl_PostScript.cxx.

References concat(), gap_, LINE, and shape_.

Referenced by arc().

void Fl_PostScript_Graphics_Driver::begin_loop ( ) [virtual]

see fl_begin_loop().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1149 of file Fl_PostScript.cxx.

References concat(), gap_, LOOP, and shape_.

void Fl_PostScript_Graphics_Driver::begin_points ( ) [virtual]

see fl_begin_points().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1132 of file Fl_PostScript.cxx.

References concat(), gap_, POINTS, and shape_.

void Fl_PostScript_Graphics_Driver::begin_polygon ( ) [virtual]

see fl_begin_polygon().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1157 of file Fl_PostScript.cxx.

References concat(), gap_, POLYGON, and shape_.

Referenced by begin_complex_polygon(), and pie().

void Fl_PostScript_Graphics_Driver::circle ( double  x,
double  y,
double  r 
) [virtual]

see fl_circle(double x, double y, double r).

Reimplemented from Fl_Graphics_Driver.

Definition at line 1190 of file Fl_PostScript.cxx.

References concat(), NONE, reconcat(), and shape_.

int Fl_PostScript_Graphics_Driver::clip_box ( int  x,
int  y,
int  w,
int  h,
int &  X,
int &  Y,
int &  W,
int &  H 
) [virtual]
void Fl_PostScript_Graphics_Driver::close_command ( int(*)(FILE *)  cmd) [inline]

Definition at line 200 of file Fl_PostScript.H.

References close_cmd_.

Referenced by Fl_PostScript_File_Device::start_job().

void Fl_PostScript_Graphics_Driver::color ( Fl_Color  c) [virtual]

see fl_color(Fl_Color c).

Reimplemented from Fl_Graphics_Driver.

Definition at line 938 of file Fl_PostScript.cxx.

References cb_, cg_, cr_, and Fl::get_color().

Referenced by recover().

void Fl_PostScript_Graphics_Driver::color ( uchar  r,
uchar  g,
uchar  b 
) [virtual]

see fl_color(uchar r, uchar g, uchar b).

Reimplemented from Fl_Graphics_Driver.

Definition at line 943 of file Fl_PostScript.cxx.

References b, cb_, cg_, cr_, fl_color_, fl_rgb_color(), and output.

void Fl_PostScript_Graphics_Driver::concat ( )
void Fl_PostScript_Graphics_Driver::curve ( double  X0,
double  Y0,
double  X1,
double  Y1,
double  X2,
double  Y2,
double  X3,
double  Y3 
) [virtual]
int Fl_PostScript_Graphics_Driver::descent ( )
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.

Definition at line 461 of file ps_image.cxx.

References Fl_Image::data(), FL_BLACK, fl_draw_pixmap(), fl_measure_pixmap(), h, mask, mx, my, pop_clip(), push_clip(), and w.

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.

Definition at line 491 of file ps_image.cxx.

References Fl_Bitmap::array, Fl_Image::h(), h, i, output, pop_clip(), push_clip(), Fl_Image::w(), and w.

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.

Definition at line 477 of file ps_image.cxx.

References alpha_mask(), Fl_RGB_Image::array, Fl_Image::d(), draw_scaled_image(), Fl_Image::h(), h, lang_level_, Fl_Image::ld(), mask, pop_clip(), push_clip(), Fl_Image::w(), and w.

void Fl_PostScript_Graphics_Driver::draw ( const char *  str,
int  n,
int  x,
int  y 
) [inline, virtual]

see fl_draw(const char *str, int n, int x, int y).

Reimplemented from Fl_Graphics_Driver.

Definition at line 120 of file Fl_PostScript.H.

References transformed_draw().

void Fl_PostScript_Graphics_Driver::draw ( int  angle,
const char *  str,
int  n,
int  x,
int  y 
) [virtual]
void Fl_PostScript_Graphics_Driver::draw_image ( const uchar buf,
int  X,
int  Y,
int  W,
int  H,
int  D = 3,
int  L = 0 
) [inline, virtual]
void Fl_PostScript_Graphics_Driver::draw_image ( Fl_Draw_Image_Cb  cb,
void *  data,
int  X,
int  Y,
int  W,
int  H,
int  D = 3 
) [inline, virtual]
void Fl_PostScript_Graphics_Driver::draw_image_mono ( const uchar buf,
int  X,
int  Y,
int  W,
int  H,
int  D = 1,
int  L = 0 
) [inline, virtual]
void Fl_PostScript_Graphics_Driver::draw_image_mono ( Fl_Draw_Image_Cb  cb,
void *  data,
int  X,
int  Y,
int  W,
int  H,
int  D = 1 
) [inline, virtual]
void Fl_PostScript_Graphics_Driver::draw_scaled_image ( const uchar data,
double  x,
double  y,
double  w,
double  h,
int  iw,
int  ih,
int  D = 3,
int  LD = 0 
)

Definition at line 198 of file ps_image.cxx.

References bg_b, bg_g, bg_r, draw_scaled_image_mono(), i, interpolate_, lang_level_, mask, mx, my, and output.

Referenced by draw(), and draw_image().

void Fl_PostScript_Graphics_Driver::draw_scaled_image ( Fl_Draw_Image_Cb  call,
void *  data,
double  x,
double  y,
double  w,
double  h,
int  iw,
int  ih,
int  D 
)

Definition at line 265 of file ps_image.cxx.

References i, interpolate_, lang_level_, mask, mx, my, and output.

void Fl_PostScript_Graphics_Driver::draw_scaled_image_mono ( const uchar data,
double  x,
double  y,
double  w,
double  h,
int  iw,
int  ih,
int  D = 3,
int  LD = 0 
)

Definition at line 351 of file ps_image.cxx.

References bg_b, bg_g, bg_r, i, interpolate_, lang_level_, mask, mx, my, and output.

Referenced by draw_image_mono(), and draw_scaled_image().

void Fl_PostScript_Graphics_Driver::draw_scaled_image_mono ( Fl_Draw_Image_Cb  call,
void *  data,
double  x,
double  y,
double  w,
double  h,
int  iw,
int  ih,
int  D 
)

Definition at line 412 of file ps_image.cxx.

References i, interpolate_, lang_level_, mask, mx, my, and output.

void Fl_PostScript_Graphics_Driver::end_complex_polygon ( ) [inline, virtual]

see fl_end_complex_polygon().

Reimplemented from Fl_Graphics_Driver.

Definition at line 181 of file Fl_PostScript.H.

References end_polygon().

void Fl_PostScript_Graphics_Driver::end_line ( ) [virtual]

see fl_end_line().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1254 of file Fl_PostScript.cxx.

References gap_, NONE, reconcat(), and shape_.

Referenced by arc().

void Fl_PostScript_Graphics_Driver::end_loop ( ) [virtual]

see fl_end_loop().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1261 of file Fl_PostScript.cxx.

References gap_, NONE, reconcat(), and shape_.

void Fl_PostScript_Graphics_Driver::end_points ( ) [virtual]

see fl_end_points().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1246 of file Fl_PostScript.cxx.

References gap_, NONE, reconcat(), and shape_.

void Fl_PostScript_Graphics_Driver::end_polygon ( ) [virtual]

see fl_end_polygon().

Reimplemented from Fl_Graphics_Driver.

Definition at line 1269 of file Fl_PostScript.cxx.

References gap_, NONE, reconcat(), and shape_.

Referenced by end_complex_polygon(), and pie().

FILE* Fl_PostScript_Graphics_Driver::file ( ) [inline]

Definition at line 201 of file Fl_PostScript.H.

References output.

void Fl_PostScript_Graphics_Driver::font ( int  face,
int  size 
) [virtual]
int Fl_PostScript_Graphics_Driver::font ( ) [inline]

Definition at line 185 of file Fl_PostScript.H.

References font_.

Referenced by recover().

void Fl_PostScript_Graphics_Driver::gap ( ) [inline, virtual]

see fl_gap().

Reimplemented from Fl_Graphics_Driver.

Definition at line 180 of file Fl_PostScript.H.

References gap_.

int Fl_PostScript_Graphics_Driver::height ( )
void Fl_PostScript_Graphics_Driver::interpolate ( int  i) [inline]

Definition at line 205 of file Fl_PostScript.H.

References i, and interpolate_.

int Fl_PostScript_Graphics_Driver::interpolate ( ) [inline]

Definition at line 206 of file Fl_PostScript.H.

References interpolate_.

void Fl_PostScript_Graphics_Driver::line ( int  x,
int  y,
int  x1,
int  y1,
int  x2,
int  y2 
) [virtual]

see fl_line(int x, int y, int x1, int y1, int x2, int y2).

Reimplemented from Fl_Graphics_Driver.

Definition at line 711 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::line ( int  x,
int  y,
int  x1,
int  y1 
) [virtual]

see fl_line(int x, int y, int x1, int y1).

Reimplemented from Fl_Graphics_Driver.

Definition at line 705 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::line_style ( int  style,
int  width = 0,
char *  dashes = 0 
) [virtual]

see fl_line_style(int style, int width, char* dashes).

Reimplemented from Fl_Graphics_Driver.

Definition at line 851 of file Fl_PostScript.cxx.

References FL_CAP_SQUARE, linedash_, linestyle_, linewidth_, output, and width().

Referenced by page(), and recover().

void Fl_PostScript_Graphics_Driver::loop ( int  x0,
int  y0,
int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
) [virtual]
void Fl_PostScript_Graphics_Driver::loop ( int  x0,
int  y0,
int  x1,
int  y1,
int  x2,
int  y2 
) [virtual]

see fl_loop(int x0, int y0, int x1, int y1, int x2, int y2).

Reimplemented from Fl_Graphics_Driver.

Definition at line 785 of file Fl_PostScript.cxx.

References output.

int Fl_PostScript_Graphics_Driver::not_clipped ( int  x,
int  y,
int  w,
int  h 
) [virtual]
void Fl_PostScript_Graphics_Driver::page ( double  pw,
double  ph,
int  media = 0 
)
void Fl_PostScript_Graphics_Driver::page ( int  format)
void Fl_PostScript_Graphics_Driver::page_policy ( int  p)

Definition at line 614 of file Fl_PostScript.cxx.

References lang_level_, output, and page_policy_.

int Fl_PostScript_Graphics_Driver::page_policy ( ) [inline]

Definition at line 199 of file Fl_PostScript.H.

References page_policy_.

void Fl_PostScript_Graphics_Driver::pie ( int  x,
int  y,
int  w,
int  h,
double  a1,
double  a2 
) [virtual]
void Fl_PostScript_Graphics_Driver::place ( double  x,
double  y,
double  tx,
double  ty,
double  scale = 1 
)
void Fl_PostScript_Graphics_Driver::point ( int  x,
int  y 
) [virtual]

see fl_point(int x, int y).

Reimplemented from Fl_Graphics_Driver.

Definition at line 828 of file Fl_PostScript.cxx.

References rectf().

void Fl_PostScript_Graphics_Driver::polygon ( int  x0,
int  y0,
int  x1,
int  y1,
int  x2,
int  y2 
) [virtual]

see fl_polygon(int x0, int y0, int x1, int y1, int x2, int y2).

Reimplemented from Fl_Graphics_Driver.

Definition at line 806 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::polygon ( int  x0,
int  y0,
int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
) [virtual]
void Fl_PostScript_Graphics_Driver::reconcat ( )
void Fl_PostScript_Graphics_Driver::recover ( )

Definition at line 589 of file Fl_PostScript.cxx.

References cb_, cg_, color(), cr_, font(), font_, line_style(), linedash_, linestyle_, linewidth_, and size_.

Referenced by pop_clip(), push_clip(), and push_no_clip().

void Fl_PostScript_Graphics_Driver::rect ( int  x,
int  y,
int  w,
int  h 
) [virtual]

see fl_rect(int x, int y, int w, int h).

Reimplemented from Fl_Graphics_Driver.

Definition at line 686 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::rectf ( int  x,
int  y,
int  w,
int  h 
) [virtual]

see fl_rectf(int x, int y, int w, int h).

Reimplemented from Fl_Graphics_Driver.

Definition at line 701 of file Fl_PostScript.cxx.

References output.

Referenced by point().

void Fl_PostScript_Graphics_Driver::reset ( )
void Fl_PostScript_Graphics_Driver::rtl_draw ( const char *  str,
int  n,
int  x,
int  y 
) [virtual]
int Fl_PostScript_Graphics_Driver::size ( ) [inline]

Definition at line 186 of file Fl_PostScript.H.

References size_.

int Fl_PostScript_Graphics_Driver::start_postscript ( int  pagecount,
enum Fl_Paged_Device::Page_Format  format,
enum Fl_Paged_Device::Page_Layout  layout 
)
void Fl_PostScript_Graphics_Driver::transformed_draw ( const char *  s,
double  x,
double  y 
)
void Fl_PostScript_Graphics_Driver::transformed_draw ( const char *  s,
int  n,
double  x,
double  y 
)

Definition at line 1061 of file Fl_PostScript.cxx.

References fl_utf8decode(), fl_width(), int, and width().

Referenced by draw(), and rtl_draw().

void Fl_PostScript_Graphics_Driver::transformed_vertex ( double  xf,
double  yf 
) [virtual]

see fl_transformed_vertex(double xf, double yf).

Reimplemented from Fl_Graphics_Driver.

Definition at line 1278 of file Fl_PostScript.cxx.

References concat(), gap_, and reconcat().

void Fl_PostScript_Graphics_Driver::vertex ( double  x,
double  y 
) [virtual]

see fl_vertex(double x, double y).

Reimplemented from Fl_Graphics_Driver.

Definition at line 1165 of file Fl_PostScript.cxx.

References gap_, POINTS, and shape_.

Referenced by pie().

double Fl_PostScript_Graphics_Driver::width ( const char *  s,
int  n 
)
double Fl_PostScript_Graphics_Driver::width ( unsigned  c)

Referenced by line_style(), and transformed_draw().

void Fl_PostScript_Graphics_Driver::xyline ( int  x,
int  y,
int  x1,
int  y2,
int  x3 
) [virtual]

see fl_xyline(int x, int y, int x1, int y2, int x3).

Reimplemented from Fl_Graphics_Driver.

Definition at line 721 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::xyline ( int  x,
int  y,
int  x1,
int  y2 
) [virtual]

see fl_xyline(int x, int y, int x1, int y2).

Reimplemented from Fl_Graphics_Driver.

Definition at line 733 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::xyline ( int  x,
int  y,
int  x1 
) [virtual]

see fl_xyline(int x, int y, int x1).

Reimplemented from Fl_Graphics_Driver.

Definition at line 744 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::yxline ( int  x,
int  y,
int  y1,
int  x2,
int  y3 
) [virtual]

see fl_yxline(int x, int y, int y1, int x2, int y3).

Reimplemented from Fl_Graphics_Driver.

Definition at line 754 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::yxline ( int  x,
int  y,
int  y1,
int  x2 
) [virtual]

see fl_yxline(int x, int y, int y1, int x2).

Reimplemented from Fl_Graphics_Driver.

Definition at line 766 of file Fl_PostScript.cxx.

References output.

void Fl_PostScript_Graphics_Driver::yxline ( int  x,
int  y,
int  y1 
) [virtual]

see fl_yxline(int x, int y, int y1).

Reimplemented from Fl_Graphics_Driver.

Definition at line 776 of file Fl_PostScript.cxx.

References output.


Member Data Documentation

Definition at line 91 of file Fl_PostScript.H.

Referenced by color(), recover(), and reset().

Definition at line 91 of file Fl_PostScript.H.

Referenced by color(), recover(), and reset().

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.

Definition at line 66 of file Fl_PostScript.H.

Referenced by Fl_PostScript_Graphics_Driver().

Definition at line 91 of file Fl_PostScript.H.

Referenced by color(), recover(), and reset().

Definition at line 79 of file Fl_PostScript.H.

Referenced by font(), recover(), and reset().

Definition at line 85 of file Fl_PostScript.H.

Definition at line 92 of file Fl_PostScript.H.

Referenced by line_style(), recover(), and reset().

Definition at line 89 of file Fl_PostScript.H.

Referenced by line_style(), recover(), and reset().

Definition at line 88 of file Fl_PostScript.H.

Referenced by line_style(), recover(), and reset().

Definition at line 80 of file Fl_PostScript.H.

Referenced by font(), recover(), reset(), and size().

Definition at line 84 of file Fl_PostScript.H.


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