summaryrefslogtreecommitdiff
path: root/src/Fl_Graphics_Driver.cxx
AgeCommit message (Collapse)Author
44 hourswipmaxim nikonov
2 dayswi[maxim nikonov
2025-11-01Add option to uniform line drawing in scaled mode (#167)Matthias Melcher
2025-09-19Underline does not appear in some fonts and scales (Windows,X11-noCairo) (#1308)ManoloFLTK
2025-05-09Remove declaration of Fl_Scalable_Graphics_Driver from FL/Fl_Graphics_Driver.HManoloFLTK
and declare it in non-public header src/Fl_Scalable_Graphics_Driver.H which also declares classes Fl_Font_Descriptor and Fl_Fontdesc.
2025-03-04Fix "Windows: dotted lines may be drawn solid when GUI is rescaled" (#1214)ManoloFLTK
2024-12-02Fix: Drawing bugs on Windows at very large scales (#1144)ManoloFLTK
2024-11-20Fix fl_draw_image sometimes crashes when window is scaled - cont'd (#1134)ManoloFLTK
2024-11-12 Fix for Windows and X11: Rounding issues with Fl_RGB_Image::draw() (#1120)ManoloFLTK
2024-10-15Improve method to draw boxes of type FL_BORDER_BOX and FL_SHADOW_BOX (#1089)ManoloFLTK
These types of boxes frame a background with a rectangular frame of another color. The previous procedure to draw them was not robust to GUI rescaling creating cases where space between the border and the background was not drawn. The new drawing procedure for these boxes first paints the whole area (frame included) with the background color and next draws the frame over the just painted rectangle. No uncolored space is possible. It was also necessary to very slightly modify Fl_Scalable_Graphics_Driver::rect() used by the Windows and X11 (no Cairo) backends to make sure fl_rect(x,y,w,h) exactly frames fl_rectf(x,y,w,h) without drawing outside the filled area.
2024-07-24Fix Fl_Scalable_Graphics_Driver::rect(x,y,w,h) (#1017)ManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" (#1017)ManoloFLTK
2024-02-21 Fix: fl_height(int, int) decreases the font size after each call (#915)ManoloFLTK
2023-10-18Fix trailing whitespaceAlbrecht Schlosser
2023-10-16Add virtual void Fl_Graphics_Driver::draw_circle()ManoloFLTK
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-09-17Restore Doxygen doc of fl_graphics_driverManoloFLTK
2023-04-13Fix compiler warnings [-Wpedantic]Albrecht Schlosser
Remove extra semicolons after function definitions
2022-11-30Add a unit test for drawing complex shapes (#565)Matthias Melcher
2022-11-30Remove useless fl_matrix member variable of class Fl_Graphics_DriverManoloFLTK
2022-11-27Fix forgotten name changeMatthias 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-10-10Remove duplications between Fl_Graphics_Driver and derived classes.ManoloFLTK
2022-09-15Make Fl::set_color(r,g,b,a) effective under Wayland and macOS.ManoloFLTK
2022-09-01Remove useless if (...)Albrecht Schlosser
2022-08-30Set Fl_Graphics_Driver::set_color(Fl_Color, unsigned) used by macOS, Wayland ↵ManoloFLTK
and display-cairo.
2022-08-19Fl_Graphics_Driver: remove unused virtual qualifiers.ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-21Avoid using same name (p) for distinct members of derived classes.ManoloFLTK
2022-03-21Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing.ManoloFLTK
2022-01-07Add virtual void Fl_Graphics_Driver::set_status() and implement for X11 ↵ManoloFLTK
platform.
2021-05-31Windows platform: use GDI+ to antialias oblique lines and curves.ManoloFLTK
2021-05-28New virtual member function Fl_Graphics_Driver::colored_rectf().ManoloFLTK
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
2021-03-11Unification of scaled coordinate calculations in class ↵ManoloFLTK
Fl_Scalable_Graphics_Driver Most coordinate calculations are done with the new inline function int Fl_Scalable_Graphics_Driver::floor(int coord) that is used by both the Windows and X11 platforms.
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver.ManoloFLTK
2021-03-01Remove warnings about hidden virtual member functions.ManoloFLTK
2021-02-27Rename fl_remove_scale() to fl_override_scale() as discussed in fltk.generalManoloFLTK
Re: Can custom box type functions handle their own high-DPI screen scaling?
2021-02-25Add fl_remove_scale()/fl_restore_scale() to transiently draw without scaling ↵ManoloFLTK
factor. This new API is a response to this message in fltk.general : Can custom box type functions handle their own high-DPI screen scaling?
2021-02-24Improve precision of GUI scaling for Windows platform.ManoloFLTK
2021-02-16Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxxManoloFLTK
2021-02-16Use <config.h> when appropriate.ManoloFLTK
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2020-12-02Improve Fl_Graphics_Driver::cache_size() when GUI is scaled.ManoloFLTK
The change lets this function enlarge the size only when strictly necessary for image tiling.
2020-11-30Scaling for Windows and X11: support rectangular loops.ManoloFLTK
2020-11-19Rename private member function with trailing underscore.ManoloFLTK
2020-11-17Replace virtual Fl_RGB_Image::cache_size() by virtual Fl_Image::cache_size()ManoloFLTK
2020-11-12Fix for issue #155 - continuedManoloFLTK
Restores proper separation of what is in libfltk and what is in libfltk_images