2014-11-13 20:11 GMT+01:00 Alexandre Bergel alexandre.bergel@me.com:
no no no :-(
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 :-(
this may be an issue with cairo rending on a (really) big surface. I bet you won't be able to render that big images with morphic. (morphic only renders/exports the visible part).
Jan B. sent me a morphic based exporter.
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 13, 2014, at 12:36 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 12, 2014, at 12:43 PM, Tudor Girba tudor@tudorgirba.com wrote:
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
-- www.tudorgirba.com
"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