12#ifndef ROOT_TPostScript 
   13#define ROOT_TPostScript 
   97                  Int_t light) 
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
 
2-D graphics point (world coordinates).
 
void DefineMarkers()
Define the markers.
 
Float_t fXsize
Page size along X.
 
Int_t fIYzone
Current zone along Y.
 
Int_t fType
PostScript workstation type.
 
TPostScript()
Default PostScript constructor.
 
Int_t VtoPS(Double_t v)
Convert V from NDC coordinate to PostScript.
 
void CellArrayEnd() override
End the Cell Array painting.
 
static Int_t fgLineCap
Appearance of line caps.
 
void SetMarkerColor(Color_t cindex=1) override
Set color index for markers.
 
Int_t fNBSameColorCell
Number of boxes with the same color.
 
void SetColor(Int_t color=1)
Set the current color.
 
Int_t fMode
PostScript mode.
 
Int_t fIXzone
Current zone along X.
 
void DrawPolyLineNDC(Int_t n, TPoints *uv)
Draw a PolyLine in NDC space.
 
void FontEncode()
Font Re-encoding.
 
Int_t fLastCellBlue
Last blue value.
 
Int_t fNbCellW
Number of boxes per line.
 
Float_t fX1v
X bottom left corner of paper.
 
Float_t fRed
Per cent of red.
 
Int_t fCurrentColor
current Postscript color index
 
void DrawPS(Int_t n, Float_t *xw, Float_t *yw) override
Draw a PolyLine.
 
Bool_t fClipStatus
Clipping Indicator.
 
Float_t fLineScale
Line width scale factor.
 
Float_t fMarkerSizeCur
current transformed value of marker size
 
Bool_t fZone
Zone indicator.
 
void Open(const char *filename, Int_t type=-111) override
Open a PostScript file.
 
void SetFillPatterns(Int_t ipat, Int_t color)
Patterns definition.
 
Int_t fLastCellRed
Last red value.
 
void Off()
Deactivate an already open PostScript file.
 
Int_t YtoPS(Double_t y)
Convert Y from world coordinate to PostScript.
 
Bool_t fRange
True when a range has been defined.
 
Float_t fBlue
Per cent of blue.
 
void Text(Double_t x, Double_t y, const char *string) override
Write a string of characters.
 
void MovePS(Int_t x, Int_t y)
Move to a new position.
 
void Initialize()
PostScript Initialisation.
 
bool FontEmbedType2(const char *filename)
 
Int_t fNbCellLine
Number of boxes in the current line.
 
Float_t fMaxsize
Largest dimension of X and Y.
 
Int_t fClip
Clipping mode.
 
TString fFileName
PS file name.
 
Int_t fNYzone
Number of zones along Y.
 
bool FontEmbedType1(const char *filename)
 
Float_t fGreen
Per cent of green.
 
void SetLineStyle(Style_t linestyle=1) override
Change the line style.
 
void SetLineCap(Int_t linecap=0)
Set the value of the global parameter TPostScript::fgLineCap.
 
void NewPage() override
Move to a new PostScript page.
 
void DrawPolyLine(Int_t n, TPoints *xy)
Draw a PolyLine.
 
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Draw a Box.
 
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y)
Draw Fill area with hatch styles.
 
Int_t UtoPS(Double_t u)
Convert U from NDC coordinate to PostScript.
 
Bool_t fFontEmbed
True is FontEmbed has been called.
 
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.
 
Int_t fSave
Number of gsave for restore.
 
void CellArrayFill(Int_t r, Int_t g, Int_t b) override
Paint the Cell Array.
 
void SetTextColor(Color_t cindex=1) override
Set color index for text.
 
void On()
Activate an already open PostScript file.
 
bool FontEmbedType42(const char *filename)
 
void TextNDC(Double_t u, Double_t v, const char *string)
Write a string of characters in NDC.
 
Int_t fNXzone
Number of zones along X.
 
void SetLineScale(Float_t scale=3)
 
Bool_t fBoundingBox
True for Encapsulated PostScript.
 
Int_t XtoPS(Double_t x)
Convert X from world coordinate to PostScript.
 
virtual ~TPostScript()
Default PostScript destructor.
 
char fPatterns[32]
Indicate if pattern n is defined.
 
Int_t fNbinCT
Number of entries in the current Cell Array.
 
static Int_t fgLineJoin
Appearance of joining lines.
 
Float_t fY2v
Y top right corner of paper.
 
Int_t fLastCellGreen
Last green value.
 
Float_t fY1v
Y bottom left corner of paper.
 
void SaveRestore(Int_t flag)
Compute number of gsaves for restore This allows to write the correct number of grestore at the end o...
 
Bool_t fClear
True when page must be cleared.
 
Int_t fMaxLines
Maximum number of lines in a PS array.
 
void Zone()
Initialize the PostScript page in zones.
 
void SetLineJoin(Int_t linejoin=0)
Set the value of the global parameter TPostScript::fgLineJoin.
 
void Range(Float_t xrange, Float_t yrange)
Set the range for the paper in centimeters.
 
void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2) override
Draw a Cell Array.
 
Float_t fX2v
X top right corner of paper.
 
void FontEmbed()
Embed font in PS file.
 
void Close(Option_t *opt="") override
Close a PostScript file.
 
Int_t fNpages
number of pages
 
Float_t fYsize
Page size along Y.
 
TVirtualPS is an abstract interface to Postscript, PDF, SVG.