summaryrefslogtreecommitdiff
path: root/src/fl_line_style.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_line_style.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_line_style.cxx')
-rw-r--r--src/fl_line_style.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx
index b73074323..e93f159ec 100644
--- a/src/fl_line_style.cxx
+++ b/src/fl_line_style.cxx
@@ -50,33 +50,6 @@ void fl_quartz_restore_line_style_() {
}
#endif
-/**
- Sets how to draw lines (the "pen").
- If you change this it is your responsibility to set it back to the default
- using \c fl_line_style(0).
-
- \param[in] style A bitmask which is a bitwise-OR of a line style, a cap
- style, and a join style. If you don't specify a dash type you
- will get a solid line. If you don't specify a cap or join type
- you will get a system-defined default of whatever value is
- fastest.
- \param[in] width The thickness of the lines in pixels. Zero results in the
- system defined default, which on both X and Windows is somewhat
- different and nicer than 1.
- \param[in] dashes A pointer to an array of dash lengths, measured in pixels.
- The first location is how long to draw a solid portion, the next
- is how long to draw the gap, then the solid, etc. It is terminated
- with a zero-length entry. A \c NULL pointer or a zero-length
- array results in a solid line. Odd array sizes are not supported
- and result in undefined behavior.
-
- \note Because of how line styles are implemented on Win32 systems,
- you \e must set the line style \e after setting the drawing
- color. If you set the color after the line style you will lose
- the line style settings.
- \note The \p dashes array does not work under Windows 95, 98 or Me,
- since those operating systems do not support complex line styles.
-*/
void Fl_Device::line_style(int style, int width, char* dashes) {
#if defined(USE_X11)