#1052 Scaling does not seem to work

jchempaint-primary
open
5
2012-10-08
2010-04-07
Daniel Lowe
No

When a depiction is created that exceeds the size of the draw area instead of the depiction being scaled to fit within the drawing area the depiction is instead cropped resulting in, for large molecules, significant sections of structure not being visible.
fitToScreen is set to true.

Manually adjusting the scaling using:
renderer.getRenderer2DModel().setScale(double) where renderer is an AtomContainerRenderer has no visible effect.
(the same call with setZoomFactor instead of setScale does work)

Discussion

  • Stefan Kuhn
    Stefan Kuhn
    2010-04-16

    Can you specify which software you used for that? I. e. which download or repository checkout?

     
  • Daniel, I can confirm problems in the CDK-JChemPaint series. I will try to get this fixed in the next release. Please do let us know which version you downloaded, so that we can confirm it is this version that is affected.