summaryrefslogtreecommitdiff
path: root/FL/Fl_Cairo.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-14 18:46:56 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-14 19:51:34 +0100
commit0f41797b7ab0ee010e31659f60cafd38affac8f5 (patch)
treeb7202f3bfcc801c6af29890e128de3a848fc70fa /FL/Fl_Cairo.H
parent0eb6a0e193d7608650728f42b88e9dfc0ab29282 (diff)
Cairo: introduce Fl::cairo_flush() in FLTK API
Flushing the Cairo context is necessary on Windows to make Cairo drawings appear on the device (screen). This new method makes it easy for user code to do this correctly after using Cairo drawings. - add Fl::cairo_flush(cairo_t *) - document Fl::cairo_flush(cairo_t *) - reformat Cairo doxygen docs and code (partially) - use the new method in Fl_Cairo_Window - use the new method in test/cairo_test.cxx - other minor (text) changes in test/cairo_test.cxx - add test/cairo_test to the demo menu (test/demo.menu)
Diffstat (limited to 'FL/Fl_Cairo.H')
-rw-r--r--FL/Fl_Cairo.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Cairo.H b/FL/Fl_Cairo.H
index 024532ac6..03c3c1cfe 100644
--- a/FL/Fl_Cairo.H
+++ b/FL/Fl_Cairo.H
@@ -1,7 +1,7 @@
//
-// Main Cairo header file for the Fast Light Tool Kit (FLTK).
+// Main Cairo support header file 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