April 5, 2011
10:29 a.m.
Hello, I would like to know how to rotate (given a degree or an angle) the draws in a Canvas. For example: in FormCanvas class>>test1, how to draw the string (or the rectangle, or the oval) vertically instead of horizontally? FormCanvas class>>test1 ... canvas drawString: 'Hello, World!' at: 40@40 font: nil color: (Color cyan). canvas fillRectangle: ((10@80) corner: (31@121)) color: (Color magenta). canvas fillOval: ((10@80) corner: (31@121)) color: (Color cyan). ... thanks and regards, -- Andre Hora