diff options
| author | Manolo Gouy <Manolo> | 2011-03-22 15:53:05 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-03-22 15:53:05 +0000 |
| commit | 80fffdc3690303afe8c53a09d72ea1cedf1ba1f6 (patch) | |
| tree | 973bc1b15a5b9a5239d42c6b4fd4054fd42b0fb5 /FL/Fl_PostScript.H | |
| parent | 0373e02f5d67ddfecb3937c5f47b6c96316d39b5 (diff) | |
Set member functions draw_scaled_image(_mono)() of class Fl_PostScript_Graphics_Driver
private.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_PostScript.H')
| -rw-r--r-- | FL/Fl_PostScript.H | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index a7d30f1c7..f921e2e12 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -3,7 +3,7 @@ // // Support for graphics output to PostScript file for the Fast Light Tool Kit (FLTK). // -// Copyright 2010 by Bill Spitzak and others. +// Copyright 2010-2011 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -62,6 +62,11 @@ Times (and their bold, oblique, italic variants). */ class Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver { +private: + 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); public: static const char *class_id; const char *class_name() {return class_id;}; @@ -119,10 +124,6 @@ class Clip { void transformed_draw(const char* s, int n, double x, double y); //precise text placing 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); enum Fl_Paged_Device::Page_Format page_format_; char *ps_filename_; |
