12 #ifndef ROOT_TPostScript
13 #define ROOT_TPostScript
25 #ifndef ROOT_TVirtualPS
virtual ~TPostScript()
Default PostScript destructor.
void DrawPolyLine(Int_t n, TPoints *xy)
Draw a PolyLine.
void Text(Double_t x, Double_t y, const char *string)
Write a string of characters.
void On()
Activate an already open PostScript file.
void DrawPolyLineNDC(Int_t n, TPoints *uv)
Draw a PolyLine in NDC space.
void DefineMarkers()
Define the markers.
void CellArrayFill(Int_t r, Int_t g, Int_t b)
Paint the Cell Array.
static const char * filename()
void DrawPS(Int_t n, Float_t *xw, Float_t *yw)
Draw a PolyLine.
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw a Box.
void FontEmbed()
Embed font in PS file.
bool FontEmbedType42(const char *filename)
void SetLineStyle(Style_t linestyle=1)
Change the line style.
static const double x2[5]
void SetLineWidth(Width_t linewidth=1)
Change the line width.
void Open(const char *filename, Int_t type=-111)
Open a PostScript file.
bool FontEmbedType2(const char *filename)
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 MovePS(Int_t x, Int_t y)
Move to a new position.
Int_t UtoPS(Double_t u)
Convert U from NDC coordinate to PostScript.
void Range(Float_t xrange, Float_t yrange)
Set the range for the paper in centimeters.
void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y)
Draw markers at the n WC points x, y.
void TextNDC(Double_t u, Double_t v, const char *string)
Write a string of characters in NDC.
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y)
Draw Fill area with hatch styles.
void SetMarkerColor(Color_t cindex=1)
Set color index for markers.
void SetLineJoin(Int_t linejoin=0)
Set the value of the global parameter TPostScript::fgLineJoin.
void FontEncode()
Font Re-encoding.
void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2)
Draw a Cell Array.
2-D graphics point (world coordinates).
void SaveRestore(Int_t flag)
Compute number of gsaves for restore This allows to write the correct number of grestore at the end o...
Int_t YtoPS(Double_t y)
Convert Y from world coordinate to PostScript.
static const double x1[5]
void Off()
Deactivate an already open PostScript file.
void SetFillPatterns(Int_t ipat, Int_t color)
Patterns definition.
bool FontEmbedType1(const char *filename)
void Zone()
Initialize the PostScript page in zones.
void SetColor(Int_t color=1)
Set the current color.
void SetLineScale(Float_t scale=3)
Int_t VtoPS(Double_t v)
Convert V from NDC coordinate to PostScript.
void Close(Option_t *opt="")
Close a PostScript file.
void SetFillColor(Color_t cindex=1)
Set color index for fill areas.
void Initialize()
PostScript Initialisation.
void NewPage()
Move to a new PostScript page.
TVirtualPS is an abstract interface to Postscript, PDF, SVG.
Int_t XtoPS(Double_t x)
Convert X from world coordinate to PostScript.
void SetTextColor(Color_t cindex=1)
Set color index for text.
void SetLineColor(Color_t cindex=1)
Set color index for lines.