[DEMO] A screenshot of SDL + Cairo + Morph

Todd Fleming todd at flemingcnc.com
Sun Dec 4 16:58:32 PST 2005


Brian Rice wrote:

> That looks really good, idiomatically. Just a good example of  
> emulating Logo with a flexible-enough syntax. :)
>
> Having to specify rgb so much is a little awkward. We do have named  
> colors in colors.slate, but they do use floating point. Perhaps we  
> can just do a simpler "Color Red" etc. for the simpler primary/ 
> secondary palette with just integers, or just modify colors.slate for  
> the primaries and secondaries. (It was produced by running a quick  
> script over the X11 reference color set table, of course.)

I'm looking at Colors.slate now; it looks good.  Cairo uses floating 
point colors (notice that my example has "r: 1 g: 1 b: 1" instead of "r: 
255 g: 255 b: 255").

Todd




More information about the Slate mailing list