test_class.file: app/depict/src/test/java/org/openscience/cdk/depict/DepictionTest.java
test_class.identifier: DepictionTest
test_case.body: @Test
      public void depictAsEps() throws CDKException {
          DepictionGenerator dg = new DepictionGenerator();
          SmilesParser sp = new SmilesParser(SilentChemObjectBuilder.getInstance());
          IAtomContainer ac = sp.parseSmiles("[nH]1cccc1");
          String eps = dg.depict(ac).toEpsStr();
          String nl = System.getProperty("line.separator");
          String lines[] = eps.split(nl,3);
          assertEquals("%!PS-Adobe-3.0 EPSF-3.0", lines[0]);
          assertEquals("%%BoundingBox: 0 0 28 35", lines[1]);
      }
test_case.class_method_signature: DepictionTest.depictAsEps()
test_case.full_signature: @Test public void depictAsEps()
test_case.identifier: depictAsEps
test_case.invocations: getInstance parseSmiles toEpsStr depict getProperty split assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void depictAsEps()
focal_class.declarator: MM_TO_POINT = 2.83464566751
focal_class.modifier: protected static final
focal_class.original_string: protected static final double MM_TO_POINT = 2.83464566751;
focal_class.type: double
focal_class.var_name: MM_TO_POINT
focal_class.declarator: DEFAULT_PADDING_FACTOR = 2
focal_class.modifier: protected static final
focal_class.original_string: protected static final double DEFAULT_PADDING_FACTOR = 2;
focal_class.type: double
focal_class.var_name: DEFAULT_PADDING_FACTOR
focal_class.declarator: SVG_FMT = "svg"
focal_class.modifier: public static final
focal_class.original_string: public static final String SVG_FMT = "svg";
focal_class.type: String
focal_class.var_name: SVG_FMT
focal_class.declarator: PS_FMT = "ps"
focal_class.modifier: public static final
focal_class.original_string: public static final String PS_FMT = "ps";
focal_class.type: String
focal_class.var_name: PS_FMT
focal_class.declarator: EPS_FMT = "eps"
focal_class.modifier: public static final
focal_class.original_string: public static final String EPS_FMT = "eps";
focal_class.type: String
focal_class.var_name: EPS_FMT
focal_class.declarator: PDF_FMT = "pdf"
focal_class.modifier: public static final
focal_class.original_string: public static final String PDF_FMT = "pdf";
focal_class.type: String
focal_class.var_name: PDF_FMT
focal_class.declarator: JPG_FMT = "jpg"
focal_class.modifier: public static final
focal_class.original_string: public static final String JPG_FMT = "jpg";
focal_class.type: String
focal_class.var_name: JPG_FMT
focal_class.declarator: PNG_FMT = "png"
focal_class.modifier: public static final
focal_class.original_string: public static final String PNG_FMT = "png";
focal_class.type: String
focal_class.var_name: PNG_FMT
focal_class.declarator: GIF_FMT = "gif"
focal_class.modifier: public static final
focal_class.original_string: public static final String GIF_FMT = "gif";
focal_class.type: String
focal_class.var_name: GIF_FMT
focal_class.declarator: UNITS_MM = "mm"
focal_class.modifier: public static final
focal_class.original_string: public static final String UNITS_MM = "mm";
focal_class.type: String
focal_class.var_name: UNITS_MM
focal_class.declarator: UNITS_PX = "px"
focal_class.modifier: public static final
focal_class.original_string: public static final String UNITS_PX = "px";
focal_class.type: String
focal_class.var_name: UNITS_PX
focal_class.declarator: ACS_1996_BOND_LENGTH_MM = 5.08
focal_class.modifier: static final
focal_class.original_string: static final double ACS_1996_BOND_LENGTH_MM = 5.08;
focal_class.type: double
focal_class.var_name: ACS_1996_BOND_LENGTH_MM
focal_class.declarator: DOT = '.'
focal_class.modifier: private static final
focal_class.original_string: private static final char DOT = '.';
focal_class.type: char
focal_class.var_name: DOT
focal_class.declarator: model
focal_class.modifier: private final
focal_class.original_string: private final RendererModel model;
focal_class.type: RendererModel
focal_class.var_name: model
focal_class.file: app/depict/src/main/java/org/openscience/cdk/depict/Depiction.java
focal_class.identifier: Depiction
focal_class.class_method_signature: Depiction.Depiction(RendererModel model)
focal_class.full_signature:   Depiction(RendererModel model)
focal_class.identifier: Depiction
focal_class.parameters: (RendererModel model)
focal_class.signature:  Depiction(RendererModel model)
focal_class.class_method_signature: Depiction.toImg()
focal_class.full_signature: public abstract BufferedImage toImg()
focal_class.identifier: toImg
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: BufferedImage
focal_class.signature: BufferedImage toImg()
focal_class.class_method_signature: Depiction.toSvgStr()
focal_class.full_signature: public final String toSvgStr()
focal_class.identifier: toSvgStr
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toSvgStr()
focal_class.class_method_signature: Depiction.toSvgStr(String units)
focal_class.full_signature: public final String toSvgStr(String units)
focal_class.identifier: toSvgStr
focal_class.modifiers: public final
focal_class.parameters: (String units)
focal_class.return: String
focal_class.signature: String toSvgStr(String units)
focal_class.class_method_signature: Depiction.toPsStr()
focal_class.full_signature: public final String toPsStr()
focal_class.identifier: toPsStr
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toPsStr()
focal_class.class_method_signature: Depiction.toEpsStr()
focal_class.full_signature: public final String toEpsStr()
focal_class.identifier: toEpsStr
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toEpsStr()
focal_class.class_method_signature: Depiction.toPdfStr()
focal_class.full_signature: public final String toPdfStr()
focal_class.identifier: toPdfStr
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toPdfStr()
focal_class.class_method_signature: Depiction.getPaddingValue(double defaultPadding)
focal_class.full_signature:  double getPaddingValue(double defaultPadding)
focal_class.identifier: getPaddingValue
focal_class.parameters: (double defaultPadding)
focal_class.return: double
focal_class.signature: double getPaddingValue(double defaultPadding)
focal_class.class_method_signature: Depiction.getMarginValue(final double defaultMargin)
focal_class.full_signature:  double getMarginValue(final double defaultMargin)
focal_class.identifier: getMarginValue
focal_class.parameters: (final double defaultMargin)
focal_class.return: double
focal_class.signature: double getMarginValue(final double defaultMargin)
focal_class.class_method_signature: Depiction.toVecStr(String fmt, String units)
focal_class.full_signature: abstract String toVecStr(String fmt, String units)
focal_class.identifier: toVecStr
focal_class.modifiers: abstract
focal_class.parameters: (String fmt, String units)
focal_class.return: String
focal_class.signature: String toVecStr(String fmt, String units)
focal_class.class_method_signature: Depiction.listFormats()
focal_class.full_signature: public final List<String> listFormats()
focal_class.identifier: listFormats
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> listFormats()
focal_class.class_method_signature: Depiction.writeTo(String fmt, OutputStream out)
focal_class.full_signature: public final void writeTo(String fmt, OutputStream out)
focal_class.identifier: writeTo
focal_class.modifiers: public final
focal_class.parameters: (String fmt, OutputStream out)
focal_class.return: void
focal_class.signature: void writeTo(String fmt, OutputStream out)
focal_class.class_method_signature: Depiction.writeTo(String fmt, File file)
focal_class.full_signature: public final void writeTo(String fmt, File file)
focal_class.identifier: writeTo
focal_class.modifiers: public final
focal_class.parameters: (String fmt, File file)
focal_class.return: void
focal_class.signature: void writeTo(String fmt, File file)
focal_class.class_method_signature: Depiction.writeTo(String fmt, String path)
focal_class.full_signature: public final void writeTo(String fmt, String path)
focal_class.identifier: writeTo
focal_class.modifiers: public final
focal_class.parameters: (String fmt, String path)
focal_class.return: void
focal_class.signature: void writeTo(String fmt, String path)
focal_class.class_method_signature: Depiction.writeTo(String path)
focal_class.full_signature: public final void writeTo(String path)
focal_class.identifier: writeTo
focal_class.modifiers: public final
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void writeTo(String path)
focal_class.class_method_signature: Depiction.replaceTildeWithHomeDir(String path)
focal_class.full_signature: private static String replaceTildeWithHomeDir(String path)
focal_class.identifier: replaceTildeWithHomeDir
focal_class.modifiers: private static
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String replaceTildeWithHomeDir(String path)
focal_class.class_method_signature: Depiction.ensureSuffix(String path, String suffix)
focal_class.full_signature: private static String ensureSuffix(String path, String suffix)
focal_class.identifier: ensureSuffix
focal_class.modifiers: private static
focal_class.parameters: (String path, String suffix)
focal_class.return: String
focal_class.signature: String ensureSuffix(String path, String suffix)
focal_class.class_method_signature: Depiction.draw(IDrawVisitor visitor, double zoom, Bounds bounds, Rectangle2D viewBounds)
focal_class.full_signature: protected final void draw(IDrawVisitor visitor, double zoom, Bounds bounds, Rectangle2D viewBounds)
focal_class.identifier: draw
focal_class.modifiers: protected final
focal_class.parameters: (IDrawVisitor visitor, double zoom, Bounds bounds, Rectangle2D viewBounds)
focal_class.return: void
focal_class.signature: void draw(IDrawVisitor visitor, double zoom, Bounds bounds, Rectangle2D viewBounds)
focal_class.class_method_signature: Depiction.rescaleForBondLength(double bondLength)
focal_class.full_signature: final double rescaleForBondLength(double bondLength)
focal_class.identifier: rescaleForBondLength
focal_class.modifiers: final
focal_class.parameters: (double bondLength)
focal_class.return: double
focal_class.signature: double rescaleForBondLength(double bondLength)
focal_class.class_method_signature: Depiction.svgPrevisit(String fmt, double rescale, SvgDrawVisitor visitor, List<? extends IRenderingElement> elements)
focal_class.full_signature: protected void svgPrevisit(String fmt, double rescale, SvgDrawVisitor visitor, List<? extends IRenderingElement> elements)
focal_class.identifier: svgPrevisit
focal_class.modifiers: protected
focal_class.parameters: (String fmt, double rescale, SvgDrawVisitor visitor, List<? extends IRenderingElement> elements)
focal_class.return: void
focal_class.signature: void svgPrevisit(String fmt, double rescale, SvgDrawVisitor visitor, List<? extends IRenderingElement> elements)
focal_method.body: public final String toEpsStr() {
          return toVecStr(EPS_FMT, UNITS_MM);
      }
focal_method.class_method_signature: Depiction.toEpsStr()
focal_method.full_signature: public final String toEpsStr()
focal_method.identifier: toEpsStr
focal_method.invocations: toVecStr
focal_method.modifiers: public final
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toEpsStr()