It does not work for large pictures. Consider the following:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle
withBorder;
width: [ :cls | cls numberOfVariables * 5];
height: #numberOfMethods;
linearFillColor: #numberOfLinesOfCode within: RTObject withAllSubclasses.
b nodes: (Object withAllSubclasses copyFrom: 1 to: 3000).
b edgesFrom: #superclass.
b treeLayout.
b build.
^ b view
Nothing gets on the disk when you save :-(
Jan B. sent me a morphic based exporter.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Doru!
I have reviewer & improved the PNG exporter. I have tried it in my different situation, it seems to work well.
I have taken the decision to __not__ render fixed trachel shapes. I think this is okay in most of the cases we will face.
Let me know!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex,
Could you please review the code in RTPNGExporter? We still get a little problem when exporting because it seems that there is a bit of clipping happening on the bottom and to the right.
Cheers,
Doru
--
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.chhttps://www.iam.unibe.ch/mailman/listinfo/moose-dev