summaryrefslogtreecommitdiff
path: root/src/fl_arci.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-03-21 08:26:40 +0000
committerManolo Gouy <Manolo>2010-03-21 08:26:40 +0000
commitc5d7f42a2297f3eb4edec61ced79057bedbbb8b9 (patch)
tree76938078ec42c45de06a6913c9f5cdeec7da6765 /src/fl_arci.cxx
parenta8c583a49e50a366b6f9d1021217d907bd168414 (diff)
Completed Doxygen documentation of Fl_Device, Fl_Abstract_Printer, Fl_Printer classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_arci.cxx')
-rw-r--r--src/fl_arci.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/fl_arci.cxx b/src/fl_arci.cxx
index 81414599c..c41ce1d20 100644
--- a/src/fl_arci.cxx
+++ b/src/fl_arci.cxx
@@ -47,28 +47,6 @@
#endif
#include <config.h>
-/**
- Draw ellipse sections using integer coordinates.
-
- These functions match the rather limited circle drawing code provided by X
- and WIN32. The advantage over using fl_arc with floating point coordinates
- is that they are faster because they often use the hardware, and they draw
- much nicer small circles, since the small sizes are often hard-coded bitmaps.
-
- If a complete circle is drawn it will fit inside the passed bounding box.
- The two angles are measured in degrees counterclockwise from 3 o'clock and
- are the starting and ending angle of the arc, \p a2 must be greater or equal
- to \p a1.
-
- fl_arc() draws a series of lines to approximate the arc. Notice that the
- integer version of fl_arc() has a different number of arguments than the
- double version fl_arc(double x, double y, double r, double start, double a)
-
- \param[in] x,y,w,h bounding box of complete circle
- \param[in] a1,a2 start and end angles of arc measured in degrees
- counter-clockwise from 3 o'clock. \p a2 must be greater
- than or equal to \p a1.
-*/
void Fl_Device::arc(int x,int y,int w,int h,double a1,double a2) {
if (w <= 0 || h <= 0) return;
@@ -108,18 +86,6 @@ void Fl_Device::arc(int x,int y,int w,int h,double a1,double a2) {
#endif
}
-/**
- Draw filled ellipse sections using integer coordinates.
-
- Like fl_arc(), but fl_pie() draws a filled-in pie slice.
- This slice may extend outside the line drawn by fl_arc();
- to avoid this use w - 1 and h - 1.
-
- \param[in] x,y,w,h bounding box of complete circle
- \param[in] a1,a2 start and end angles of arc measured in degrees
- counter-clockwise from 3 o'clock. \p a2 must be greater
- than or equal to \p a1.
-*/
void Fl_Device::pie(int x,int y,int w,int h,double a1,double a2) {
if (w <= 0 || h <= 0) return;