[squeak-dev] How Moprhs is rendered

Hilaire Fernandes hilaire.fernandes at edu.ge.ch
Tue Jul 19 10:46:55 UTC 2011


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




More information about the Squeak-dev mailing list