summaryrefslogtreecommitdiff
path: root/FL/Fl_Image.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-11-27 10:02:59 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-11-27 10:02:59 +0100
commitf6d2ba651bc22b59488ac4be658f0d725296e2fc (patch)
treefc03ba107a6c637361c95f9e46b2b7e34ee7b23a /FL/Fl_Image.H
parentf3348e81204a4758b0c7dc231607196b790128f1 (diff)
Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap
Diffstat (limited to 'FL/Fl_Image.H')
-rw-r--r--FL/Fl_Image.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index eb7aef3c6..a8f514f36 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -369,6 +369,8 @@ public:
void label(Fl_Widget*w) FL_OVERRIDE;
void label(Fl_Menu_Item*m) FL_OVERRIDE;
void uncache() FL_OVERRIDE;
+ int cache_w() {return cache_w_;}
+ int cache_h() {return cache_h_;}
/** Sets the maximum allowed image size in bytes when creating an Fl_RGB_Image object.
The image size in bytes of an Fl_RGB_Image object is the value of the product w() * h() * d().