[Cuis-dev] Pretty Cool Juan!

Juan Vuletich juan at jvuletich.org
Wed Jan 13 07:17:27 PST 2021

Hi Hilaire,

On 1/12/2021 5:17 PM, Hilaire Fernandes via Cuis-dev wrote:
> Le 10/01/2021 à 20:41, ken.dickey--- via Cuis-dev a écrit :
>> I was taught "get it right before you get it fast".
>> I know we are not fast yet, but it sure looks right!
>> Couldn't help myself from playing with a SVGMainMorph..
> Nice !!
> Some drawing tools for fun, while waiting for more.
> By the way, I want to draw rotated text along the protractor (10, 
> 20,...,170).
> How should I rotate the text?

Those look very nice!

One way to do it is to add a submorph for each label, rotating it as needed.

Another way could be a new service in VectorCanvas and VertorEngine, 
similar to those in the 'text' category, that takes a 
GeometryTransformation as an argument. I'm not sure if the result would 
be much cleaner, and if the added complexity to Canvas and Engine is 
worth it.


> Hilaire
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu

Juan Vuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210113/a5e1dc49/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 158830 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210113/a5e1dc49/attachment-0001.jpe>

More information about the Cuis-dev mailing list