TVirtualPS


class description - source file - inheritance tree

class TVirtualPS : public TNamed, public TAttLine, public TAttFill, public TAttMarker, public TAttText


    public:
virtual void ~TVirtualPS() virtual void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2) virtual void CellArrayEnd() virtual void CellArrayFill(Int_t r, Int_t g, Int_t b) static TClass* Class() virtual void Close(Option_t* opt) virtual void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual 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) virtual void DrawPolyMarker(Int_t n, Float_t* x, Float_t* y) virtual void DrawPolyMarker(Int_t n, Double_t* x, Double_t* y) virtual void DrawPS(Int_t n, Float_t* xw, Float_t* yw) virtual void DrawPS(Int_t n, Double_t* xw, Double_t* yw) virtual TClass* IsA() const virtual void NewPage() virtual void Open(const char* filename, Int_t type = -111) void PrintFast(Int_t nch, const char* string) void PrintStr(const char* string) virtual void SetColor(Float_t r, Float_t g, Float_t b) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void Text(Double_t x, Double_t y, const char* string) void WriteInteger(Int_t i, Bool_t space = kTRUE) void WriteReal(Float_t r)

Data Members


    protected:
Int_t fLenBuffer Buffer length Bool_t fPrinted True when a page must be printed ofstream* fStream File stream identifier char fBuffer[512] File buffer


See also

TPostScript, TSVG

Class Description

                                                                      
 TVirtualPS is an abstract interface to a Postscript and SVG drivers  
                                                                      


~TVirtualPS()
 VirtualPS destructor

void PrintStr(const char *str)
 Output the string str in the output buffer

void PrintFast(Int_t len, const char *str)
 Fast version of Print

void WriteInteger(Int_t n, Bool_t space )
 Write one Integer to the file

 n: Integer to be written in the file.
 space: If TRUE, a space in written before the integer.

void WriteReal(Float_t z)
 Write a Real number to the file



Inline Functions


               void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2)
               void CellArrayFill(Int_t r, Int_t g, Int_t b)
               void CellArrayEnd()
               void Close(Option_t* opt)
               void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
               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)
               void DrawPolyMarker(Int_t n, Float_t* x, Float_t* y)
               void DrawPolyMarker(Int_t n, Double_t* x, Double_t* y)
               void DrawPS(Int_t n, Float_t* xw, Float_t* yw)
               void DrawPS(Int_t n, Double_t* xw, Double_t* yw)
               void NewPage()
               void Open(const char* filename, Int_t type = -111)
               void Text(Double_t x, Double_t y, const char* string)
               void SetColor(Float_t r, Float_t g, Float_t b)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 05/09/99
Last update: root/base:$Name: $:$Id: TVirtualPS.cxx,v 1.5 2003/01/20 08:44:46 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.