diff options
| author | MatthiasWM <visualc.git@matthiasm.com> | 2023-11-29 13:16:35 +0100 |
|---|---|---|
| committer | MatthiasWM <visualc.git@matthiasm.com> | 2023-11-29 13:16:35 +0100 |
| commit | 06e2bd7f0e295a34c28ddbb4fa7a03644540bb5c (patch) | |
| tree | 0c0f9fc3cbb5d290e56ce373695de4991c78bf64 /src/drivers/PostScript/Fl_PostScript_image.cxx | |
| parent | 75c879e2ff5022a4084b259c53a769d77ae13713 (diff) | |
| parent | 44b845cc42b9a0326b6aa3438462bcd1b77ddeb4 (diff) | |
Merge branch 'master' of https://github.com/fltk/fltk
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript_image.cxx')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript_image.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript_image.cxx b/src/drivers/PostScript/Fl_PostScript_image.cxx index 64f9972bf..c78627727 100644 --- a/src/drivers/PostScript/Fl_PostScript_image.cxx +++ b/src/drivers/PostScript/Fl_PostScript_image.cxx @@ -1,7 +1,7 @@ // // Postscript image drawing implementation for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2022 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -68,7 +68,9 @@ void Fl_PostScript_Graphics_Driver::draw_image(const uchar *data, int ix, int iy draw_image(draw_image_cb, &cb_data, ix, iy, iw, ih, abs(D)); } -#if USE_PANGO +#if USE_PANGO + +#if !FLTK_USE_CAIRO static void destroy_BGRA(void *data) { delete[] (uchar*)data; @@ -180,7 +182,9 @@ void Fl_PostScript_Graphics_Driver::draw_rgb_bitmap_(Fl_Image *img,int XP, int Y } } -#else // USE_PANGO +#endif // !FLTK_USE_CAIRO + +#else // ! USE_PANGO // // Implementation of the /ASCII85Encode PostScript filter |
