FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
Go to file
ManoloFLTK 00884f28e2 Fix for issue [Cairo]: Arrows have a "gap" (#561)
The problem to fix is that the arrow drawn by draw_arrow1() in src/fl_symbols.cxx
displays a faint clear line between the stem and head of the arrow with the Cairo
graphics driver.

This occurs because draw_arrow1() draws the arrow in 2 steps (a rectangle +
a triangle) and the Cairo driver is configured to use antialiasing when filling
polygons. The antialiasing produces the faint line between stem and head.

Why does draw_arrow1() draw a rectangle + a triangle rather than a
7-vertex polygon? That's because the X11 graphics driver fails with its polygon-
drawing function when the polygon is also rotated: the polygon is drawn
empty.

We want to keep using antialiasing under Cairo for polygons because
the result is better with non horizontal/vertical polygon edges.

This implementation changes function draw_arrow1() which draws
the arrow as a 7-vertex filled polygon except when the graphics driver
returns false for its virtual member function can_fill_non_convex_polygon().
In that situation, draw_arrow1() draws, as before, a rectangle + a triangle.
The new, virtual member function can_fill_non_convex_polygon() returns
true except for the X11 graphics driver. Therefore, draw_arrow1() is effectively
unchanged under the X11 driver.
2022-11-29 12:28:31 +01:00
.github Fix GitHub Actions (CI) for Windows builds 2022-11-25 17:24:18 +01:00
cairo Fix whitespace errors and dependencies 2022-11-16 21:10:14 +01:00
CMake CMake build for Wayland: check for presence of required GL-related software 2022-11-24 09:08:46 +01:00
documentation macOS+OpenGL3: remove "warning: gl.h and gl3.h are both included" 2022-11-27 08:06:33 +01:00
examples CMake: fix building examples w/o test programs 2022-11-19 11:55:45 +01:00
FL Fix for issue [Cairo]: Arrows have a "gap" (#561) 2022-11-29 12:28:31 +01:00
fluid Fix -o and -h command line arg handling 2022-11-29 00:05:00 +01:00
GL
jpeg
lib Improve documentation about library build folders and more 2021-10-04 14:42:32 +02:00
libdecor Don't build libdecor demos, add generated files to .gitignore 2022-11-23 13:33:52 +01:00
misc
nanosvg
png
public
src Fix for issue [Cairo]: Arrows have a "gap" (#561) 2022-11-29 12:28:31 +01:00
test Add i18n to test/preferences (#555) 2022-11-25 16:58:50 +01:00
util
zlib
.clang-format
.gitattributes
.gitignore Don't build libdecor demos, add generated files to .gitignore 2022-11-23 13:33:52 +01:00
.gitlab-ci.yml
ANNOUNCEMENT
autogen.sh
CHANGES_1.0.txt
CHANGES_1.1.txt
CHANGES_1.3.txt
CHANGES.txt Have OPTION_USE_WAYLAND / --enable-wayland set to ON by default 2022-11-23 06:17:31 +01:00
CMakeLists.txt CMake: fix informative messages sent under macOS 2022-11-18 10:55:14 +01:00
config.guess
config.sub
configh.cmake.in
configh.in
configure.ac fltk-config from configure: remove libdecor-related flags - cont'd 2022-11-27 10:19:15 +01:00
COPYING
CREDITS.txt
DartConfig.cmake
fl_config.cmake.in
fl_config.in Make hybrid Wayland/X11 platform. 2022-08-29 12:15:32 +02:00
fltk_version.dat
fltk-config.in
fltk.list.in Refactor macOS bundle generation to avoid "quarantine" 2021-05-13 16:18:13 +02:00
fltk.spec.in
fltk.xpm
forms.h
install-sh
mac_endianness.h
Makefile
makeinclude.in
makesrcdist
README.abi-version.txt
README.bundled-libs.txt
README.Cairo.txt
README.CMake.txt Have OPTION_USE_WAYLAND / --enable-wayland set to ON by default 2022-11-23 06:17:31 +01:00
README.experimental.txt
README.IDE.txt
README.macOS.md update README.macOS.md (Creating new Projects) 2022-04-14 13:05:33 +02:00
README.md
README.txt
README.Unix.txt Fix a typo in README.Unix.txt 2022-10-21 19:11:19 +02:00
README.Wayland.txt README.Wayland.txt: list required packages besides those in README.Unix.txt 2022-11-24 12:14:30 +01:00
README.Windows.txt

README - Fast Light Tool Kit (FLTK) Version 1.4.0

WHAT IS FLTK?

The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a
cross-platform C++ GUI toolkit for UNIX®/Linux® (X11 or
Wayland), Microsoft® Windows®, and macOS®.
FLTK provides modern GUI functionality without the bloat and
supports 3D graphics via OpenGL® and its built-in GLUT
emulation. It was originally developed by Mr. Bill Spitzak
and is currently maintained by a small group of developers
across the world with a central repository on GitHub.

For more information see README.txt:
https://github.com/fltk/fltk/blob/master/README.txt

Build