[Cuis-dev] imageNoRotated

Juan Vuletich juan at jvuletich.org
Mon Jan 18 12:28:42 PST 2021


On 1/15/2021 3:39 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Juan,
>
> To my drawing tools, I add pluggable buttons with icons. In that use 
> case, in imageUnrotated:at: method the currentTransformation is a 
> MorphicTranslation (I have no idea why) and it breaks: 
> externalizeScalar: does not work with extent (a asFloat conversion) 
> Not sure what is faulty..
>
> I will try to investigate tomorrow.
>
> Thanks
>
> Hilaire
>

It was a bug. When a simple translation will do (no rotation, no 
scaling), then a MorphicTranslation is used.

The fix is now at github. Thanks for reporting.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210118/1db9d6d1/attachment.htm>


More information about the Cuis-dev mailing list