summaryrefslogtreecommitdiff
path: root/src/Fl_Printer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Printer.cxx')
-rw-r--r--src/Fl_Printer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx
index b08335500..a6756acdc 100644
--- a/src/Fl_Printer.cxx
+++ b/src/Fl_Printer.cxx
@@ -187,6 +187,11 @@ void Fl_Printer::end_job (void)
printer->end_job();
}
+/** Prints the widget on the drawing surface.
+ \param[in] widget Any FLTK widget (e.g., standard, custom, window, GL window).
+ \param[in] delta_x,delta_y Optional offsets for positioning the widget's
+ top-left corner relatively to the current origin of graphics functions.
+ */
void Fl_Printer::print_widget(Fl_Widget* widget, int delta_x, int delta_y)
{
printer->draw(widget, delta_x, delta_y);