On Wed, Apr 4, 2012 at 10:24 AM, Christoph Steinbeck <[email protected]> wrote: > Still even without the border nothing should be cut off. That sound like a > scaling bug.
It is a know problem; the current bounds are calculated based on atom positions. There are scaling problems, too, which is coinciding. Somewhere in the past two years there was a communication problem that led to a situation that scaling and zooming are not correctly implemented. To properly solve this, we need to introduce a two-step rendering though, something we need for other reasons too. In the second rendering iteration we know the initial bounds of rendered elements, and then tune things. We can calculate the bounds correctly, for example. But, that is in the future. I have had a look at how deep the rabbit hole goes, and it is most certainly not a quick fix. For now, the best we can do is tweak, and using the Margin is exactly at that level. I regret not having noticed things were not used as supposed in the original design, and made sure we kept that design, instead of again mixing the various independent components. I am more than happy to host someone here in Maastricht to continue to work on CDK-JChemPaint (I do not have funding for that, but we have an empty desk that can be used). All I can do at this moment, is get the current code cleaned up and documented (the submission of the renderextra patch is a recent result of that). Egon -- Dr E.L. Willighagen Postdoctoral Researcher Department of Bioinformatics - BiGCaT Maastricht University (http://www.bigcat.unimaas.nl/) Homepage: http://egonw.github.com/ LinkedIn: http://se.linkedin.com/in/egonw Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

