Re: [Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Juraj Kubelka
El 11-04-2014, a las 20:56, Igor Stasenko escribió:On 12 April 2014 01:37, Juraj Kubelka  wrote:Thank you Igor,I suspect there is no better solution. But anyway I am surprised, every simple drawing application manages ellipses.  Athens is not an applica

Re: [Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Juraj Kubelka
El 11-04-2014, a las 20:56, Igor Stasenko escribió: > > > > On 12 April 2014 01:37, Juraj Kubelka wrote: > Thank you Igor, > > I suspect there is no better solution. But anyway I am surprised, every > simple drawing application manages ellipses. > > > Athens is not an application, it i

Re: [Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Igor Stasenko
On 12 April 2014 01:37, Juraj Kubelka wrote: > Thank you Igor, > > I suspect there is no better solution. But anyway I am surprised, every > simple drawing application manages ellipses. > > Athens is not an application, it is framework. And why you think that every framework supports drawing elli

Re: [Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Juraj Kubelka
Thank you Igor, I suspect there is no better solution. But anyway I am surprised, every simple drawing application manages ellipses. Thank you anyway. Juraj El 11-04-2014, a las 17:35, Igor Stasenko escribió: > yes, you using stroke for 2nd ellipse, > but stroke width is also subject of sca

Re: [Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Igor Stasenko
yes, you using stroke for 2nd ellipse, but stroke width is also subject of scaling, that's why it has different width, because of non-uniform scaling (x/y). instead you can first, draw a filled ellipse (blue) and then draw green one over it. On 11 April 2014 21:33, Juraj Kubelka wrote: > Hi Igo

[Pharo-users] Athens and ellipse drawing

2014-04-11 Thread Juraj Kubelka
Hi Igor, hi all!I am not sure how to properly draw ellipse. Right now I draw a path like this:The path is created that way:-=-=-=-=-computePath path := self athensCanvascreatePath: [ :builder |  builder absolute; moveTo: 0 @ 0.5; ccwArcTo: 0.5 @ 0.0 angle: 90 degreesToRadians

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread kmo
Thierry - many thanks. I've got pharo theme back now. -- View this message in context: http://forum.world.st/can-we-have-the-pharo-theme-back-please-tp4753945p4754244.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Athens question: AffineTransform, AthensCairoMatrix and Float values

2014-04-11 Thread Juraj Kubelka
Thank you Igor, I understand and I agree. Just can you clarify one think. Maybe I use it wrong. Right now in Roassal2/Trachel a shape has instance variable called matrix which is an AthensAffineTransform object. And if someone calls translateBy:, or scaleBy:, etc. I call the appropriate method

Re: [Pharo-users] Athens question: AffineTransform, AthensCairoMatrix and Float values

2014-04-11 Thread Igor Stasenko
On 11 April 2014 17:41, Juraj Kubelka wrote: > Hi, > > We are integrating Athens transformation to Roassal2/Trachel and I have > reached an issue. > > In drawing code I use something like this: > -=-=-=- > athensCanvas pathTransform > restoreAfter: [ > *athensCanvas pathTransform* > *multiplyBy:

[Pharo-users] Athens question: AffineTransform, AthensCairoMatrix and Float values

2014-04-11 Thread Juraj Kubelka
Hi, We are integrating Athens transformation to Roassal2/Trachel and I have reached an issue. In drawing code I use something like this: -=-=-=- athensCanvas pathTransform restoreAfter: [ athensCanvas pathTransform

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Hilaire Fernandes
It makes sense. Hilaire Le 11/04/2014 17:28, Goubier Thierry a écrit : > Maybe we can consider having a UIThemes project in PharoExtras? -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Goubier Thierry
Le 11/04/2014 17:22, Esteban Lorenzano a écrit : Hi, As exposed, the problem is that maintaining several themes is a lot of work. So unless there are maintainers, our tendency will be always to reduce the amount of them in the image, and try to maintain one that fits most of our UI needs. On

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Esteban Lorenzano
Hi, As exposed, the problem is that maintaining several themes is a lot of work. So unless there are maintainers, our tendency will be always to reduce the amount of them in the image, and try to maintain one that fits most of our UI needs. One of our concerns now, more than maintaining the th

Re: [Pharo-users] image resize event

2014-04-11 Thread hilaire
For iStoa I need to rescale the view when the VM window is resized. I am just overriding as follow: MorphicUIManager>>checkForNewDisplaySize "Check whether the screen size has changed and if so take appropriate actions" Display extent = DisplayScreen actualScreenSize ifTrue: [^

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Hilaire Fernandes
Hello, The right way to get it back is through an external package, as suggested and did Thierry, then maintain it as external. Personnaly I like to use Watery on Linux. Probably Vistary coudl be move in such external package as well. Thanks Hilaire Le 10/04/2014 20:11, kmo a écrit : > The phar

Re: [Pharo-users] Memory profiling: usage per class - instance in old memory

2014-04-11 Thread Thomas Bany
Okey so I have found the Class instance that was holding onto the data. I can now save my image after a parsing without tripling its size. But the VM's memory footprint (according to Windows task manager) does not falls back to normal after a parse. My guess is that now that the VM was allocated m

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Goubier Thierry
It's about not erasing a theme, not working on it. However, if you consider we should be forced to use the Pharo3 theme so that we have to fix it before being able to work in Pharo, then I understand why the Pharo theme was removed :) Thierry Le 10/04/2014 22:18, Stephan Eggermont a écrit :

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Goubier Thierry
Le 10/04/2014 20:11, kmo a écrit : The pharo theme seems to have been dropped from Pharo 3. I loved that theme. The first thing I always do is switch to the pharo theme. Is it still available somewhere? I really do not like the pharo 3 theme and the Watery and Vistary themes are no use on Linux