Questions about Rome

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Questions about Rome

Alexandre Bergel
Hi!

I am currently studying Rome to see whether I can make Mondrian use it.
I have few questions:

   - Why a RomeCanvas is not polymorphic to a Canvas? E.g., why the  
drawRectangle: ?  
Canvas>>frameAndFillRectangle:fillColor:borderWidth:borderColor: is  
not enough? I am trying to understand the design and rational of Rome

   - Can I embed a RomeCanvas within a system window? WorldState has  
an instance variable 'canvas', which is the instance of a FormCanvas.  
This canvas is passed along down to the drawOn: method used to draw a  
morph on the screen. Is this mechanism need to be modified?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project