summaryrefslogtreecommitdiff
path: root/src/drivers/Cairo
AgeCommit message (Collapse)Author
2022-10-30Wayland platform: fix problem with fl_pie() (#512 - cont'd)ManoloFLTK
2022-10-24Include stdint.h may be needed for uint32_t (#522)ManoloFLTK
2022-10-12Wayland platform: fix for issue #512 with fl_arc().ManoloFLTK
2022-10-10Remove duplications between Fl_Graphics_Driver and derived classes.ManoloFLTK
2022-10-10 Fl_Cairo_Graphics_Driver: fix Fl_Bitmap drawing whatever the endianness.ManoloFLTK
2022-10-10Fix for issue #511: allow fl_circle() even without calls to ↵ManoloFLTK
fl_begin/end_loop/polygon().
2022-10-09Fl_Cairo_Graphics_Driver: make image drawing correct whatever the host ↵ManoloFLTK
endianness.
2022-10-09Fix issue #510: image transparency is not properly processed.ManoloFLTK
2022-10-05Fix issue #509: Cairo drawing: unexpected behaviourManoloFLTK
This commit fixes " "drawing an fl_pie() with dimension 1x1". But it does not change "drawing fl_line() with begin position = end position does not show" because the same behaviour is observed with Windows and macOS.
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-09-15Make Fl::set_color(r,g,b,a) effective under Wayland and macOS.ManoloFLTK
2022-09-09New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform.ManoloFLTK
2022-09-08Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived.ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-18Add a few missing virtual members to Fl_Cairo_Graphics_Driver.ManoloFLTK
2022-08-12Add virtual Fl_Cairo_Graphics_Driver::cache_size() member function.ManoloFLTK
2022-07-24Add Pango version check for Fl_PostScript_Graphics_DriverManoloFLTK
2022-07-21Fl_Cairo_Graphics_Driver: simpler handling of font size.ManoloFLTK
2022-07-20Change prototype of virtual Fl_Graphics_Driver::pango_font_description().ManoloFLTK
2022-07-18Fl_Cairo_Graphics_Driver: simpler way to construct the PangoLayout object.ManoloFLTK
2022-07-11Add explanatory comments about text handling by Fl_Cairo_Graphics_Driver.ManoloFLTK
2022-07-06Move member q_width from class Fl_Font_Descriptor to Fl_Quartz_Font_Descriptor.ManoloFLTK
That's because this member is used only in Fl_Quartz_Font_Descriptor.
2022-07-06Fl_Cairo_Graphics_Driver: fix issues in string width computations when ↵ManoloFLTK
scaling applies. The implemented approach is to create and use the pango_layout_ object only relatively to an unscaled cairo context. With this, the pixel width of a drawn string equals the sum of the widths of its characters.
2022-06-12New member Fl_Cairo_Graphics_Driver::bitmap_to_pattern() to avoid code ↵ManoloFLTK
duplication.
2022-06-04Fix for issue #447: dotted focus rectangles are a little "ragged" with some ↵ManoloFLTK
scales.
2022-05-27Fl_Cairo_Graphics_Driver: fix GUI rescaling.ManoloFLTK
The solution to avoid blurred graphics when the GUI is scaled is to turn off cairo antialiasing when drawing horizontal and vertical lines and rectangles.
2022-05-25Improve rectf() and push_clip() under cairo and GUI scaling.ManoloFLTK
2022-05-05Approximate result of pango_font_metrics_get_height() for Pango < 1.44ManoloFLTK
2022-05-05Fl_Cairo_Graphics_Driver: simpler code with early calls to ↵ManoloFLTK
cairo_surface_destroy(). Add also replacement for pango_font_metrics_get_height() which requires Pango 1.44
2022-05-04Cairo: reduce vertical offset for text position needed by Fl_Text_Display.ManoloFLTK
2022-05-02 Issue #438 : Wayland: Text drawing different from Xft version - cont'd.ManoloFLTK
2022-05-02Set line height as computed by Pango.ManoloFLTK
2022-05-02Keep the PangoLayout member private in class Fl_Cairo_Graphics_Driver.ManoloFLTK
2022-05-01Issue #438 : Wayland: Text drawing different from Xft version - cont'd.ManoloFLTK
2022-04-30 Fix for issue #438 : Wayland: Text drawing different from Xft version - cont'd.ManoloFLTK
2022-04-29Add explanatory comments about text size and vertical position.ManoloFLTK
2022-04-29 Fix for issue #438 : Wayland: Textdrawing different from Xft version.ManoloFLTK
2022-04-25Create member function Fl_Cairo_Graphics_Driver::set_cairo().ManoloFLTK
2022-04-23Create Fl_Cairo_Graphics_Driver::handle_dummy_cairo(cairo_t *cr).ManoloFLTK
2022-04-01Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2022-04-01Fix regression introduced with d9a6ec8 visible in test/scroll.ManoloFLTK
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-31Add support of Fl_Region to the Cairo graphics driverManoloFLTK
and remove it from the Wayland graphics driver.
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-21Fix silly MSVC 2010 parser warningsAlbrecht Schlosser
Code like "void copy(const char */*stuff*/, ...)" would issue the warning "'*/' seen outside comment" which is formally true but ... These warnings don't appear with newer MS compilers, but I fixed them anyway.
2022-03-14Move initialisation of X11 and Wayland built-in font names to ↵ManoloFLTK
fl_???_platform_init.cxx
2022-03-10Restore building for X11 platform + Pango (issue #405).ManoloFLTK
2022-03-09Move all font stuff to Fl_Cairo_Graphics_Driver from Fl_Wayland_Graphics_Driver.ManoloFLTK
2022-03-08Some reformatting and fix else reach in ↵ManoloFLTK
Fl_Cairo_Graphics_Driver::transformed_vertex.
2022-03-07Add missing member initialisation in Fl_Cairo_Graphics_Driver constructor.ManoloFLTK