Creates new primitives.
The functions in this static class are called by TPad::ExecuteEvent to create new primitives in gPad from the TPad toolbar.
Definition at line 24 of file TCreatePrimitives.h.
Public Member Functions | |
TCreatePrimitives () | |
TCreatePrimitives default constructor. | |
virtual | ~TCreatePrimitives () |
TCreatePrimitives destructor. | |
Static Public Member Functions | |
static void | Ellipse (Int_t event, Int_t px, Int_t py, Int_t mode) |
Create a new arc/ellipse in this gPad. | |
static void | Line (Int_t event, Int_t px, Int_t py, Int_t mode) |
Create a new line/arrow in this gPad. | |
static void | Pad (Int_t event, Int_t px, Int_t py, Int_t) |
Create a new pad in gPad. | |
static void | Pave (Int_t event, Int_t px, Int_t py, Int_t mode) |
Create a new pavetext in gPad. | |
static void | PolyLine (Int_t event, Int_t px, Int_t py, Int_t mode) |
Create a new PolyLine in gPad. | |
static void | Text (Int_t event, Int_t px, Int_t py, Int_t mode) |
Create a new TLatex at the cursor position in gPad. | |
Static Private Attributes | |
static TArc * | fgArc = nullptr |
static TArrow * | fgArrow = nullptr |
static TCurlyArc * | fgCArc = nullptr |
static TCurlyLine * | fgCLine = nullptr |
static TDiamond * | fgDiamond = nullptr |
static TEllipse * | fgEllipse = nullptr |
static TLine * | fgLine = nullptr |
static TBox * | fgPadBBox = nullptr |
static TPave * | fgPave = nullptr |
static TPaveLabel * | fgPaveLabel = nullptr |
static TPavesText * | fgPavesText = nullptr |
static TPaveText * | fgPaveText = nullptr |
static TGraph * | fgPolyLine = nullptr |
static TLatex * | fgText = nullptr |
#include <TCreatePrimitives.h>
TCreatePrimitives::TCreatePrimitives | ( | ) |
TCreatePrimitives default constructor.
Definition at line 51 of file TCreatePrimitives.cxx.
|
virtual |
TCreatePrimitives destructor.
Definition at line 58 of file TCreatePrimitives.cxx.
Create a new arc/ellipse in this gPad.
Definition at line 68 of file TCreatePrimitives.cxx.
Create a new line/arrow in this gPad.
Definition at line 154 of file TCreatePrimitives.cxx.
Create a new pad in gPad.
The new pad is inserted in the pad where the first point is selected.
Definition at line 270 of file TCreatePrimitives.cxx.
Create a new pavetext in gPad.
Definition at line 354 of file TCreatePrimitives.cxx.
Create a new PolyLine in gPad.
Definition at line 570 of file TCreatePrimitives.cxx.
Create a new TLatex at the cursor position in gPad.
Definition at line 659 of file TCreatePrimitives.cxx.
|
staticprivate |
Definition at line 33 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 31 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 32 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 30 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 38 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 34 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 28 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 41 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 35 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 39 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 37 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 36 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 40 of file TCreatePrimitives.h.
|
staticprivate |
Definition at line 29 of file TCreatePrimitives.h.