Change alignement mode in a process

Started by blabla, September 29, 2014, 09:54:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blabla

Hello,
I've read all the wiki but i've still no idea on how to change the alignement mode of a graph.
For example , a process like this would have its coordinates centered.

process pile_cadavre(x,y)
begin
    file = fpg1;
    graph = 1;
    x = 0;
    y = 0;
    z = -1;

    loop

        frame;
    end
END

I want to change its alignement to top left, how can i do it ?
Thanks

handsource-dyko

You can do this by changing the controlpoint of the graph. A graph can have 999 user-defined controlpoints. The center of the graph is always controlpoint 0. You can change it with the http://wiki.bennugd.org/index.php?title=Center_set command in the mod_map library.

blabla

Thanks , center_set is what i was looking for.
Would be great to see the ailgnement mode as a local variable in BennuGD 2. (like angle , graph , a etc...)