[Cuis-dev] SVG Icons

Juan Vuletich JuanVuletich at zoho.com
Wed Dec 15 10:07:23 PST 2021


On 12/14/2021 5:29 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Thanks Juan,
>
> It is better. Still has some issue with some icons. Try with the 
> attached one then do:
>
> [(SVGMainMorph fromFile: 'freePoint.svg' asFileEntry) openInWorld]
>      on: SVGWarning do: [:warning | warning resume].
>
> Inspect the SVG morph, then do:
>
> self imageForm: 60 at 60 depth: 32
>
> The resulting form does not have the right scale. It looks like it is 
> cropped then scaled to 60 at 60, so it is oversized.
>

Please try again. I think I fixed it correctly.

> By the way, you may want to run the SVG examples, some are not working.
>

Oh yes! Thanks for reporting! They are fixed too.

> Best
>
> Hilaire
>
> Le 14/12/2021 à 15:45, Juan Vuletich a écrit :
>> Hi Hilaire,
>>
>> I pushed a couple of updates on this. Now SVGMainMorph will start 
>> scaled according to width and height, and #morphExtent will give the 
>> correct answer (for Layouts). Please pull and try it.
>>
>> Thanks!
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu

Cheers,

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211215/7b4c60d9/attachment-0001.htm>


More information about the Cuis-dev mailing list