summaryrefslogtreecommitdiff
path: root/src/fl_arc.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-06-23 16:47:40 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-06-23 16:47:40 +0000
commita9fd08ff5ab8bbf3838200ceace671a72627d212 (patch)
treeb7821c8f82a8ab75c682d9175c24bfaaf2993501 /src/fl_arc.cxx
parent8c993648dbb568e35271ad4c8bd346d7eb97e69b (diff)
Doxygen: created Group to document drivers, disabled by default
Uncomment `ENABLED_SECTIONS += DriverDev` in documentation/Doxyfile.in to enable driver documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_arc.cxx')
-rw-r--r--src/fl_arc.cxx21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/fl_arc.cxx b/src/fl_arc.cxx
index 240e254de..82c40587c 100644
--- a/src/fl_arc.cxx
+++ b/src/fl_arc.cxx
@@ -34,7 +34,21 @@ static double _fl_hypot(double x, double y) {
return sqrt(x*x + y*y);
}
-/** see fl_arc(double x, double y, double r, double start, double end) */
+/**
+ * @cond DriverDev
+ * @addtogroup DriverDeveloper
+ * @{
+ */
+
+/**
+ * Draw an arc.
+ *
+ * The default implementation draws an arc using other calls into the graphics
+ * driver. There is no need to override the method unless the target platform
+ * supports drawing arcs directly.
+ *
+ * @see fl_arc(double x, double y, double r, double start, double end)
+ */
void Fl_Graphics_Driver::arc(double x, double y, double r, double start, double end) {
// draw start point accurately:
@@ -72,6 +86,11 @@ void Fl_Graphics_Driver::arc(double x, double y, double r, double start, double
}
}
+/**
+ * @}
+ * @endcond
+ */
+
//
// End of "$Id$".
//