[squeak-dev] Re: #createSegmentsFromSVG: [was: Bezier filled shape rendering artifacts]

Klaus D. Witzel klaus.witzel at cobss.com
Wed Mar 26 08:25:43 UTC 2008


On Tue, 25 Mar 2008 22:32:33 +0100, Igor Stasenko wrote:

> On 25/03/2008, Klaus D. Witzel wrote:
>> On Tue, 25 Mar 2008 14:36:49 +0100, Gary Chambers wrote:
...
>>  > Glad someone is still using the old SVGMorph "experiment"!
>>
>>  Yay, and it works :) still can't believe it :)
>>
>>  There are BTW "only" some 6,000 known glyphs of this sort; my Inkskape
>>  instance will surely get burned when I do change the scaling of the  
>> 2,500
>>  [many duplicates] .svg files that I have in my directory.
>>
>
> If problem was with scale, you can normalize scale before rendering.
> Like:
>  determine the bounding box of svg shape points, let the scale be the
> length of shorter box side. Multiply all coordinates by 20/scale.

Yes, wanted to investigate such a direction anyways.

> Then render morph with scale transform:
>
> scale/20 *  [ (points) ]
>
>>  /Klaus
>>
>>  > Regards, Gary.
>>
>>
>>
>
>





More information about the Squeak-dev mailing list