summaryrefslogtreecommitdiff
path: root/src/Fl_Printer.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-24 08:38:11 +0000
committerManolo Gouy <Manolo>2016-04-24 08:38:11 +0000
commit98f071fa16064abc6785519b4ce8c3cb3f404812 (patch)
treed428f7fdd6e153f04d06f0785bdc77e393a233e7 /src/Fl_Printer.cxx
parent8dddcb2d1d78adc558bbb0e3cde04b71a6cbc4cd (diff)
Add Doxygen comments for members of the Fl_Graphics_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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);