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 SetLineJoin(Int_t linejoin=0)
Set the value of the global parameter TPDF::fgLineJoin.
void On()
Activate an already open PDF file.
void WriteCompressedBuffer()
Write the buffer in a compressed way.
TPDF()
Default PDF constructor.
Float_t fXsize
Page size along X.
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y)
Draw Fill area with hatch styles.
Float_t fYsize
Page size along Y.
void SetColor(Int_t color=1)
Set color with its color index.
void FontEncode()
Font encoding.
Bool_t fRange
True when a range has been defined.
Int_t fType
Workstation type used to know if the PDF is open.
void SetTextColor(Color_t cindex=1)
Set color index for text.
Int_t fObjPosSize
Real size of fObjPos.
Float_t fAlpha
Per cent of transparency.
Bool_t fPageNotEmpty
True if the current page is not empty.
Double_t CMtoPDF(Double_t u)
Int_t fNbObj
Number of objects.
std::vector< float > fAlphas
List of alpha values used.
Bool_t fCompress
True when fBuffer must be compressed.
static const double x2[5]
#define ClassDef(name, id)
Float_t fBlue
Per cent of blue.
Int_t fNbPage
Number of pages.
Int_t fPageFormat
Page format (A4, Letter etc ...)
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.
Float_t fRed
Per cent of red.
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.
static Int_t fgLineJoin
Appearance of joining lines.
Double_t UtoPDF(Double_t u)
Convert U from NDC coordinate to PDF.
Float_t fGreen
Per cent of green.
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.
Float_t fLineScale
Line width scale factor.
void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y)
Draw markers at the n WC points xw, yw.
Int_t * fObjPos
Objets position.
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.
Int_t fPageOrientation
Page orientation (Portrait, Landscape)
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.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
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.
static constexpr double g
void PrintStr(const char *string="")
Output the string str in the output buffer.