I was usingsaveFileFrom: view named: aString| writeStream |writeStream := ((FileSystem workingDirectory / (aString, '.png')) writeStream.[ (ROPharoImageExporter new view: view) exportWith: PNGReadWriter onStream: writeStream ]ensure: [ writeStream ifNotNil: #close ]On 17 Nov 2013, at 12:45, Tudor Girba <tudor@tudorgirba.com> wrote:_______________________________________________Hi,I am trying to find a way to obtain a bitmap programmatically with a Roassal visualization. I try this:| view |view := ROMondrianViewBuilder new.view nodes: (1 to: 10).view raw bitmapThe problem is that the nodes are not yet laid out. As far as I remember, this used to work.How do I trigger the layouts easily?Cheers,Doru--"Every thing has its own flow"
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev