summaryrefslogtreecommitdiff
path: root/documentation/src/osissues.dox
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
commit20c50312fcd807fdee6c907a9a8af250f79d02b0 (patch)
treeee40c1cbe658097c7a33c9a8323b60907d03b520 /documentation/src/osissues.dox
parentc02fba6bb9af3254bc617eb090bce7820f58614a (diff)
Cleaner declaration of public function fl_wl_cairo().
Diffstat (limited to 'documentation/src/osissues.dox')
-rw-r--r--documentation/src/osissues.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox
index 583cff3ab..999fced25 100644
--- a/documentation/src/osissues.dox
+++ b/documentation/src/osissues.dox
@@ -964,13 +964,13 @@ struct wl_surface *fl_wl_surface(Window wld_win)
Returns a pointer to the struct wl_surface corresponding to a show()'n
top-level window or subwindow.
-struct _cairo *fl_wl_cairo(void)
+cairo_t *fl_wl_cairo(void)
\par
Drawing natively to a Wayland window : Within an overridden Fl_Widget::draw() method,
or after a call to Fl_Window::make_current(), it's possible to draw
<u>using the Cairo library</u>. Function \c fl_wl_cairo() returns the adequate
-\c cairo_t* (equivalent to <tt>struct _cairo*</tt>) value. All FLTK-defined
-drawing functions (e.g., fl_rect(), fl_draw()) can be used too.
+\c cairo_t* value. Regular FLTK coordinates, with top-left origin, are to be used.
+All FLTK-defined drawing functions (e.g., fl_rect(), fl_draw()) can be used too.
void fl_close_display()
\par