Dec. 16, 2011
1:52 p.m.
On 16.12.2011 10:31, Schwab,Wilhelm K wrote:
Kasper,
With all due respect to nearly everyone else here, and in other groups, (IMNSHO on this point), do not start with a morph. Draw on a bitmap/Form, and then display the result. It does wonders for allowing/forcing you to think about resolutions, resulting in code that has a chance of being reused on non-display devices (Windows has an advantage on that front - as much as I hate to admit they got something right<g>).
myExtent := 200@100. myForm := Form extent: myExtent depth: 32. formCanvas := myForm getCanvas. myMorph origin: 0@0 extent: myExtent. myMorph drawOn: formCanvas. myForm asMorph displayInWorld. Cheers, Henry