From f6d2ba651bc22b59488ac4be658f0d725296e2fc Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:02:59 +0100 Subject: Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap --- FL/Fl_Image.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/Fl_Image.H') 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(). -- cgit v1.2.3