On Sun, 2006-02-26 at 08:07 +0100, Egon Willighagen wrote:
> On Sunday 26 February 2006 02:12, Rajarshi Guha wrote:
> > Hi, I just recently noticed that when I run my draw2d code, the
> > resultant structure image has the filename printed in it. This occurs
> > when  I output structures as PDF or PNG
> >
> > A png example is at http://blue.chem.psu.edu/img001.png
> >
> > I can't seem to see anything in my code doing this, so I was wondering
> > whether there was anything changed in the StructureDiagramGenerator
> > recently that might lead to this happening.
> 
> Yes, new feature. Option to show the molecule name in the drawing. Carsten 
> (Kalzium) requested this, because he would like to use JCP in his (high 
> school) class...
> 
> You can turn it off in the Renderer2DModel.

Sorry for being dense, but I can't seem to find the method to turn this
off.

Looking at the logs I see that there was a new method(s) added:

getShowReactionBoxes()
setShowReactionBoxes()

In addition the only place in the Render2D sources that I see making use
of the CDKConstants.TITLE variable is in paintReactionBox() so I tried
doing

setShowReactionBoxes(false)

in my code, but I still get the title in my image.

Any suggestions would be appreciated

-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
A committee is a life form with six or more legs and no brain.
-- Lazarus Long, "Time Enough For Love"




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to