[Pharo-users] How to draw a Morph with Athens?

2014-03-28 Thread MartinW
At the moment i draw Morphs with Athens by copying how it is done in AthensDemoMorph: - adding a surface variable, - initializing an AthensCairoSurface, - getting an athens canvas by calling: surface drawDuring: [:canvas | ] - … Is there already a more straightforward possibility in the meantime?

Re: [Pharo-users] How to draw a Morph with Athens?

2014-03-28 Thread Igor Stasenko
u you u no draw morphs by athens :) - use AthensWrapMorph. put as many submorphs into it, and they all will be drawn via Athens. eventually, the need in wrap morph will disappear once WorldMorph (the root of all morphs) start using Athens directly. On 28 March 2014 18:53, MartinW wrote: > At

Re: [Pharo-users] How to draw a Morph with Athens?

2014-03-30 Thread MartinW
Igor Stasenko wrote > u you u no draw morphs by athens :) > > - use AthensWrapMorph. > put as many submorphs into it, and they all will be drawn via Athens. > eventually, the need in wrap morph will disappear once WorldMorph (the > root > of all morphs) start using Athens directly. Ok, thank you,

Re: [Pharo-users] How to draw a Morph with Athens?

2014-03-30 Thread Pharo4Stef
On 30 Mar 2014, at 17:34, MartinW wrote: > Igor Stasenko wrote >> u you u no draw morphs by athens :) >> >> - use AthensWrapMorph. >> put as many submorphs into it, and they all will be drawn via Athens. >> eventually, the need in wrap morph will disappear once WorldMorph (the >> root >> of all