2015-03-06 20:50 GMT+01:00 phil@highoctane.be <phil@highoctane.be>:
Super!
Can't wait to have SDL drawn thingies :-)
I have it loaded on a 3.0 on Windows 8.1 and some examples give me the red crossed square. This has to do with fonts even if the FT fonts are enabled in the settings.
A reason why?
Ah, yes, I use TextStyle defaultFont, this is a FT font in Pharo4, but a StrikeFont in Pharo3 and Athens text drawing does not work in Pharo3 with a StrikeFont
Phil
On Fri, Mar 6, 2015 at 6:22 PM, Juraj Kubelka <juraj.kubelka@gmail.com> wrote:
This is great work! Thanks!
Juraj
6. 3. 2015 v 6:14, Nicolai Hess <nicolaihess@web.de>:
The main purpose of this packages is to ease the creation of simple drawings and provide a rich set of examples for Athens drawing API.
-------------- Gofer new smalltalkhubUser: 'NicolaiHess' project: 'AthensSketch'; configuration; load. ConfigurationOfAthensSketch loadDevelopment.
AthensSketchBrowser open.
-----------------
This is a simple playground for Athens drawings. Just subclass AthensSketch and define your own sketch drawing in the #drawStepOn: method. It provides basic frame based animation (play/pause/stop).
Open a player with ASketchExampleColors openPlayer', or a simple viewer morph with ASketchExampleColors openView (start and stop rendering from the morph menu)
The AthensSketchBrowser lists all defined AthensSketch subclasses. (Basic examples from package AthensSketch and some more examples from package ASketchExamples). You can step through the list of examples, start and stop the drawing, or view and edit the drawing code.
It is great that we have now a vector based drawing API. The (old) Canvas API is already great for pixel based drawings. A rich API and many good things if you discover it. And Athens is a addition that can increase our possibilities.
There were some questions about Athens, what it is and what it is used for, maybe this helps.
nicolai