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
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,
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
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
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
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
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
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
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