A F G O S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAWTDrawVisitor - Class in org.openscience.cdk.renderer.visitor
-
Partial implementation of the
IDrawVisitorinterface for the AWT widget toolkit, allowing molecules to be rendered with toolkits based on AWT, like the Java reference graphics platform Swing. - AbstractAWTDrawVisitor() - Constructor for class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
- AWTDrawVisitor - Class in org.openscience.cdk.renderer.visitor
-
Implementation of the
IDrawVisitorinterface for the AWT widget toolkit, allowing molecules to be rendered with toolkits based on AWT, like the Java reference graphics platform Swing. - AWTDrawVisitor(Graphics2D) - Constructor for class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Constructs a new
IDrawVisitorusing the AWT widget toolkit, taking aGraphics2Dobject to which the chemical content is drawn.
F
- forVectorGraphics(Graphics2D) - Static method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Create a draw visitor that will be rendering to a vector graphics output.
G
- getGraphics() - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Returns the
Graphics2Dfor for this visitor. - getRendererModel() - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Returns the current
RendererModel. - getStrokeMap() - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Returns the current stroke map.
- getTextBasePoint(String, double, double, Graphics2D) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
Calculates the base point where text should be rendered, as text in Java is typically placed using the left-lower corner point in screen coordinates.
- getTextBounds(String, double, double, Graphics2D) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
Calculates the boundaries of a text string in screen coordinates.
- getTextBounds(String, Graphics2D) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
Obtain the exact bounding box of the
textin the provided graphics environment.
O
- org.openscience.cdk.renderer.visitor - package org.openscience.cdk.renderer.visitor
S
- setFontManager(IFontManager) - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
The font manager must be set by any renderer that uses this class! This manager is needed to keep track of fonts of the right size.
- setRendererModel(RendererModel) - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
- setRounding(boolean) - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
-
Set whether we should we round coordinates to ints, this tries to circumvent graphical glitches from AWT where floating points are truncated (e.g.
- setTransform(AffineTransform) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
Sets a new affine transformation to convert world coordinates into screen coordinates.
T
- transform - Variable in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
This is initially null, and must be set in the setTransform method!
- transformPoint(double[]) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
- transformPoint(double, double) - Method in class org.openscience.cdk.renderer.visitor.AbstractAWTDrawVisitor
-
Transforms a point according to the current affine transformation, converting a world coordinate into a screen coordinate.
V
- visit(IRenderingElement) - Method in class org.openscience.cdk.renderer.visitor.AWTDrawVisitor
All Classes All Packages