summaryrefslogtreecommitdiff
path: root/documentation/src/drawing.dox
AgeCommit message (Collapse)Author
2025-09-08Remove from Doxygen files information about removed configure-based build ↵ManoloFLTK
system.
2025-07-02Remove deprecated methods and functionsAlbrecht Schlosser
In FLTK 1.5 we remove most (but not all) methods and functions that were deprecated in FLTK 1.3 or earlier.
2024-08-28Fix Doxygen problems with fl_draw() functions.ManoloFLTK
2024-07-21Further removal of fl_line_style() asciiart (#1016)Greg Ercolano
2024-07-21Update docs and screenshot for fl_line_style() (#1016)Albrecht Schlosser
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...".
2024-07-18Improve line style docs (#1016)Greg Ercolano
2024-06-28Update documentationAlbrecht Schlosser
2024-06-27Add "Color Contrast" section to "Drawing Things" docsAlbrecht Schlosser
This section describes fl_contrast() and the related new methods.
2024-04-13Remove "MS" from "MS Windows" in docs code, and commentsAlbrecht Schlosser
The system (platform) is called "Windows", "MS Windows" doesn't make much sense. I removed "MS" for consistency.
2024-02-07Introduce "Modern CMake" in FLTKAlbrecht Schlosser
This is a big commit and there are too many changes to list them all. The main changes are: - rename all CMake build options to 'FLTK_*' - export library targets with namespace (prefix) 'fltk::' - standardize shared library target names with suffix '-shared' - set public build properties on libraries for consumers - document library names and aliases in README.CMake.txt - document changes in "Migrating Code from FLTK 1.3 to 1.4" - partial backwards compatibility for old user projects Included but not directly related changes: - fix Windows (Visual Studio) DLL build - add CMake function fl_debug_target() to show target properties - don't build test programs if FLTK is a subproject - internal: reformat CMake code: remove space before '(' Thanks to Matthias and Manolo for their help, testing, and feeback.
2023-12-12Documentation: fix outdated statements of quantities being expressed in pixelsManoloFLTK
2023-11-01Fix typos in documentationManoloFLTK
2023-08-31Special (UTF-8) characters in PDF docs maybe not rendered correctly (#772)ManoloFLTK
Use an image to display the table of the detailed description of class Fl_PostScript_File_Device in PDF format, and keep using a dynamic table for the HTML format. Replace use of the '⌘' character in file drawing.dox by text 'cmd'.
2022-11-30Add a unit test for drawing complex shapes (#565)Matthias Melcher
2022-11-24Refactor code to make rounded rectangles accessible (#553)Matthias Melcher
This adds fl_rounded_rect and fl_rounded_rectf so the user can draw rounded rectangles. This uses existing and optimised code that is rearranged.
2022-03-10Begin documenting the Wayland platform, new in FLTK version 1.4ManoloFLTK
2021-11-16Reformat to FLTK style, improve documentationAlbrecht Schlosser
No code changes. Replace '#define fl_clip ..' with an inline method.
2021-01-13Remove "Figure x.y: " from html image captionsAlbrecht Schlosser
... as discussed in fltk.coredev for easier maintenance. Also edit some minor issues.
2021-01-13Documentation: enhance chapter "FLTK Basics"Albrecht Schlosser
basics.dox: Some minor edits, clarifications and reordering for better readability. drawing.dox: minor edits, remove "Figure x.y:" etc. (to be continued) enumerations.dox: change chapter title
2020-11-08Clarify offscreen drawing documentationAlbrecht Schlosser
... and rename drawing chapters (sections + subsections) according to our documentation conventions (prefix "drawing_"). documentation/make_pdf: fix copyright year.
2020-07-13add resize documentation as per STR3433Duncan Gibson
add resize chapter to documentation, plus images, based on Article #415: How does resizing work? https://www.fltk.org/articles.php?L415 see also https://www.fltk.org/str.php?L3433
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-04-05Fix small typo.ManoloFLTK
2020-03-26Doc: more details about initialisation of display scale factors.ManoloFLTK
2020-03-09FLTK doc: Use Unicode character ⌘ (U+2318) in a macOS-specific context.ManoloFLTK
2018-11-27Documentation: replace several instances of "pixels" by "FLTK units" to ↵Manolo Gouy
account for screen rescaling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24Added separate diagram for fl_arc(x,y,r,a1,a2) (very different from ↵Greg Ercolano
fl_arc(x,y,w,h,a1,a2)) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24Added a diagram to clarify how fl_pie() and fl_arc() works.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-22Add Fl::screen_scale(int) function to get the scaling factor value of a screen.Manolo Gouy
This allows to keep class Fl_Screen_Driver away from the public API. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12Remove public member function Fl_Window_Driver *Fl_Window::driver() so class ↵Manolo Gouy
Fl_Window_Driver is not in FLTK public API. This function is replaced by static Fl_Window_Driver* Fl_Window_Driver::(const Fl_Window *win). The purpose is to have class Fl_Window_Driver outside from FLTK ABI. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-11Fix typo.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-07New Fl_Image_Surface::rescale() class function and document equivalence ↵Manolo Gouy
between Fl_Offscreen-based and Fl_Image_Surface-based approaches. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-07Documentation: in the programming manual, mention new class Fl_SVG_Image and ↵Manolo Gouy
member function Fl_Image::scale()? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-25Documentation: explain how images are best handled in the context of GUI ↵Manolo Gouy
rescaling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-11Documentation: homogenize to 'scale factor' and 'drawing unit'Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-11Documentation: homogenize the use of "screen" rather than "display" and ↵Manolo Gouy
"FLTK units". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-10Documentation: describe the new GUI scaling feature of FLTK 1.4Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31Replace FL/x.H with FL/platform.H - step 1.Albrecht Schlosser
This first step replaces FL/x.H with FL/platform.H but keeps a small FL/x.H that #include's FL/platform.H for backwards compatibility. Documentation sources in documentation/src/*.dox have been fixed, but references in other source files need to be fixed in another step. Dependencies have been adjusted. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-23Refer to the preferred Fl_Surface_Device::push_current()/pop_current() ↵Manolo Gouy
functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-21X11 platform: Add optional use of the pango library to draw text, gaining ↵Manolo Gouy
the possibility to draw text in any script supported by Unicode. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-24Doc changes: set fl_font before fl_measure() (STR #3243)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-24More detailed documentation about drawing to other surfaces than the ↵Manolo Gouy
computer display. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-02Improve and fix image drawing docs.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-10Small mod to fix problem with color chip image not showing up in doxygen docs.Greg Ercolano
Oddly, leading white space on the two \image commands caused them to appear as literal text inside a code box, similar to as if they were embedded in a \code - \endcode block -- not sure why. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10445 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06Fix documentation.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-01Modified doc following closure of STR#2990.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-09Fix for STR #2947: A couple of minor glitches in the 1.3.2 docs.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-02Followup: small color docs modGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-02Small color documentation clarification/improvements:Greg Ercolano
o Added some references to the FLTK colormap diagram in obvious places (Fl_Color docs) o Added info regarding the 'reserved' colors o Added quotes to clarify RGBI description: "RGB" and "I" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-17Added some descriptions to colors, switched jpg -> png.Greg Ercolano
(jpeg was 2x larger) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121