Kasper, "Canvas" is a good name, and is (IMHO at least) exactly what want, on a bitmap, aka a Form. Look at Form class>>dotOfSize: for an example of drawing. #getCanvas produces what you want. My default image is littered with messages called #show, such as Form>>show | shell | shell := StandardWindow new. shell addMorph:( shell newImage:self ) fullFrame:(LayoutFrame fractions:(0@0 corner: 1@1)). shell openInWorld. With the above compiled in Form, you can use ( ColorForm dotOfSize:50 ) show. (note the use of ColorForm vs. Form) to display the dot in a window. Also, check out Painter (Archetype Polymorph Application) in http://book.pharo-project.org/book. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of KasperOsterbye [kasper@itu.dk] Sent: Tuesday, December 13, 2011 11:59 AM To: pharo-project@lists.gforge.inria.fr Subject: [Pharo-project] Old smalltalker is slightly lost 15 years ago I did a lot in Smalltalk, and have done some recreational meta programming along the way. However, I now wanted to do something where I was in need of drawing a diagram with x and y axes on what I presume might be called a Canvas. I lack a simple tutorial to get me started. I have looked at many, but they seem to presume I want to draw on the world "openInWorld". I should like not to scatter my world with line fragments and points, but keep it inside a "normal" window with borders, a background color (i.e. not a see through window). I have gone dead in two approaches. First attempt is to use a SystemWindow, and then draw on the canvas I presume is there somewhere. I have just not been able to figure out how to find the canvas of that SystemWindow, nor what method presumeable does the painting. Second attempt is to use a SystemWindow, and then add (addMorph:) line and circle morphs for my diagram. But it seems something is missing in my understanding there as well. While it is fun that I can open circles and other stuff in "world", it is not what I need. Small hits or direct solutions more than welcome. -- Kasper -- View this message in context: http://forum.world.st/Old-smalltalker-is-slightly-lost-tp4191137p4191137.htm... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.