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> 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 it should be the latter rather than the former. I changed the names > and the evil rectangle of doom disappeared. > > (2) Using the AthenWrapMorph, it seems that the bottom row of pixels is > not rendered or clipped. I can stop this phenomenon by changing the > createSurface method to have the extent be 0@1 bigger. While that works, > it seems like there's a bug somewhere in AthensCairoSurface. > > (3) I ended up changing a morph so that it should render differently. In > standard Pharo, I just use "self changed" and it updates. Is there an > equivalent in Athens? Do I have to explicitly tell Athens to rerender it? > If so, how? I tried "self render" but that did not seem to help. > > Cheers, > > Jeff > > > On Wed, Nov 20, 2013 at 11:08 AM, Igor Stasenko <siguc...@gmail.com>wrote: > >> http://www.smalltalkhub.com/#!/~Pharo/Athens >> >> >> On 20 November 2013 09:04, J.F. Rick <s...@je77.com> wrote: >> >>> Right. Where is this Athens repository? I have the latest in >>> Pharo30/main (Athens-Morphic-MarcusDenker.23.mcz) and that does not seem to >>> include AthensWrapperMorph. >>> >>> Cheers, >>> >>> Jeff >>> >>> >>> On Wed, Nov 20, 2013 at 8:35 AM, Igor Stasenko <siguc...@gmail.com>wrote: >>> >>>> >>>> >>>> >>>> On 19 November 2013 17:42, J.F. Rick <s...@je77.com> wrote: >>>> >>>>> Indeed. I would like to know that. It doesn't seem to be included in >>>>> the latest Pharo 3.0. >>>>> >>>>> >>>> it could be not yet included. >>>> in that case, load most recent Athens-Morphic package from athens >>>> repository. >>>> >>>> >>>> >>>>> Cheers, >>>>> >>>>> Jeff >>>>> >>>>> >>>>> On Fri, Nov 15, 2013 at 7:34 PM, Hilaire Fernandes < >>>>> hilaire.fernan...@gmail.com> wrote: >>>>> >>>>>> 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 guess Jeff, may want to know where to find this wrapper. >>>>>> >>>>>> Hilaire >>>>>> >>>>>> >>>>>> -- >>>>>> Dr. Geo http://drgeo.eu >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Jochen "Jeff" Rick, Ph.D. >>>>> http://www.je77.com/ >>>>> Skype ID: jochenrick >>>>> >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> Igor Stasenko. >>>> >>> >>> >>> >>> -- >>> Jochen "Jeff" Rick, Ph.D. >>> http://www.je77.com/ >>> Skype ID: jochenrick >>> >> >> >> >> -- >> Best regards, >> Igor Stasenko. >> > > > > -- > Jochen "Jeff" Rick, Ph.D. > http://www.je77.com/ > Skype ID: jochenrick > -- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick