gtk/docs/reference
Benjamin Otte 1137483d15 snapshot: Work on pushing and popping again
It is now possible to call push() subfunctions for simple container
nodes with just a single child. So you can for example
gtk_snapshot_push_clip() a clip region that all the nodes that get
appended later will then obey.

gtk_snapshot_pop() will then not return a container node, but a clip
node containing the container node (and similar for the transform
example).

This is implemented internally by providing a "collect function" when
pushing that is called when popping to collects all the accumulated
nodes and combine them into the single node that gets returned.

To simplify things even more, gtk_snapshot_pop_and_append() has been
added, which pops the currently pushed node and appends it to the
parent.

The icon rendering code has been converted to this approach.
2016-12-20 18:01:10 +01:00
..
gdk gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gsk gsk: Add gsk_clip_node_new() 2016-12-20 18:01:10 +01:00
gtk snapshot: Work on pushing and popping again 2016-12-20 18:01:10 +01:00
Makefile.am gsk: Build docs 2016-10-18 11:49:13 +01:00