library: libCore
#include "TVirtualPS.h"

TVirtualPS


class description - source file - inheritance tree (.pdf)

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

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAttMarker
TAttText
<-
TVirtualPS
<-
TImageDump
TPDF
TPostScript
TSVG
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
virtual ~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 void* GetStream() const virtual Int_t GetType() const virtual TClass* IsA() const virtual void NewPage() virtual void Open(const char* filename, Int_t type = -111) TVirtualPS& operator=(const TVirtualPS&) virtual void PrintFast(Int_t nch, const char* string = "") virtual void PrintStr(const char* string = "") virtual void SetColor(Float_t r, Float_t g, Float_t b) virtual void SetType(Int_t = -111) 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) virtual void WriteInteger(Int_t i, Bool_t space = kTRUE) virtual void WriteReal(Float_t r)

Data Members


    protected:
Int_t fNByte Number of bytes written in the file (PDF) Int_t fLenBuffer Buffer length Int_t fSizBuffer Buffer size Bool_t fPrinted True when a page must be printed ofstream* fStream File stream identifier char* fBuffer File buffer

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)
              void* GetStream() const
               void SetType(Int_t = -111)
              Int_t GetType() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        TVirtualPS& operator=(const TVirtualPS&)


Author: Rene Brun 05/09/99
Last update: root/base:$Name: $:$Id: TVirtualPS.cxx,v 1.13 2005/09/04 08:28:39 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.