#include <TSVG.h>
Inheritance diagram for TSVG:
Definition at line 30 of file TSVG.h.
TSVG::TSVG | ( | ) |
TSVG::TSVG | ( | const char * | filename, | |
Int_t | type = -113 | |||
) |
TSVG::TSVG | ( | ) |
TSVG::TSVG | ( | const char * | filename, | |
Int_t | type = -113 | |||
) |
virtual TSVG::~TSVG | ( | ) | [virtual] |
void TSVG::CellArrayEnd | ( | ) | [virtual] |
void TSVG::Close | ( | Option_t * | opt = "" |
) | [virtual] |
Implements TVirtualPS.
Definition at line 166 of file TSVG.cxx.
References TVirtualPS::fStream, gPad, gVirtualPS, and TVirtualPS::PrintStr().
Referenced by ~TSVG().
Implements TVirtualPS.
Definition at line 208 of file TSVG.cxx.
References DrawPS(), TAttFill::fFillColor, TAttFill::fFillStyle, TAttLine::fLineColor, TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), SetColor(), TVirtualPS::WriteInteger(), x, XtoSVG(), y, and YtoSVG().
void TSVG::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 | |||
) | [virtual] |
Implements TVirtualPS.
Definition at line 282 of file TSVG.cxx.
References i, MovePS(), TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), SetColor(), TVirtualPS::WriteInteger(), XtoSVG(), and YtoSVG().
Implements TVirtualPS.
Definition at line 600 of file TSVG.cxx.
References CMtoSVG(), TAttLine::fLineWidth, TAttMarker::fMarkerColor, TAttMarker::fMarkerSize, TAttMarker::fMarkerStyle, fXsize, gPad, i, m, TVirtualPS::PrintStr(), SetColor(), TVirtualPS::WriteInteger(), TVirtualPS::WriteReal(), XtoSVG(), and YtoSVG().
Implements TVirtualPS.
Definition at line 833 of file TSVG.cxx.
References CMtoSVG(), TAttLine::fLineWidth, TAttMarker::fMarkerColor, TAttMarker::fMarkerSize, TAttMarker::fMarkerStyle, fXsize, gPad, i, m, TVirtualPS::PrintStr(), SetColor(), TVirtualPS::WriteInteger(), TVirtualPS::WriteReal(), XtoSVG(), and YtoSVG().
Implements TVirtualPS.
Definition at line 1677 of file TSVG.cxx.
References TObject::Warning().
Referenced by DrawBox().
Implements TVirtualPS.
Definition at line 1064 of file TSVG.cxx.
References TObjArray::At(), TObject::Error(), TAttFill::fFillColor, TAttFill::fFillStyle, TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, TObjArray::GetEntries(), TStyle::GetLineStyleString(), TNamed::GetName(), gStyle, i, j, MovePS(), n, TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), SetColor(), TMath::Sign(), TString::Tokenize(), TVirtualPS::WriteInteger(), XtoSVG(), and YtoSVG().
void TSVG::Initialize | ( | ) |
Definition at line 1179 of file TSVG.cxx.
References TStyle::GetHeaderPS(), TNamed::GetName(), TROOT::GetVersion(), gROOT, gStyle, nh, TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), and t.
Referenced by NewPage().
Definition at line 1214 of file TSVG.cxx.
References TVirtualPS::PrintFast(), and TVirtualPS::WriteInteger().
Referenced by DrawFrame(), DrawPolyLine(), DrawPolyLineNDC(), and DrawPS().
void TSVG::NewPage | ( | ) | [virtual] |
Implements TVirtualPS.
Definition at line 1237 of file TSVG.cxx.
References CMtoSVG(), fBoundingBox, fXsize, fYsize, fYsizeSVG, gPad, Initialize(), kTRUE, TVirtualPS::PrintStr(), and TVirtualPS::WriteInteger().
Referenced by Open().
void TSVG::Off | ( | ) |
void TSVG::On | ( | ) |
void TSVG::Open | ( | const char * | filename, | |
Int_t | type = -111 | |||
) | [virtual] |
Implements TVirtualPS.
Definition at line 108 of file TSVG.cxx.
References fBoundingBox, TVirtualPS::fBuffer, TVirtualPS::fLenBuffer, fRange, TVirtualPS::fSizBuffer, TVirtualPS::fStream, fType, fXsize, fYsize, TStyle::GetLineScalePS(), TStyle::GetPaperSize(), gPad, gStyle, gVirtualPS, i, kFALSE, NewPage(), out, Range(), ratio, SetLineScale(), and TObject::Warning().
Referenced by TSVG().
void TSVG::SetColor | ( | Int_t | color = 1 |
) |
Definition at line 1377 of file TSVG.cxx.
References TColor::GetBlue(), TROOT::GetColor(), TColor::GetGreen(), TColor::GetRed(), and gROOT.
Referenced by DrawBox(), DrawFrame(), DrawPolyMarker(), DrawPS(), and Text().
Implements TVirtualPS.
Definition at line 1392 of file TSVG.cxx.
References TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), snprintf, and str.
void TSVG::SetFillColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttFill.
Definition at line 1326 of file TSVG.cxx.
References TAttFill::fFillColor, TAttFill::GetFillColor(), and gStyle.
void TSVG::SetLineColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 1336 of file TSVG.cxx.
References TAttLine::fLineColor.
void TSVG::SetLineStyle | ( | Style_t | linestyle = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 1345 of file TSVG.cxx.
References TAttLine::fLineStyle.
void TSVG::SetLineWidth | ( | Width_t | linewidth = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 1359 of file TSVG.cxx.
References TAttLine::fLineWidth.
void TSVG::SetLineScale | ( | Float_t | = 3 |
) | [inline] |
void TSVG::SetMarkerColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttMarker.
Definition at line 1368 of file TSVG.cxx.
References TAttMarker::fMarkerColor.
void TSVG::SetTextColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttText.
Definition at line 1415 of file TSVG.cxx.
References TAttText::fTextColor.
Implements TVirtualPS.
Definition at line 1424 of file TSVG.cxx.
References CMtoSVG(), Form(), TAttText::fTextAlign, TAttText::fTextAngle, TAttText::fTextColor, TAttText::fTextFont, TAttText::fTextSize, fXsize, fYsize, gPad, i, len, TVirtualPS::PrintFast(), TVirtualPS::PrintStr(), SetColor(), TVirtualPS::WriteInteger(), XtoSVG(), and YtoSVG().
Referenced by TextNDC().
Definition at line 1632 of file TSVG.cxx.
References gPad, u, and UtoSVG().
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyMarker(), DrawPS(), and Text().
Definition at line 1642 of file TSVG.cxx.
References fYsizeSVG, gPad, and VtoSVG().
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyMarker(), DrawPS(), and Text().
void TSVG::CellArrayBegin | ( | Int_t | W, | |
Int_t | H, | |||
Double_t | x1, | |||
Double_t | x2, | |||
Double_t | y1, | |||
Double_t | y2 | |||
) | [virtual] |
Implements TVirtualPS.
Implements TVirtualPS.
void TSVG::CellArrayEnd | ( | ) | [virtual] |
Implements TVirtualPS.
void TSVG::Close | ( | Option_t * | opt = "" |
) | [virtual] |
Implements TVirtualPS.
Implements TVirtualPS.
void TSVG::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 | |||
) | [virtual] |
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
void TSVG::Initialize | ( | ) |
void TSVG::NewPage | ( | ) | [virtual] |
Implements TVirtualPS.
void TSVG::Off | ( | ) |
void TSVG::On | ( | ) |
void TSVG::Open | ( | const char * | filename, | |
Int_t | type = -111 | |||
) | [virtual] |
Implements TVirtualPS.
void TSVG::SetColor | ( | Int_t | color = 1 |
) |
Implements TVirtualPS.
void TSVG::SetMarkerColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttMarker.
Implements TVirtualPS.
Float_t TSVG::fXsize [protected] |
Float_t TSVG::fYsize [protected] |
Bool_t TSVG::fBoundingBox [protected] |
Bool_t TSVG::fRange [protected] |
Int_t TSVG::fYsizeSVG [protected] |