summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Widget_Surface.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Fl_Widget_Surface.cxx b/src/Fl_Widget_Surface.cxx
index 2845b3176..2010b52ec 100644
--- a/src/Fl_Widget_Surface.cxx
+++ b/src/Fl_Widget_Surface.cxx
@@ -108,10 +108,19 @@ void Fl_Widget_Surface::traverse(Fl_Widget *widget)
}
}
+/**
+ Translates the current graphics origin accounting for the current rotation.
+
+ Each translate() call must be matched by an untranslate() call.
+ Successive translate() calls add up their effects.
+ */
void Fl_Widget_Surface::translate(int x, int y)
{
}
+/**
+ Undoes the effect of a previous translate() call.
+ */
void Fl_Widget_Surface::untranslate()
{
}