summaryrefslogtreecommitdiff
path: root/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
AgeCommit message (Collapse)Author
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-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-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-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-01Fix regression introduced with d9a6ec8 visible in test/scroll.ManoloFLTK
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-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
2022-03-06Complete class Fl_Cairo_Graphics_Driver using Fl_Wayland_Graphics_DriverManoloFLTK
2021-12-02PostScript output: initialise member variables in Fl_Cairo_Graphics_Driver ↵ManoloFLTK
constructor. Also, remove inadequate Fl_Surface_Device::push_current(this) call in Fl_Posix_Printer_Driver::begin_job().
2021-11-14Fix "failed to build with pango libarary" (issue #291)Albrecht Schlosser
The error was reported for "centos 6 with devtoolset-6 installed which contains gcc (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3)". The fix includes the missing header files *and* makes sure that the correct conversions (to size_t) take place as in src/drivers/PostScript/Fl_PostScript_image.cxx.
2021-04-14Fix Fl_Cairo_Graphics_Driver::rect and Fl_Cairo_Graphics_Driver::rectfManoloFLTK
2021-03-15Fix Linux build with --enable-pangoAlbrecht Schlosser
2021-03-15Create class Fl_Cairo_Graphics_Driver.ManoloFLTK
That class is extracted from inside Fl_PostScript_Graphics_Driver and might become handy in the future.