Hi nicolai
should we include your change in Pharo4.0?
Stef
Le 8/1/15 12:27, Nicolai Hess a écrit :
A new Version of the AthensWrapWorldMorph (useful for testing Athens based
drawing for morphs). And some changes for using Athens with the existing
Morphs:
Many things are working, some important not.
I had some terrible, terrible hours fighting with clipping,
MorphTransformation and Textrendering.
MorphTreeTransform still doesn't work.
Textrendering:
I solved by using some of
AthensText-classes. Those aren't fully working.
Tabs or similiar control characters don't work.
Text emphasis doesn't work.
Different fonts and different colors in one TextMorph is working now!
And I still don't know if this is the right way and I did not get any
review/feedback on this (issue 13449).
(In the meantime we have similiar TxTextModel based classes in the image,
maybe I am wasting my time).
I had to make one change for creating a pattern paint
from a form: AthensCairoSurface>>#fromForm:
I am not sure about this change, but image fillstyle with 1 pixel
height didn't work,
but now they do (for example, change to vistary or watery theme, they
make some heavy use on fillstyles, and it works now with athens).
athens_wrap_world.cs is a new AthensWrapWorldMorph for testing
Athens rendering, every Morph put on this WrapWorld will be drawn
by athens.
athens_morphic_support.cs and athens_morphic_textsupports.cs
add/fix athens related methods.
athens_morphic_drawonathens.cs defines some more drawOnAthensCanvas:
methods.