library: libGraf #include "TLine.h" |
TLine
class description - header file - source file - inheritance tree (.pdf)
public:
TLine()
TLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
TLine(const TLine& line)
virtual ~TLine()
static TClass* Class()
virtual void Copy(TObject& line) const
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual TLine* DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual TLine* DrawLineNDC(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Double_t GetX1() const
Double_t GetX2() const
Double_t GetY1() const
Double_t GetY2() const
virtual TClass* IsA() const
Bool_t IsHorizontal()
Bool_t IsVertical()
virtual void ls(Option_t* option = "") const
TLine& operator=(const TLine&)
virtual void Paint(Option_t* option = "")
virtual void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual void PaintLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
virtual void Print(Option_t* option = "") const
virtual void SavePrimitive(ostream& out, Option_t* option = "")
void SetHorizontal(Bool_t set = kTRUE)
void SetVertical(Bool_t set = kTRUE)
virtual void SetX1(Double_t x1)
virtual void SetX2(Double_t x2)
virtual void SetY1(Double_t y1)
virtual void SetY2(Double_t y2)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Double_t fX1 X of 1st point
Double_t fY1 Y of 1st point
Double_t fX2 X of 2nd point
Double_t fY2 Y of 2nd point
public:
static const enum TLine:: kLineNDC
static const enum TLine:: kVertical
static const enum TLine:: kHorizontal
______________________________________________________________________________
A Graphical line
TLine()
Line default constructor.
~TLine()
Line default destructor.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
This member function is called when a line is clicked with the locator
If Left button clicked on one of the line end points, this point
follows the cursor until button is released.
if Middle button clicked, the line is moved parallel to itself
until the button is released.
void ls(Option_t *)
List this line with its attributes.
Author: Rene Brun 12/12/94
Last update: root/graf:$Name: $:$Id: TLine.cxx,v 1.20 2006/07/03 16:10:45 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.