Athens: issue with clipping and/or path drawing
Dear All, The border is not well rendered when a submorph is partly outside the bounds of the AthensWrapMorph. The AthensWrapMorph is set to clip its submorphs. See the two small screenshots with an ellipse morph. Is it a known issue or am I doing something wrong ? | a e | a := AthensWrapMorph new clipSubmorphs: true. e := EllipseMorph new. e position: 100@100. a addMorph: e. a openInWorld Thanks Alain
2014-10-13 8:53 GMT+02:00 Alain Plantec <alain.plantec@yahoo.com>:
Dear All, The border is not well rendered when a submorph is partly outside the bounds of the AthensWrapMorph. The AthensWrapMorph is set to clip its submorphs. See the two small screenshots with an ellipse morph. Is it a known issue or am I doing something wrong ?
| a e | a := AthensWrapMorph new clipSubmorphs: true. e := EllipseMorph new. e position: 100@100. a addMorph: e. a openInWorld
Thanks Alain
There was an issue on windows and mac os. The vm didn't use the latest cairo lib: 13364 <https://pharo.fogbugz.com/default.asp?13364> Mac OS X and Windows VM with newer Cairo Does it work for you with the latest pharo-vm? Nicolai
Thanks Nicolai! it works with the last vm. Thanks a lot. Cheers Alain On 13 oct. 2014, at 09:05, Nicolai Hess <nicolaihess@web.de> wrote:
2014-10-13 8:53 GMT+02:00 Alain Plantec <alain.plantec@yahoo.com>: Dear All, The border is not well rendered when a submorph is partly outside the bounds of the AthensWrapMorph. The AthensWrapMorph is set to clip its submorphs. See the two small screenshots with an ellipse morph. Is it a known issue or am I doing something wrong ?
| a e | a := AthensWrapMorph new clipSubmorphs: true. e := EllipseMorph new. e position: 100@100. a addMorph: e. a openInWorld
Thanks Alain
<Screen Shot 2014-10-13 at 08.42.18.png><Screen Shot 2014-10-13 at 08.42.33.png>
There was an issue on windows and mac os. The vm didn't use the latest cairo lib: 13364 Mac OS X and Windows VM with newer Cairo
Does it work for you with the latest pharo-vm?
Nicolai
Yes, it is well known Cairo mis-feature :) It clips geometry , if it outside the surface. Unfortunately it doing this incorrectly. On 13 October 2014 09:05, Nicolai Hess <nicolaihess@web.de> wrote:
2014-10-13 8:53 GMT+02:00 Alain Plantec <alain.plantec@yahoo.com>:
Dear All, The border is not well rendered when a submorph is partly outside the bounds of the AthensWrapMorph. The AthensWrapMorph is set to clip its submorphs. See the two small screenshots with an ellipse morph. Is it a known issue or am I doing something wrong ?
| a e | a := AthensWrapMorph new clipSubmorphs: true. e := EllipseMorph new. e position: 100@100. a addMorph: e. a openInWorld
Thanks Alain
There was an issue on windows and mac os. The vm didn't use the latest cairo lib: 13364 <https://pharo.fogbugz.com/default.asp?13364> Mac OS X and Windows VM with newer Cairo
Does it work for you with the latest pharo-vm?
Nicolai
-- Best regards, Igor Stasenko.
participants (4)
-
Alain Plantec -
Igor Stasenko -
Nicolai Hess -
Yahoo-Plantec