diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-07-21 22:34:02 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-07-21 22:34:02 +0200 |
| commit | 7f24a0d6d8d27d6901b1c5d40002769c8bfadf15 (patch) | |
| tree | f09aa13ec794cd7f2efb72c77fce768ccb565697 /FL | |
| parent | 0291b48a7361bbe18a9b8d96697384d9a50e1dc9 (diff) | |
Update docs and screenshot for fl_line_style() (#1016)
As a follow-up to the discussion I used the posted screenshot demo
(thanks to Greg), redesigned it using Fl_Grid, and added it as a
new test program, including Makefiles and CMakeLists.txt.
New file: test/line_style_docs.cxx to create screenshot. Note that the
old test/line_style.cxx is not obsolete, it can be used to test the
line styles interactively.
Docs have been updated in both chapter "Drawing Things" and the
function description.
Also added the new demo to test/demo.menu under "Images for Manual...".
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/fl_draw.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H index cc23b28e9..99fe1045f 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -224,7 +224,7 @@ inline void fl_point(int x, int y) { using \c fl_line_style(0). \image html fl_line_style.png "fl_line_style() styles" - \image latex fl_line_style.png "fl_line_style() styles" width=4cm + \image latex fl_line_style.png "fl_line_style() styles" width=12cm \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 @@ -256,7 +256,7 @@ inline void fl_line_style(int style, int width = 0, char *dashes = 0) { /// \anchor LineStyles /// /// \image html fl_line_style.png "fl_line_style() styles" -/// \image latex fl_line_style.png "fl_line_style() styles" width=4cm +/// \image latex fl_line_style.png "fl_line_style() styles" width=12cm /// enum { FL_SOLID = 0, ///< line style: solid line |
