Re: [Pharo-dev] Convert to Athens

2013-12-04 Thread J.F. Rick
I'm facing some problems with AthensWrapMorph. Basically, when I add a morph, I can't change its position. It just stays in the top left. Whatever I try to do to change its position (self position: 100@100) does not work. Cheers, Jeff On Wed, Nov 20, 2013 at 5:04 PM, J.F. Rick s...@je77.com

Re: [Pharo-dev] Convert to Athens

2013-12-04 Thread J.F. Rick
Here's a piece of code to demonstrate the problem: AthensWrapMorph new extent: 300@300; addMorph: (Morph new position: 100@100; extent: 100@100; yourself); openInWorld. I think this should draw a blue square at 100@100. Instead, it draws a blue square at 0@0. What am I doing wrong? Cheers,

Re: [Pharo-dev] Convert to Athens

2013-12-04 Thread Igor Stasenko
On 20 November 2013 17:04, J.F. Rick s...@je77.com wrote: Thanks. It works. I already have found a few bugs and one thing I don't understand. (1) A few Paint things seem to implement athensFillRectangle:on: and athensFillPath:on: rather than fillRectangle:on: and fillPath:on:. It seems like

Re: [Pharo-dev] Convert to Athens

2013-12-04 Thread J.F. Rick
I've updated to the latest of Athens and I still get this bug, except now the square appears at 0@1. Cheers, Jeff On Wed, Dec 4, 2013 at 6:35 PM, J.F. Rick s...@je77.com wrote: Here's a piece of code to demonstrate the problem: AthensWrapMorph new extent: 300@300; addMorph: (Morph new

Re: [Pharo-dev] Convert to Athens

2013-11-15 Thread Igor Stasenko
On 14 November 2013 19:47, Stéphane Ducasse stephane.duca...@inria.frwrote: Hi jeff We should rewrite the drawnOn: method as drawAthensOn: and we should simplify the logic because often it is well… terrible. Now have a look at the way the tutorial Morph is done SceneView something because

Re: [Pharo-dev] Convert to Athens

2013-11-15 Thread Hilaire Fernandes
Le 15/11/2013 14:17, Igor Stasenko a écrit : for transition , i implemented a special morph, AthensWrapMorph which wraps (as its name says) its children morphs and forces them to be rendered by athens (the child morphs will never receive #drawOn: but #drawOnAthensCanvas: instead ). I

[Pharo-dev] Convert to Athens

2013-11-14 Thread J.F. Rick
Hi, I want to start using Athens for rendering. How do I get started? I've gone ahead and upgraded to the latest Pharo 3.0 and taken a look at the example classes. While that gives me some ideas about what the Athens canvas is capable of (impressive), I have an existing Morphic application that

Re: [Pharo-dev] Convert to Athens

2013-11-14 Thread kilon alios
Hello Athens is a vector graphics library, its not a GUI API. Athens will not give you buttons, menus, drop down lists and GUI elements. It will give you however the means to draw all those things and much more. I am actually making an Athens driven application myself , called Hyperion , a

Re: [Pharo-dev] Convert to Athens

2013-11-14 Thread Stéphane Ducasse
Hi jeff We should rewrite the drawnOn: method as drawAthensOn: and we should simplify the logic because often it is well… terrible. Now have a look at the way the tutorial Morph is done SceneView something because it shows the logic. I know that there is a morph to render morph in athens. Stef