summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-16 13:21:54 +0000
committerManolo Gouy <Manolo>2018-04-16 13:21:54 +0000
commitc5ab11bbec632992f46e4f73056dbc4f3e835328 (patch)
treef867d869303f7023a11819fca7a95eb80951ce25
parent447e33c60701df4932d1a784e8751b6cd068de65 (diff)
Comments only: extend "Implementation note about image drawing" to describe the mask_bitmap virtual member function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Graphics_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 5fb18f75f..c7ba46f15 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -130,6 +130,8 @@ and
Graphics drivers also implement cache(Fl_Pixmap*), cache(Fl_Bitmap*) and cache(Fl_RGB_Image*)
to compute the cached form of all image types, and uncache(Fl_RGB_Image *,...),
uncache_pixmap(fl_uintptr_t) and delete_bitmask(Fl_Bitmask) to destroy cached image forms.
+ Graphics drivers that use the mask_ variable of class Fl_Pixmap to cache an Fl_Pixmap
+ object also reimplement the uchar **Fl_Graphics_Driver::mask_bitmap() member function.
*/
private:
virtual void draw_fixed(Fl_Pixmap *pxm,int XP, int YP, int WP, int HP, int cx, int cy) {}