89 void PrintStr(
const char *
string=
"")
override;
#define ClassDefOverride(name, id)
Option_t Option_t SetLineWidth
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t SetLineColor
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint angle
Option_t Option_t TPoint xy
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint DrawPolyMarker
Option_t Option_t SetFillColor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char y1
void SetLineStyle(Style_t linestyle=1) override
Change the line style.
void Off()
Deactivate an already open PDF file.
void SetMarkerColor(Color_t cindex=1) override
Set color index for markers.
Int_t fType
Workstation type used to know if the PDF is open.
void SetColor(Int_t color=1)
Set color with its color index.
Double_t YtoPDF(Double_t y)
Convert Y from world coordinate to PDF.
void Open(const char *filename, Int_t type=-111) override
Open a PDF file.
void Close(Option_t *opt="") override
Close a PDF file.
TPDF()
Default PDF constructor.
void Range(Float_t xrange, Float_t yrange)
Set the range for the paper in centimetres.
void LineTo(Double_t x, Double_t y)
Draw a line to a new position.
void SetLineCap(Int_t linecap=0)
Set the value of the global parameter TPDF::fgLineCap.
Double_t XtoPDF(Double_t x)
Convert X from world coordinate to PDF.
void WriteReal(Float_t r, Bool_t space=kTRUE) override
Write a Real number to the file.
void SetLineJoin(Int_t linejoin=0)
Set the value of the global parameter TPDF::fgLineJoin.
Double_t CMtoPDF(Double_t u)
void CellArrayEnd() override
End the Cell Array painting.
Int_t fObjPosSize
Real size of fObjPos.
void NewPage() override
Start a new PDF page.
static Bool_t fgObjectIsOpen
Indicates if an object is open.
Float_t fAlpha
Per cent of transparency.
Float_t fLineScale
Line width scale factor.
Float_t fGreen
Per cent of green.
Int_t fPageOrientation
Page orientation (Portrait, Landscape)
void On()
Activate an already open PDF file.
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Draw a Box.
void FontEncode()
Font encoding.
Bool_t fCompress
True when fBuffer must be compressed.
static Int_t fgLineCap
Appearance of line caps.
void DrawPS(Int_t n, Float_t *xw, Float_t *yw) override
Draw a PolyLine.
Float_t fYsize
Page size along Y.
Double_t UtoPDF(Double_t u)
Convert U from NDC coordinate to PDF.
void SetAlpha(Float_t alpha=1.)
Set the alpha channel value.
Float_t fRed
Per cent of red.
Int_t fPageFormat
Page format (A4, Letter etc ...)
Bool_t fRange
True when a range has been defined.
Float_t fBlue
Per cent of blue.
std::vector< float > fAlphas
List of alpha values used.
void MoveTo(Double_t x, Double_t y)
Move to a new position.
void SetLineScale(Float_t scale=1)
Int_t fNbObj
Number of objects.
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) override
Draw a Frame around a box.
void CellArrayFill(Int_t r, Int_t g, Int_t b) override
Paint the Cell Array.
~TPDF() override
Default PDF destructor.
void EndObject()
Close the current opened object.
void PrintStr(const char *string="") override
Output the string str in the output buffer.
Int_t fNbPage
Number of pages.
void SetFillPatterns(Int_t ipat, Int_t color)
Set the fill patterns (1 to 25) for fill areas.
void SetTextColor(Color_t cindex=1) override
Set color index for text.
void DrawPolyLineNDC(Int_t n, TPoints *uv)
Draw a PolyLine in NDC space.
Float_t fXsize
Page size along X.
void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2) override
Begin the Cell Array painting.
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y)
Draw Fill area with hatch styles.
Double_t VtoPDF(Double_t v)
Convert V from NDC coordinate to PDF.
Bool_t fPageNotEmpty
True if the current page is not empty.
void NewObject(Int_t n)
Create a new object in the PDF file.
void DrawPolyLine(Int_t n, TPoints *xy)
Draw a PolyLine.
void Text(Double_t x, Double_t y, const char *string) override
Draw text.
void PatternEncode()
Patterns encoding.
Int_t * fObjPos
Objects position.
void WriteCompressedBuffer()
Write the buffer in a compressed way.
void TextNDC(Double_t u, Double_t v, const char *string)
Write a string of characters in NDC.
static Int_t fgLineJoin
Appearance of joining lines.
void PrintFast(Int_t nch, const char *string="") override
Fast version of Print.
2-D graphics point (world coordinates).
TVirtualPS is an abstract interface to Postscript, PDF, SVG.