summaryrefslogtreecommitdiff
path: root/src/drivers/Cairo
AgeCommit message (Collapse)Author
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
2022-03-06Complete class Fl_Cairo_Graphics_Driver using Fl_Wayland_Graphics_DriverManoloFLTK
2021-12-09Remove compiler warnings about unused parameters (issue #307) - cont'dManoloFLTK
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-08-27Remove compiler warnings '-Wextra-semi' (see also PR #266)Albrecht Schlosser
I compiled with `-Wextra-semi -Werror=extra-semi` on Linux and Windows (cross-compiled on Linux) and removed all "extra semicolon" warnings I could find. I didn't check on macOS (yet). Note: Linux configured with and w/o Pango but not w/o Xft. Compilation with other options (e.g. Cairo) might still emit such warnings.
2021-04-14Fix Fl_Cairo_Graphics_Driver::rect and Fl_Cairo_Graphics_Driver::rectfManoloFLTK
2021-03-27Add guard against multiple inclusion of header file.ManoloFLTK
2021-03-26Remove X11-specific code from platform-independent Fl_PostScript.cxxManoloFLTK
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.