fr.orsay.lri.varna.models.export
Class SVGExport

java.lang.Object
  extended by fr.orsay.lri.varna.models.export.SecStrDrawingProducer
      extended by fr.orsay.lri.varna.models.export.SVGExport

public class SVGExport
extends SecStrDrawingProducer


Field Summary
private  Rectangle2D.Double _bb
           
private  double _fontsize
           
(package private)  double _thickness
           
 
Fields inherited from class fr.orsay.lri.varna.models.export.SecStrDrawingProducer
_backgroundColor, _curColor, _font, FONT_COURIER, FONT_COURIER_BOLD, FONT_COURIER_BOLD_OBLIQUE, FONT_COURIER_OBLIQUE, FONT_HELVETICA, FONT_HELVETICA_BOLD, FONT_HELVETICA_BOLD_OBLIQUE, FONT_HELVETICA_OBLIQUE, FONT_TIMES_BOLD, FONT_TIMES_BOLD_ITALIC, FONT_TIMES_ITALIC, FONT_TIMES_ROMAN
 
Constructor Summary
SVGExport()
           
 
Method Summary
 String drawArcS(Point2D.Double o, double width, double height, double startAngle, double endAngle)
           
 String drawCircleS(Point2D.Double base, double radius, double thickness)
           
 String drawLineS(Point2D.Double orig, Point2D.Double dest, double thickness)
           
 String drawPolygonS(Point2D.Double[] points, double thickness)
           
 String drawRectangleS(Point2D.Double orig, Point2D.Double dims, double thickness)
           
 String drawTextS(Point2D.Double base, String txt)
           
 String fillCircleS(Point2D.Double base, double radius, double thickness, Color col)
           
 String fillPolygonS(Point2D.Double[] points, Color col)
           
 String footerS()
           
private  String getRGBString(Color col)
           
 String headerS(Rectangle2D.Double bb)
           
 String setFontS(int font, double size)
           
 
Methods inherited from class fr.orsay.lri.varna.models.export.SecStrDrawingProducer
drawArc, drawCircle, drawLine, drawPolygon, drawPolygon, drawRectangle, drawText, export, fillCircle, fillPolygon, fillPolygon, fillRectangle, getBoundingBox, getCurFontSize, getCurrentColor, getCurrentFont, removeBackgroundColor, reset, setBackgroundColor, setColor, setColorS, setFont, setScale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fontsize

private double _fontsize

_bb

private Rectangle2D.Double _bb

_thickness

double _thickness
Constructor Detail

SVGExport

public SVGExport()
Method Detail

getRGBString

private String getRGBString(Color col)

drawCircleS

public String drawCircleS(Point2D.Double base,
                          double radius,
                          double thickness)
Specified by:
drawCircleS in class SecStrDrawingProducer

drawLineS

public String drawLineS(Point2D.Double orig,
                        Point2D.Double dest,
                        double thickness)
Specified by:
drawLineS in class SecStrDrawingProducer

drawRectangleS

public String drawRectangleS(Point2D.Double orig,
                             Point2D.Double dims,
                             double thickness)
Specified by:
drawRectangleS in class SecStrDrawingProducer

drawTextS

public String drawTextS(Point2D.Double base,
                        String txt)
Specified by:
drawTextS in class SecStrDrawingProducer

fillCircleS

public String fillCircleS(Point2D.Double base,
                          double radius,
                          double thickness,
                          Color col)
Specified by:
fillCircleS in class SecStrDrawingProducer

footerS

public String footerS()
Specified by:
footerS in class SecStrDrawingProducer

headerS

public String headerS(Rectangle2D.Double bb)
Specified by:
headerS in class SecStrDrawingProducer

setFontS

public String setFontS(int font,
                       double size)
Specified by:
setFontS in class SecStrDrawingProducer

drawArcS

public String drawArcS(Point2D.Double o,
                       double width,
                       double height,
                       double startAngle,
                       double endAngle)
Specified by:
drawArcS in class SecStrDrawingProducer

drawPolygonS

public String drawPolygonS(Point2D.Double[] points,
                           double thickness)
Specified by:
drawPolygonS in class SecStrDrawingProducer

fillPolygonS

public String fillPolygonS(Point2D.Double[] points,
                           Color col)
Specified by:
fillPolygonS in class SecStrDrawingProducer