24 #ifndef ROOT_TVirtualPS
86 void PrintStr(
const char *
string=
"");
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw a Box.
void DrawPS(Int_t n, Float_t *xw, Float_t *yw)
Draw a PolyLine.
void MoveTo(Double_t x, Double_t y)
Move to a new position.
void On()
Activate an already open PDF file.
void WriteCompressedBuffer()
Write the buffer in a compressed way.
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y)
Draw Fill area with hatch styles.
void SetColor(Int_t color=1)
Set color with its color index.
void FontEncode()
Font encoding.
static const char * filename()
void SetTextColor(Color_t cindex=1)
Set color index for text.
Double_t CMtoPDF(Double_t u)
std::vector< float > fAlphas
static const double x2[5]
void Text(Double_t x, Double_t y, const char *string)
Draw text.
Double_t XtoPDF(Double_t x)
Convert X from world coordinate to PDF.
void Close(Option_t *opt="")
Close a PDF file.
void NewObject(Int_t n)
Create a new object in the PDF file.
void Off()
Deactivate an already open PDF file.
void SetAlpha(Float_t alpha=1.)
Set the alpha channel value.
void NewPage()
Start a new PDF page.
void CellArrayFill(Int_t r, Int_t g, Int_t b)
Paint the Cell Array.
void PrintFast(Int_t nch, const char *string="")
Fast version of Print.
void SetLineStyle(Style_t linestyle=1)
Change the line style.
Double_t YtoPDF(Double_t y)
Convert Y from world coordinate to PDF.
void Range(Float_t xrange, Float_t yrange)
Set the range for the paper in centimetres.
void DrawPolyLine(Int_t n, TPoints *xy)
Draw a PolyLine.
void TextNDC(Double_t u, Double_t v, const char *string)
Write a string of characters in NDC.
Double_t VtoPDF(Double_t v)
Convert V from NDC coordinate to PDF.
void SetMarkerColor(Color_t cindex=1)
Set color index for markers.
2-D graphics point (world coordinates).
void DrawPolyLineNDC(Int_t n, TPoints *uv)
Draw a PolyLine in NDC space.
virtual void WriteReal(Float_t r, Bool_t space=kTRUE)
Write a Real number to the file.
static const double x1[5]
void SetLineWidth(Width_t linewidth=1)
Change the line width.
Double_t UtoPDF(Double_t u)
Convert U from NDC coordinate to PDF.
void SetLineScale(Float_t scale=1)
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 CellArrayEnd()
End the Cell Array painting.
void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y)
Draw markers at the n WC points xw, yw.
void SetFillColor(Color_t cindex=1)
Set color index for fill areas.
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 Open(const char *filename, Int_t type=-111)
Open a PDF file.
void PatternEncode()
Patterns encoding.
void SetLineColor(Color_t cindex=1)
Set color index for lines.
void LineTo(Double_t x, Double_t y)
Draw a line to a new position.
virtual ~TPDF()
Default PDF destructor.
TVirtualPS is an abstract interface to Postscript, PDF, SVG.
void SetFillPatterns(Int_t ipat, Int_t color)
Set the fill patterns (1 to 25) for fill areas.
void PrintStr(const char *string="")
Output the string str in the output buffer.