test_class.file: app/depict/src/test/java/org/openscience/cdk/depict/SvgDrawVisitorTest.java
test_class.identifier: SvgDrawVisitorTest
test_case.body: @Test
      public void empty() {
          String empty = new SvgDrawVisitor(50, 50, Depiction.UNITS_MM).toString();
          assertThat(empty, is("<?xml version='1.0' encoding='UTF-8'?>\n"
                               + "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"
                               + "<svg version='1.2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='50.0mm' height='50.0mm' viewBox='0 0 50.0 50.0'>\n"
                               + "  <desc>Generated by the Chemistry Development Kit (http://github.com/cdk)</desc>\n"
                               + "</svg>\n"));
      }
test_case.class_method_signature: SvgDrawVisitorTest.empty()
test_case.full_signature: @Test public void empty()
test_case.identifier: empty
test_case.invocations: toString assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void empty()
focal_class.declarator: sb = new StringBuilder(5000)
focal_class.modifier: private final
focal_class.original_string: private final StringBuilder sb = new StringBuilder(5000);
focal_class.type: StringBuilder
focal_class.var_name: sb
focal_class.declarator: indentLvl     = 0
focal_class.modifier: private
focal_class.original_string: private int             indentLvl     = 0;
focal_class.type: int
focal_class.var_name: indentLvl
focal_class.declarator: transform     = null
focal_class.modifier: private
focal_class.original_string: private AffineTransform transform     = null;
focal_class.type: AffineTransform
focal_class.var_name: transform
focal_class.declarator: model         = null
focal_class.modifier: private
focal_class.original_string: private RendererModel   model         = null;
focal_class.type: RendererModel
focal_class.var_name: model
focal_class.declarator: decimalFormat = new DecimalFormat(".##", new DecimalFormatSymbols(Locale.ROOT))
focal_class.modifier: private
focal_class.original_string: private NumberFormat    decimalFormat = new DecimalFormat(".##", new DecimalFormatSymbols(Locale.ROOT));
focal_class.type: NumberFormat
focal_class.var_name: decimalFormat
focal_class.declarator: defaultsWritten    = false
focal_class.modifier: private
focal_class.original_string: private boolean defaultsWritten    = false;
focal_class.type: boolean
focal_class.var_name: defaultsWritten
focal_class.declarator: defaultStroke      = null
focal_class.modifier: private
focal_class.original_string: private Color   defaultStroke      = null;
focal_class.type: Color
focal_class.var_name: defaultStroke
focal_class.declarator: defaultFill        = null
focal_class.modifier: private
focal_class.original_string: private Color   defaultFill        = null;
focal_class.type: Color
focal_class.var_name: defaultFill
focal_class.declarator: defaultStrokeWidth = null
focal_class.modifier: private
focal_class.original_string: private String  defaultStrokeWidth = null;
focal_class.type: String
focal_class.var_name: defaultStrokeWidth
focal_class.file: app/depict/src/main/java/org/openscience/cdk/depict/SvgDrawVisitor.java
focal_class.identifier: SvgDrawVisitor
focal_class.interfaces: implements IDrawVisitor
focal_class.class_method_signature: SvgDrawVisitor.SvgDrawVisitor(double w, double h, String units)
focal_class.full_signature:   SvgDrawVisitor(double w, double h, String units)
focal_class.identifier: SvgDrawVisitor
focal_class.parameters: (double w, double h, String units)
focal_class.signature:  SvgDrawVisitor(double w, double h, String units)
focal_class.class_method_signature: SvgDrawVisitor.writeHeader(double w, double h, String units)
focal_class.full_signature: private void writeHeader(double w, double h, String units)
focal_class.identifier: writeHeader
focal_class.modifiers: private
focal_class.parameters: (double w, double h, String units)
focal_class.return: void
focal_class.signature: void writeHeader(double w, double h, String units)
focal_class.class_method_signature: SvgDrawVisitor.appendIdent()
focal_class.full_signature: private void appendIdent()
focal_class.identifier: appendIdent
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void appendIdent()
focal_class.class_method_signature: SvgDrawVisitor.scaled(double num)
focal_class.full_signature: private double scaled(double num)
focal_class.identifier: scaled
focal_class.modifiers: private
focal_class.parameters: (double num)
focal_class.return: double
focal_class.signature: double scaled(double num)
focal_class.class_method_signature: SvgDrawVisitor.transform(double[] points, int numPoints)
focal_class.full_signature: private void transform(double[] points, int numPoints)
focal_class.identifier: transform
focal_class.modifiers: private
focal_class.parameters: (double[] points, int numPoints)
focal_class.return: void
focal_class.signature: void transform(double[] points, int numPoints)
focal_class.class_method_signature: SvgDrawVisitor.toStr(double num)
focal_class.full_signature: private String toStr(double num)
focal_class.identifier: toStr
focal_class.modifiers: private
focal_class.parameters: (double num)
focal_class.return: String
focal_class.signature: String toStr(double num)
focal_class.class_method_signature: SvgDrawVisitor.appendPoints(StringBuilder sb, double[] points, int numPoints)
focal_class.full_signature: private void appendPoints(StringBuilder sb, double[] points, int numPoints)
focal_class.identifier: appendPoints
focal_class.modifiers: private
focal_class.parameters: (StringBuilder sb, double[] points, int numPoints)
focal_class.return: void
focal_class.signature: void appendPoints(StringBuilder sb, double[] points, int numPoints)
focal_class.class_method_signature: SvgDrawVisitor.appendRelativePoints(StringBuilder sb, double[] points, double xBase, double yBase, int numPoints)
focal_class.full_signature: private void appendRelativePoints(StringBuilder sb, double[] points, double xBase, double yBase, int numPoints)
focal_class.identifier: appendRelativePoints
focal_class.modifiers: private
focal_class.parameters: (StringBuilder sb, double[] points, double xBase, double yBase, int numPoints)
focal_class.return: void
focal_class.signature: void appendRelativePoints(StringBuilder sb, double[] points, double xBase, double yBase, int numPoints)
focal_class.class_method_signature: SvgDrawVisitor.toStr(Color col)
focal_class.full_signature:  String toStr(Color col)
focal_class.identifier: toStr
focal_class.parameters: (Color col)
focal_class.return: String
focal_class.signature: String toStr(Color col)
focal_class.class_method_signature: SvgDrawVisitor.setFontManager(IFontManager fontManager)
focal_class.full_signature: @Override public void setFontManager(IFontManager fontManager)
focal_class.identifier: setFontManager
focal_class.modifiers: @Override public
focal_class.parameters: (IFontManager fontManager)
focal_class.return: void
focal_class.signature: void setFontManager(IFontManager fontManager)
focal_class.class_method_signature: SvgDrawVisitor.setRendererModel(RendererModel model)
focal_class.full_signature: @Override public void setRendererModel(RendererModel model)
focal_class.identifier: setRendererModel
focal_class.modifiers: @Override public
focal_class.parameters: (RendererModel model)
focal_class.return: void
focal_class.signature: void setRendererModel(RendererModel model)
focal_class.class_method_signature: SvgDrawVisitor.previsit(Collection<? extends IRenderingElement> elements)
focal_class.full_signature: public void previsit(Collection<? extends IRenderingElement> elements)
focal_class.identifier: previsit
focal_class.modifiers: public
focal_class.parameters: (Collection<? extends IRenderingElement> elements)
focal_class.return: void
focal_class.signature: void previsit(Collection<? extends IRenderingElement> elements)
focal_class.class_method_signature: SvgDrawVisitor.visit(GeneralPath elem)
focal_class.full_signature: private void visit(GeneralPath elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (GeneralPath elem)
focal_class.return: void
focal_class.signature: void visit(GeneralPath elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(String id, String cls, GeneralPath elem)
focal_class.full_signature: private void visit(String id, String cls, GeneralPath elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (String id, String cls, GeneralPath elem)
focal_class.return: void
focal_class.signature: void visit(String id, String cls, GeneralPath elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(LineElement elem)
focal_class.full_signature: private void visit(LineElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (LineElement elem)
focal_class.return: void
focal_class.signature: void visit(LineElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(String id, String cls, LineElement elem)
focal_class.full_signature: private void visit(String id, String cls, LineElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (String id, String cls, LineElement elem)
focal_class.return: void
focal_class.signature: void visit(String id, String cls, LineElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(MarkedElement elem)
focal_class.full_signature: private void visit(MarkedElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (MarkedElement elem)
focal_class.return: void
focal_class.signature: void visit(MarkedElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(RectangleElement elem)
focal_class.full_signature: private void visit(RectangleElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (RectangleElement elem)
focal_class.return: void
focal_class.signature: void visit(RectangleElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(OvalElement elem)
focal_class.full_signature: private void visit(OvalElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (OvalElement elem)
focal_class.return: void
focal_class.signature: void visit(OvalElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(TextElement elem)
focal_class.full_signature: private void visit(TextElement elem)
focal_class.identifier: visit
focal_class.modifiers: private
focal_class.parameters: (TextElement elem)
focal_class.return: void
focal_class.signature: void visit(TextElement elem)
focal_class.class_method_signature: SvgDrawVisitor.visit(final IRenderingElement root)
focal_class.full_signature: @Override public void visit(final IRenderingElement root)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (final IRenderingElement root)
focal_class.return: void
focal_class.signature: void visit(final IRenderingElement root)
focal_class.class_method_signature: SvgDrawVisitor.setTransform(AffineTransform transform)
focal_class.full_signature: @Override public void setTransform(AffineTransform transform)
focal_class.identifier: setTransform
focal_class.modifiers: @Override public
focal_class.parameters: (AffineTransform transform)
focal_class.return: void
focal_class.signature: void setTransform(AffineTransform transform)
focal_class.class_method_signature: SvgDrawVisitor.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public String toString() {
          if (defaultsWritten)
              return sb.toString() + "  </g>\n</svg>\n";
          return sb.toString() + "</svg>\n";
      }
focal_method.class_method_signature: SvgDrawVisitor.toString()
focal_method.full_signature: @Override public String toString()
focal_method.identifier: toString
focal_method.invocations: toString toString
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()