this is fun. I always wanted that. Now what is a sprite in roassal and you do not reproduce something stable at each iteration
On Jun 5, 2013, at 1:22 AM, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
Matias has worked on implementing VisualID (http://scribblethink.org/Work/VisualIDs/visualids.html) in Roassal. This is an idea Doru and I have had for a long time.
Where to find it: MCHttpRepository location: 'http://smalltalkhub.com/mc/mnip91/Roassal-VisualID/main' user: '' password: ''
Example:
| view rawView elements | rawView := ROView new. view := ROMondrianViewBuilder view: rawView. elements := ROElement spritesOn: (1 to: 11). elements do: [:elem| elem addShape: (ROVisualID new). ]. rawView addAll: elements. rawView addAll: (ROEdge linesFor: (Array with: elements first -> elements second with: elements second -> elements fifth with: elements second -> elements third )). ROTreeLayout on: elements. view noLayout. view open -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<Screen Shot 2013-06-04 at 6.07.17 PM.png>
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev