Scaling dropped graphic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Scaling dropped graphic

hilaire
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

Denis Kudriashov
Hello Hilaire

It's because in past image opened in World by ScetchMorph. Now Image morph used for this. But it is not support scaling by resizing morph. ScetchMorph were removed from Pharo.
Maybe something similar exists in system.

2011/3/26 Hilaire Fernandes <[hidden email]>
A DrGeo user dragging and dropping a picture in DrGeo related me the
graphic can't be scaled from the halo scale icon. It was possible in the
past, what's wrong?

DrGeo version was based on Pharo 1.2.

Hilaire

===
2. Open Graphic in a Window - allows me to drop in the graphic, but it
does not scale/zoom with the geometry.



--
Education 0.2 -- http://blog.ofset.org/hilaire



Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

hilaire
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

Ricardo Moran
I believe you can do it by sending #addFlexShell to the ImageMorph.

Cheers
Richo

On Sat, Mar 26, 2011 at 2:09 PM, Hilaire Fernandes <[hidden email]> wrote:
Hello Denis,

I have noted when you rotate the image morph mutates to transformation
morph (TransformationMorph), then you can scale it. So a solution is
that when scaling the image morph mutates to a transformation morph as well.
Sadly I don't see where it could be done.

Hilaire


Le 26/03/2011 17:58, Denis Kudriashov a écrit :
> Hello Hilaire
>
> It's because in past image opened in World by ScetchMorph. Now Image
> morph used for this. But it is not support scaling by resizing morph.
> ScetchMorph were removed from Pharo.
> Maybe something similar exists in system.
>
> 2011/3/26 Hilaire Fernandes <[hidden email]
> <mailto:[hidden email]>>
>
>     A DrGeo user dragging and dropping a picture in DrGeo related me the
>     graphic can't be scaled from the halo scale icon. It was possible in the
>     past, what's wrong?
>
>     DrGeo version was based on Pharo 1.2.
>
>     Hilaire
>
>     ===
>     2. Open Graphic in a Window - allows me to drop in the graphic, but it
>     does not scale/zoom with the geometry.
>
>
>
>     --
>     Education 0.2 -- http://blog.ofset.org/hilaire
>
>
>


--

Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

Alain Plantec-3
Hi,
If you want to rescale an image from the halo, I think that all is here.
it's just that #isFlexMorph should be redefined to return true in
ImageMorph I guess.

try with:
ImageMorph>>#isFlexMorph
     ^ true

it works here.

Cheers
Alain

Le 26/03/2011 18:48, Ricardo Moran a écrit :

> I believe you can do it by sending #addFlexShell to the ImageMorph.
>
> Cheers
> Richo
>
> On Sat, Mar 26, 2011 at 2:09 PM, Hilaire Fernandes
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hello Denis,
>
>     I have noted when you rotate the image morph mutates to transformation
>     morph (TransformationMorph), then you can scale it. So a solution is
>     that when scaling the image morph mutates to a transformation
>     morph as well.
>     Sadly I don't see where it could be done.
>
>     Hilaire
>
>
>     Le 26/03/2011 17:58, Denis Kudriashov a écrit :
>     > Hello Hilaire
>     >
>     > It's because in past image opened in World by ScetchMorph. Now Image
>     > morph used for this. But it is not support scaling by resizing
>     morph.
>     > ScetchMorph were removed from Pharo.
>     > Maybe something similar exists in system.
>     >
>     > 2011/3/26 Hilaire Fernandes <[hidden email]
>     <mailto:[hidden email]>
>     > <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >
>     >     A DrGeo user dragging and dropping a picture in DrGeo
>     related me the
>     >     graphic can't be scaled from the halo scale icon. It was
>     possible in the
>     >     past, what's wrong?
>     >
>     >     DrGeo version was based on Pharo 1.2.
>     >
>     >     Hilaire
>     >
>     >     ===
>     >     2. Open Graphic in a Window - allows me to drop in the
>     graphic, but it
>     >     does not scale/zoom with the geometry.
>     >
>     >
>     >
>     >     --
>     >     Education 0.2 -- http://blog.ofset.org/hilaire
>     >
>     >
>     >
>
>
>     --
>     Education 0.2 -- http://blog.ofset.org/hilaire
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

Stéphane Ducasse
thanks alain

alain do you have an expression to see it :)
hilaire let us kow if this fix your problem and we should probably open a ticket.

Stef

On Mar 26, 2011, at 8:34 PM, Alain Plantec wrote:

> Hi,
> If you want to rescale an image from the halo, I think that all is here.
> it's just that #isFlexMorph should be redefined to return true in ImageMorph I guess.
>
> try with:
> ImageMorph>>#isFlexMorph
>    ^ true
>
> it works here.
>
> Cheers
> Alain
>
> Le 26/03/2011 18:48, Ricardo Moran a écrit :
>> I believe you can do it by sending #addFlexShell to the ImageMorph.
>>
>> Cheers
>> Richo
>>
>> On Sat, Mar 26, 2011 at 2:09 PM, Hilaire Fernandes <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>    Hello Denis,
>>
>>    I have noted when you rotate the image morph mutates to transformation
>>    morph (TransformationMorph), then you can scale it. So a solution is
>>    that when scaling the image morph mutates to a transformation
>>    morph as well.
>>    Sadly I don't see where it could be done.
>>
>>    Hilaire
>>
>>
>>    Le 26/03/2011 17:58, Denis Kudriashov a écrit :
>>    > Hello Hilaire
>>    >
>>    > It's because in past image opened in World by ScetchMorph. Now Image
>>    > morph used for this. But it is not support scaling by resizing
>>    morph.
>>    > ScetchMorph were removed from Pharo.
>>    > Maybe something similar exists in system.
>>    >
>>    > 2011/3/26 Hilaire Fernandes <[hidden email]
>>    <mailto:[hidden email]>
>>    > <mailto:[hidden email]
>>    <mailto:[hidden email]>>>
>>    >
>>    >     A DrGeo user dragging and dropping a picture in DrGeo
>>    related me the
>>    >     graphic can't be scaled from the halo scale icon. It was
>>    possible in the
>>    >     past, what's wrong?
>>    >
>>    >     DrGeo version was based on Pharo 1.2.
>>    >
>>    >     Hilaire
>>    >
>>    >     ===
>>    >     2. Open Graphic in a Window - allows me to drop in the
>>    graphic, but it
>>    >     does not scale/zoom with the geometry.
>>    >
>>    >
>>    >
>>    >     --
>>    >     Education 0.2 -- http://blog.ofset.org/hilaire
>>    >
>>    >
>>    >
>>
>>
>>    --
>>    Education 0.2 -- http://blog.ofset.org/hilaire
>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Scaling dropped graphic

hilaire
CONTENTS DELETED
The author has deleted this message.