Hi Cyrille,
The canvas is defined in MOCanvas. This canvas is embedded in MOBrowser and MOEasel, which in their turn create a StandardWindow that holds the MOCanvas.
Just to inform the others, Cyrille is experimenting with adding the Athens canvas (which provides an abstraction over Cairo, Balloon and possibly others) behind Mondrian.
Cheers, Doru
On 15 Jun 2010, at 11:42, Cyrille Delaunay wrote:
Hello,
I have been looking a bit for the place where we set the canvas to use in Mondrian, but I didn't find. I know that all shapes are drawn on a FormCanvas, but there is no references to FormCanvas in mondrian classes. I just saw that there is a 'defaultCanvasClass' method in the class Form for example, so maybe such a method is use somewhere in the code. Does somoene know the way to set a new Canvas to Mondrian ?
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."