Hello,

I got a problem creating small images of molecules.
Currently I'm using the "IRenderer2d" class to create an image of an 
IMoleculeSet.
It works fine for "normal" sized images, but I need very small images.
I tried two ways to solve this problem.
1. Change the zoomfactor by using the "setZoomFactor" of the "Renderer2DModel"
--> the molecule is smaler but some lines become nearly invisible
2. Use "GeometryTools.scaleMolecule"
--> the molecule is smaler but other image bugs appear. The bounds between two 
molecules are ok, but if there is a double bound, the second bound is too long.
So one of the double bound is painted correctly, but the other is not.

I added an example image of Problem 1.
Is there any other possibility I have not seen?

Regards,
Sebastian Bremm

<<attachment: example.jpg>>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to