Pierre: what is the syntax for the "path" method, and what does it do?
The wrapper offers a layer structure called *t_elayer *that owns a set of points. First we create a layer for a t_ebox (GUI object) : ebox_start_layer http://cicm.github.io/CicmWrapper/a00006.html#ga7c384db44fdd8ca5cc9d70db7bb15926 (t_ebox http://cicm.github.io/CicmWrapper/a00006.html#a00039 *x, t_symbol http://cicm.github.io/CicmWrapper/a00003.html#a00063 *name, float width, float height)
To create a path, you can use several functions : egraphics_move_to http://cicm.github.io/CicmWrapper/a00008.html#ga256b717f8eeea9cc755374b8a60cd293 (t_elayer http://cicm.github.io/CicmWrapper/a00008.html#a00047 *g, float x, float y), egraphics_line_to http://cicm.github.io/CicmWrapper/a00008.html#gae7850b71992b31e3a6d51225898837ae (t_elayer http://cicm.github.io/CicmWrapper/a00008.html#a00047 *g, float x, float y), egraphics_curve_to http://cicm.github.io/CicmWrapper/a00008.html#ga61413d3f1e047843c061123564341809 (t_elayer http://cicm.github.io/CicmWrapper/a00008.html#a00047 *g, float ctrl1x, float ctrl1y, float ctrl2x, float ctrl2y, float endx, float endy), ect... The functions append points to the t_elayer.
Before drawing all the paths, we apply the matrix transformations and mark the layer ready to be drawn : ebox_end_layer http://cicm.github.io/CicmWrapper/a00006.html#gafbd3037b1afe3939912b1b5cff96a5bd (t_ebox http://cicm.github.io/CicmWrapper/a00006.html#a00039 *x, t_symbol http://cicm.github.io/CicmWrapper/a00003.html#a00063 *name)
Then we paint the layer : ebox_paint_layer http://cicm.github.io/CicmWrapper/a00006.html#ga4c40a6ef105573223e9d9cbb515c9db1 (t_ebox http://cicm.github.io/CicmWrapper/a00006.html#a00039 *x, t_symbol http://cicm.github.io/CicmWrapper/a00003.html#a00063 *name, float x_p, float y_p)
if something has changed (an attribute or whatever you want) and we need to repaint a layer, we invalidate the layer with : ebox_invalidate_layer http://cicm.github.io/CicmWrapper/a00006.html#ga4e3b81f831ab7cf2730daae51405c715 (t_ebox http://cicm.github.io/CicmWrapper/a00006.html#a00039 *x, t_symbol http://cicm.github.io/CicmWrapper/a00003.html#a00063 *name)
Graphical part of the wrapper : http://cicm.github.io/CicmWrapper/a00008.html Gui box part f the wrapper : http://cicm.github.io/CicmWrapper/a00006.html