summaryrefslogtreecommitdiff
path: root/src/fl_line_style.cxx
diff options
context:
space:
mode:
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)