#include <TPDF.h>
Inheritance diagram for TPDF:
Definition at line 30 of file TPDF.h.
TPDF::TPDF | ( | ) |
TPDF::TPDF | ( | const char * | filename, | |
Int_t | type = -111 | |||
) |
Definition at line 131 of file TPDF.cxx.
References fBlue, fCompress, fGreen, fLineScale, fNbObj, fNbPage, fObjPosSize, fPageFormat, fPageNotEmpty, fPageOrientation, fRange, fRed, fStartStream, TVirtualPS::fStream, fType, fXsize, fYsize, kFALSE, Open(), and TNamed::SetTitle().
TPDF::TPDF | ( | ) |
TPDF::TPDF | ( | const char * | filename, | |
Int_t | type = -111 | |||
) |
virtual TPDF::~TPDF | ( | ) | [virtual] |
void TPDF::CellArrayEnd | ( | ) | [virtual] |
void TPDF::Close | ( | Option_t * | opt = "" |
) | [virtual] |
Implements TVirtualPS.
Definition at line 200 of file TPDF.cxx.
References fNbObj, fNbPage, TVirtualPS::fNByte, fObjPos, fStartStream, TVirtualPS::fStream, TNamed::GetTitle(), gPad, gVirtualPS, i, kObjContents, kObjFirstPage, kObjInfo, kObjOutlines, kObjPages, kObjRoot, NewObject(), PrintStr(), snprintf, str, WriteCompressedBuffer(), and TVirtualPS::WriteInteger().
Referenced by TestReport1(), and ~TPDF().
Implements TVirtualPS.
Definition at line 342 of file TPDF.cxx.
References DrawPS(), TAttFill::fFillColor, TAttFill::fFillStyle, TAttLine::fLineColor, PrintFast(), SetColor(), WriteReal(), x, XtoPDF(), y, and YtoPDF().
void TPDF::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] |
Implements TVirtualPS.
Definition at line 398 of file TPDF.cxx.
References i, LineTo(), MoveTo(), PrintFast(), SetColor(), XtoPDF(), and YtoPDF().
Definition at line 463 of file TPDF.cxx.
References TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, i, LineTo(), n, PrintFast(), SetColor(), SetLineStyle(), SetLineWidth(), WriteReal(), XtoPDF(), xy, and YtoPDF().
Definition at line 516 of file TPDF.cxx.
References TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, i, LineTo(), n, PrintFast(), SetColor(), SetLineStyle(), SetLineWidth(), UtoPDF(), VtoPDF(), WriteReal(), and xy.
Implements TVirtualPS.
Definition at line 569 of file TPDF.cxx.
References TAttLine::fLineStyle, TAttLine::fLineWidth, TAttMarker::fMarkerColor, TAttMarker::fMarkerSize, TAttMarker::fMarkerStyle, gPad, i, LineTo(), m, MoveTo(), PrintFast(), SetColor(), SetLineStyle(), SetLineWidth(), UtoPDF(), WriteReal(), XtoPDF(), and YtoPDF().
Implements TVirtualPS.
Definition at line 710 of file TPDF.cxx.
References TAttLine::fLineStyle, TAttLine::fLineWidth, TAttMarker::fMarkerColor, TAttMarker::fMarkerSize, TAttMarker::fMarkerStyle, gPad, i, LineTo(), m, MoveTo(), PrintFast(), SetColor(), SetLineStyle(), SetLineWidth(), UtoPDF(), WriteReal(), XtoPDF(), and YtoPDF().
Implements TVirtualPS.
Definition at line 851 of file TPDF.cxx.
References DrawHatch(), fBlue, TAttFill::fFillColor, TAttFill::fFillStyle, fGreen, TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, fRed, i, LineTo(), n, PrintFast(), SetColor(), SetFillPatterns(), SetLineStyle(), SetLineWidth(), WriteReal(), XtoPDF(), and YtoPDF().
Referenced by DrawBox().
Implements TVirtualPS.
Definition at line 936 of file TPDF.cxx.
References DrawHatch(), fBlue, TAttFill::fFillColor, TAttFill::fFillStyle, fGreen, TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, fRed, i, LineTo(), n, PrintFast(), SetColor(), SetFillPatterns(), SetLineStyle(), SetLineWidth(), WriteReal(), XtoPDF(), and YtoPDF().
Definition at line 1054 of file TPDF.cxx.
References PrintFast(), and WriteReal().
Referenced by DrawFrame(), DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), and DrawPS().
Definition at line 1065 of file TPDF.cxx.
References PrintFast(), and WriteReal().
Referenced by DrawFrame(), and DrawPolyMarker().
void TPDF::FontEncode | ( | ) |
Definition at line 1021 of file TPDF.cxx.
References i, kNumberOfFonts, kObjFont, NewObject(), PrintStr(), and TVirtualPS::WriteInteger().
Referenced by Open().
void TPDF::NewObject | ( | Int_t | n | ) |
Definition at line 1076 of file TPDF.cxx.
References fNbObj, TVirtualPS::fNByte, fObjPos, fObjPosSize, TMath::Max(), PrintStr(), and TVirtualPS::WriteInteger().
Referenced by Close(), FontEncode(), NewPage(), Open(), and PatternEncode().
void TPDF::NewPage | ( | ) | [virtual] |
Implements TVirtualPS.
Definition at line 1100 of file TPDF.cxx.
References CMtoPDF(), fCompress, TAttLine::fLineWidth, fNbPage, TVirtualPS::fNByte, fPageFormat, fPageNotEmpty, fPageOrientation, fStartStream, fXsize, fYsize, TNamed::GetTitle(), gPad, height, kObjContents, kObjFirstPage, kObjPageResources, kObjPages, kTRUE, NewObject(), TMath::Power(), PrintStr(), TMath::Sqrt(), width, WriteCompressedBuffer(), TVirtualPS::WriteInteger(), and WriteReal().
Referenced by Open().
void TPDF::Off | ( | ) |
void TPDF::On | ( | ) |
Definition at line 1273 of file TPDF.cxx.
References TObject::Error(), fType, gVirtualPS, and Off().
void TPDF::Open | ( | const char * | filename, | |
Int_t | type = -111 | |||
) | [virtual] |
Implements TVirtualPS.
Definition at line 1290 of file TPDF.cxx.
References TObject::Error(), fBlue, TVirtualPS::fBuffer, fGreen, TVirtualPS::fLenBuffer, fNbObj, fNbPage, fObjPos, fObjPosSize, FontEncode(), fPageFormat, fPageNotEmpty, fPageOrientation, fRange, fRed, TVirtualPS::fSizBuffer, TVirtualPS::fStream, fType, fXsize, fYsize, TStyle::GetLineScalePS(), TNamed::GetName(), TStyle::GetPaperSize(), TROOT::GetVersion(), gPad, gROOT, gStyle, gVirtualPS, i, kFALSE, kNumberOfFonts, kObjColorSpace, kObjFont, kObjInfo, kObjOutlines, kObjPageResources, kObjPages, kObjPatternList, kObjRoot, NewObject(), NewPage(), out, PatternEncode(), PrintStr(), Range(), ratio, SetLineScale(), snprintf, str, t, TObject::Warning(), and TVirtualPS::WriteInteger().
Referenced by TPDF().
void TPDF::PatternEncode | ( | ) |
Definition at line 1441 of file TPDF.cxx.
References TVirtualPS::fNByte, TVirtualPS::fStream, TStyle::GetColorModelPS(), gStyle, kObjColorSpace, kObjPattern, kObjPatternList, kObjPatternResourses, NewObject(), PrintStr(), and TVirtualPS::WriteInteger().
Referenced by Open().
void TPDF::PrintFast | ( | Int_t | nch, | |
const char * | string = "" | |||
) | [virtual] |
Reimplemented from TVirtualPS.
Definition at line 1865 of file TPDF.cxx.
References TVirtualPS::fBuffer, fCompress, TVirtualPS::fLenBuffer, fPageNotEmpty, TVirtualPS::fSizBuffer, kTRUE, TVirtualPS::PrintFast(), TStorage::ReAllocChar(), and strcpy().
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), DrawPS(), LineTo(), MoveTo(), SetColor(), SetLineStyle(), and SetLineWidth().
void TPDF::PrintStr | ( | const char * | string = "" |
) | [virtual] |
Reimplemented from TVirtualPS.
Definition at line 1842 of file TPDF.cxx.
References TVirtualPS::fBuffer, fCompress, TVirtualPS::fLenBuffer, fPageNotEmpty, TVirtualPS::fSizBuffer, kTRUE, len, TVirtualPS::PrintStr(), TStorage::ReAllocChar(), and strcpy().
Referenced by Close(), FontEncode(), NewObject(), NewPage(), Open(), PatternEncode(), SetFillPatterns(), Text(), and WriteReal().
void TPDF::SetColor | ( | Int_t | color = 1 |
) |
Definition at line 1939 of file TPDF.cxx.
References TColor::GetBlue(), TROOT::GetColor(), TColor::GetGreen(), TColor::GetRed(), and gROOT.
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), DrawPS(), and Text().
Implements TVirtualPS.
Definition at line 1954 of file TPDF.cxx.
References fBlue, fGreen, fRed, TStyle::GetColorModelPS(), gStyle, TMath::Min(), PrintFast(), and WriteReal().
void TPDF::SetFillColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttFill.
Definition at line 2011 of file TPDF.cxx.
References TAttFill::fFillColor, TAttFill::GetFillColor(), and gStyle.
Definition at line 2021 of file TPDF.cxx.
References TColor::GetBlue(), TROOT::GetColor(), TStyle::GetColorModelPS(), TColor::GetGreen(), TColor::GetRed(), gROOT, gStyle, TMath::Min(), PrintStr(), snprintf, and WriteReal().
Referenced by DrawPS().
void TPDF::SetLineColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 2058 of file TPDF.cxx.
References TAttLine::fLineColor.
void TPDF::SetLineScale | ( | Float_t | scale = 1 |
) | [inline] |
void TPDF::SetLineStyle | ( | Style_t | linestyle = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 2067 of file TPDF.cxx.
References TObjArray::At(), TAttLine::fLineStyle, TObjArray::GetEntries(), TStyle::GetLineStyleString(), TNamed::GetName(), gStyle, j, PrintFast(), TString::Tokenize(), and TVirtualPS::WriteInteger().
Referenced by DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), and DrawPS().
void TPDF::SetLineWidth | ( | Width_t | linewidth = 1 |
) | [virtual] |
Reimplemented from TAttLine.
Definition at line 2092 of file TPDF.cxx.
References fLineScale, TAttLine::fLineWidth, PrintFast(), and WriteReal().
Referenced by DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), and DrawPS().
void TPDF::SetMarkerColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttMarker.
Definition at line 2104 of file TPDF.cxx.
References TAttMarker::fMarkerColor.
void TPDF::SetTextColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttText.
Definition at line 2113 of file TPDF.cxx.
References TAttText::fTextColor.
Implements TVirtualPS.
Definition at line 2122 of file TPDF.cxx.
References TMath::Cos(), fCompress, TAttText::fTextAlign, TAttText::fTextAngle, TAttText::fTextColor, TAttText::fTextFont, TAttText::fTextSize, fXsize, fYsize, gPad, h, i, kerning(), kFALSE, kNumberOfFonts, kScale, kTRUE, len, TMath::Pi(), PrintStr(), SetColor(), TMath::Sin(), snprintf, str, t, w, width, TVirtualPS::WriteInteger(), WriteReal(), x, x1, x2, XtoPDF(), y, and YtoPDF().
Referenced by TextNDC().
void TPDF::WriteCompressedBuffer | ( | ) |
Definition at line 2379 of file TPDF.cxx.
References deflate(), deflateEnd(), deflateInit, TObject::Error(), TVirtualPS::fBuffer, fCompress, TVirtualPS::fLenBuffer, TVirtualPS::fNByte, TVirtualPS::fStream, kFALSE, out, PC3::stream(), Z_DEFAULT_COMPRESSION, Z_FINISH, Z_OK, and Z_STREAM_END.
void TPDF::WriteReal | ( | Float_t | r | ) | [virtual] |
Reimplemented from TVirtualPS.
Definition at line 2420 of file TPDF.cxx.
References PrintStr(), snprintf, and str.
Referenced by DrawBox(), DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), DrawPS(), LineTo(), MoveTo(), NewPage(), SetColor(), SetFillPatterns(), SetLineWidth(), and Text().
Definition at line 2339 of file TPDF.cxx.
Referenced by DrawPolyLineNDC(), DrawPolyMarker(), and XtoPDF().
Definition at line 2359 of file TPDF.cxx.
References gPad, u, and UtoPDF().
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyMarker(), DrawPS(), and Text().
Definition at line 2369 of file TPDF.cxx.
References gPad, and VtoPDF().
Referenced by DrawBox(), DrawFrame(), DrawPolyLine(), DrawPolyMarker(), DrawPS(), and Text().
void TPDF::CellArrayBegin | ( | Int_t | W, | |
Int_t | H, | |||
Double_t | x1, | |||
Double_t | x2, | |||
Double_t | y1, | |||
Double_t | y2 | |||
) | [virtual] |
Implements TVirtualPS.
Implements TVirtualPS.
void TPDF::CellArrayEnd | ( | ) | [virtual] |
Implements TVirtualPS.
void TPDF::Close | ( | Option_t * | opt = "" |
) | [virtual] |
Implements TVirtualPS.
Implements TVirtualPS.
void TPDF::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] |
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
Implements TVirtualPS.
void TPDF::FontEncode | ( | ) |
void TPDF::NewObject | ( | Int_t | n | ) |
void TPDF::NewPage | ( | ) | [virtual] |
Implements TVirtualPS.
void TPDF::Off | ( | ) |
void TPDF::On | ( | ) |
void TPDF::Open | ( | const char * | filename, | |
Int_t | type = -111 | |||
) | [virtual] |
Implements TVirtualPS.
void TPDF::PatternEncode | ( | ) |
void TPDF::PrintFast | ( | Int_t | nch, | |
const char * | string = "" | |||
) | [virtual] |
Reimplemented from TVirtualPS.
void TPDF::PrintStr | ( | const char * | string = "" |
) | [virtual] |
Reimplemented from TVirtualPS.
void TPDF::SetColor | ( | Int_t | color = 1 |
) |
Implements TVirtualPS.
void TPDF::SetLineScale | ( | Float_t | scale = 1 |
) | [inline] |
void TPDF::SetMarkerColor | ( | Color_t | cindex = 1 |
) | [virtual] |
Reimplemented from TAttMarker.
Implements TVirtualPS.
void TPDF::WriteCompressedBuffer | ( | ) |
virtual void TPDF::WriteReal | ( | Float_t | r | ) | [virtual] |
Reimplemented from TVirtualPS.
Float_t TPDF::fRed [protected] |
Float_t TPDF::fGreen [protected] |
Float_t TPDF::fBlue [protected] |
Float_t TPDF::fXsize [protected] |
Float_t TPDF::fYsize [protected] |
Int_t TPDF::fType [protected] |
Int_t TPDF::fPageFormat [protected] |
Int_t TPDF::fPageOrientation [protected] |
Int_t TPDF::fStartStream [protected] |
Float_t TPDF::fLineScale [protected] |
Int_t* TPDF::fObjPos [protected] |
Int_t TPDF::fObjPosSize [protected] |
Int_t TPDF::fNbObj [protected] |
Int_t TPDF::fNbPage [protected] |
Bool_t TPDF::fPageNotEmpty [protected] |
Definition at line 47 of file TPDF.h.
Referenced by NewPage(), Open(), PrintFast(), PrintStr(), and TPDF().
Bool_t TPDF::fCompress [protected] |
Definition at line 48 of file TPDF.h.
Referenced by NewPage(), PrintFast(), PrintStr(), Text(), TPDF(), and WriteCompressedBuffer().
Bool_t TPDF::fRange [protected] |
Int_t* TPDF::fObjPos [protected] |