| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
That's because this member is used only in Fl_Quartz_Font_Descriptor.
|
|
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.
|
|
duplication.
|
|
scales.
|
|
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.
|
|
|
|
|
|
cairo_surface_destroy().
Add also replacement for pango_font_metrics_get_height() which requires Pango 1.44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and remove it from the Wayland graphics driver.
|
|
|
|
fl_???_platform_init.cxx
|
|
|
|
|
|
Fl_Cairo_Graphics_Driver::transformed_vertex.
|
|
|
|
|
|
constructor.
Also, remove inadequate Fl_Surface_Device::push_current(this) call in Fl_Posix_Printer_Driver::begin_job().
|
|
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.
|
|
|
|
|
|
That class is extracted from inside Fl_PostScript_Graphics_Driver and might
become handy in the future.
|