[Pharo-project] How Moprhs is rendered
To optimise the DrGeo canvas (get it faster), I try to understand in detail how is done the rendering of Morphs embedded in a pasteupmorph. I did not find any detailed information on the Internet about that. Any pointer? Right now, DrGeo canvas is a pasteUpMorph, the line, segment, point, circle, etc. are all Morph added in the pasteUpMoprh. When the model of a geometry sketch is updated, then all the Morphs view are updated in one shot (it appeared to be faster than to climb the model tree to update only the morphs needing update) Hilaire -- Education 0.2 -- http://blog.ofset.org/hilaire
On Jul 19, 2011, at 12:46 PM, Hilaire Fernandes wrote:
To optimise the DrGeo canvas (get it faster), I try to understand in detail how is done the rendering of Morphs embedded in a pasteupmorph. I did not find any detailed information on the Internet about that. Any pointer?
not that I know but I would be interested too.
Right now, DrGeo canvas is a pasteUpMorph, the line, segment, point, circle, etc. are all Morph added in the pasteUpMoprh. When the model of a geometry sketch is updated, then all the Morphs view are updated in one shot (it appeared to be faster than to climb the model tree to update only the morphs needing update)
Hilaire
-- Education 0.2 -- http://blog.ofset.org/hilaire
participants (2)
-
Hilaire Fernandes -
Stéphane Ducasse