diff options
| author | Greg Ercolano <erco@seriss.com> | 2024-07-20 09:51:10 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2024-07-20 09:51:57 -0700 |
| commit | e64e708345f2b657b183361fa506a63086fa8471 (patch) | |
| tree | eb1327622ec62aa1c62301d59794a592590befe3 | |
| parent | ffe39737e53a092681bae16242f3ccb2f530845a (diff) | |
fl_line_style() docs refer to the enum (#1016)
| -rw-r--r-- | FL/fl_draw.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H index 6e0c28312..b7f81a53a 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -223,8 +223,8 @@ inline void fl_point(int x, int y) { 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 + \param[in] style A bitmask which is a bitwise-OR of \ref LineStyles "Line Styles", + 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 @@ -249,6 +249,8 @@ inline void fl_point(int x, int y) { inline void fl_line_style(int style, int width = 0, char *dashes = 0) { fl_graphics_driver->line_style(style, width, dashes); } + +/// \anchor LineStyles enum { FL_SOLID = 0, ///< line style: <tt>___________</tt> FL_DASH = 1, ///< line style: <tt>_ _ _ _ _ _</tt> |
