Status: New Owner: ---- CC: alexandr...@gmail.com Labels: Type-Defect Priority-Medium Component-Roassal Milestone-4.8
New issue 969 by tu...@tudorgirba.com: Roassal crops the exported PNG http://code.google.com/p/moose-technology/issues/detail?id=969
Try this:
view shape label text: #printString. view nodes: (1 to: 100). view edge: 0 from: 1 to: 50. view edge: 0 from: 51 to: 100.
Make sure only the first 40 something nodes are visible in the canvas, and then export to PNG.
You will get only the visible part of the nodes and the first edge.
Comment #1 on issue 969 by tu...@tudorgirba.com: Roassal crops the exported PNG http://code.google.com/p/moose-technology/issues/detail?id=969
Just to make it clear: This little bug makes Roassal useless for exporting less than trivial pictures. And this is not good for advertisement :)
Comment #2 on issue 969 by tu...@tudorgirba.com: Roassal crops the exported PNG http://code.google.com/p/moose-technology/issues/detail?id=969
The problem is that the export relies on ROView>>#elementsToRenderDo:, but this method takes into account only the cached elementsToRendered. Essentially we need to recompute those elements to make them take into account the entire canvas.
There exist a ROView>>#updateElementsToRender but this one is not activated during the export because the actual camera is not resized (only the canvas is).
Comment #3 on issue 969 by tu...@tudorgirba.com: Roassal crops the exported PNG http://code.google.com/p/moose-technology/issues/detail?id=969
The code for building the picture is here: ROView>>#bitmapForEncompassingRectangle
Updates: Status: Fixed
Comment #4 on issue 969 by alexandr...@gmail.com: Roassal crops the exported PNG http://code.google.com/p/moose-technology/issues/detail?id=969
Version 1.418 of Roassal fix this