24 #ifndef ROOT_TVirtualPS
void SetLineColor(Color_t cindex=1)
Set color index for lines.
void On()
Activate an already open SVG file.
Double_t UtoSVG(Double_t u)
Convert U from NDC coordinate to SVG.
void SetFillColor(Color_t cindex=1)
Set color index for fill areas.
void Text(Double_t x, Double_t y, const char *string)
Draw text.
void DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t yt, Int_t mode, Int_t border, Int_t dark, Int_t light)
Draw a Frame around a box.
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw a Box.
static const char * filename()
void Off()
Deactivate an already open SVG file.
Double_t CMtoSVG(Double_t u)
void SetLineStyle(Style_t linestyle=1)
Change the line style.
void SetMarkerColor(Color_t cindex=1)
Set color index for markers.
void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2)
Begin the Cell Array painting.
void TextNDC(Double_t u, Double_t v, const char *string)
Write a string of characters in NDC.
void NewPage()
Start the SVG page.
static const double x2[5]
void SetTextColor(Color_t cindex=1)
Set color index for text.
Double_t XtoSVG(Double_t x)
Convert X from world coordinate to SVG.
void DrawPS(Int_t n, Float_t *xw, Float_t *yw)
Not needed in SVG case.
void SetLineScale(Float_t=3)
void Close(Option_t *opt="")
Close a SVG file.
void SetLineWidth(Width_t linewidth=1)
Set the lines width.
void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y)
Paint PolyMarker.
virtual ~TSVG()
Default SVG destructor.
2-D graphics point (world coordinates).
void SetColor(Int_t color=1)
Set color with its color index.
static const double x1[5]
void CellArrayEnd()
End the Cell Array painting.
void CellArrayFill(Int_t r, Int_t g, Int_t b)
Paint the Cell Array.
void Text(Double_t, Double_t, const wchar_t *)
void Range(Float_t xrange, Float_t yrange)
Set the range for the paper in centimetres.
void Open(const char *filename, Int_t type=-111)
Open a SVG file.
void DrawPolyLine(Int_t n, TPoints *xy)
Draw a PolyLine.
TVirtualPS is an abstract interface to Postscript, PDF, SVG.
void MovePS(Double_t x, Double_t y)
Move to a new position (ix, iy).
Double_t VtoSVG(Double_t v)
Convert V from NDC coordinate to SVG.
void DrawPolyLineNDC(Int_t n, TPoints *uv)
Draw a PolyLine in NDC space.
void TextNDC(Double_t, Double_t, const wchar_t *)
void Initialize()
Initialize the SVG file.
Double_t YtoSVG(Double_t y)
Convert Y from world coordinate to SVG.