This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Renderer

This is an idea that is roughly based on a suggestion by Lieven van der Heide.

Instead of having a small and fixed set of drawing functions, we could have a string based system. This has the advantage that applications can register rendering functions (and default implementations) if they need them.

To be able to pass arbitrary data to the renderer, we would need a dynamic list of (string based) parameters. Each of these parameters would need to be wrapped into a GValue and passed with a list, array or hash table table to the function. The alternative is to have generic string based getter function for values like these.

Examples/Problems:

It is possible to do this in an API/ABI compatible way. The general idea would be to at some point fall back to one of these renders old drawing functions (or something hardcoded).


2024-10-23 11:37