|
|
Sorry, I missed something and pushed "Send" too early.
On 3/21/23 20:20 Albrecht Schlosser wrote:
The current status is that I have completed support to draw in windows
and widgets, roughly equivalent to our current Cairo support. Users
can use Cairo drawing in their own subclasses of windows and widgets
using stock FLTK libraries.
I also implemented a new Fl_Cairo2_Window class which works similar to
Fl_Cairo_Window.
The entire implementation is in the header files, hence it works like an
additional "single header library" and doesn't make FLTK itself depend
on Cairo.
I don't want to bother you with too many details, ...
A note to the implementation: since the FLTK library can be a stock
FLTK build w/o direct Cairo support [...]
... users are responsible for building their programs with Cairo, i.e.
users need to find Cairo headers and libs themselves. An exception is
Linux, particularly the Wayland build, where Cairo is included anyway.
I started working on a demo (CMake) project to show users how to build
their programs using the new Cairo features with a stock FLTK library -
it should even work with FLTK 1.3 if they only add the new Fl_Cairo2*
header files. However, this project is work in progress and not yet
included in my branch.
Therefore, building the demo programs with Cairo may be a small
challenge on some systems, particularly on macOS where several different
Cairo libs can be installed.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/2d19a431-d292-2bca-ba71-39253b469390%40online.de.
[ Direct Link to Message ] | |
|
| |