Creates new primitives.
The functions in this static class are called by TPad::ExecuteEvent to create new primitives from the TCanvas toolbar.
Definition at line 16 of file TCreatePrimitives.h.
|
| static void | ExecuteEvent (TPad &pad, Int_t edit_mode, Int_t event, Int_t px, Int_t py) |
| | Handle edit mode in the TPad Executed when editmode is not 0.
|
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") Ellipse(Int_t event |
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") Line(Int_t event |
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") Pad(Int_t event |
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") Pave(Int_t event |
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") PolyLine(Int_t event |
| |
| static void | R__DEPRECATED (7, 00, "Will be removed from public API") Text(Int_t event |
| |
|
| static void | ExecutePolyLine (TPad &parent, Int_t mode, Int_t event, Int_t px, Int_t py) |
| | Create a new TGraph or TCutG in the pad.
|
| |
| static void | ExecuteText (TPad &pad, Int_t mode, Int_t event, Int_t px, Int_t py) |
| | Create a new TLatex or TMarker at the cursor position in the provided pad.
|
| |
| static void | ExecuteTwoPoint (TPad &pad, Int_t mode, Int_t event, Int_t px, Int_t py) |
| | Create a new line/arrow/pave/subpad in the specified pad.
|
| |
#include <TCreatePrimitives.h>
◆ TCreatePrimitives()
| TCreatePrimitives::TCreatePrimitives |
( |
| ) |
|
|
default |
◆ ~TCreatePrimitives()
| virtual TCreatePrimitives::~TCreatePrimitives |
( |
| ) |
|
|
virtualdefault |
◆ ExecuteEvent()
◆ ExecutePolyLine()
Create a new TGraph or TCutG in the pad.
- Click left button to indicate a new point.
- Click left button at same place or double click to close the polyline.
Definition at line 448 of file TCreatePrimitives.cxx.
◆ ExecuteText()
Create a new TLatex or TMarker at the cursor position in the provided pad.
- Click left button to indicate the text position.
- Type text
- Press Enter or click mouse once again to stop editing
Definition at line 534 of file TCreatePrimitives.cxx.
◆ ExecuteTwoPoint()
Create a new line/arrow/pave/subpad in the specified pad.
- Click left button to indicate object start position.
- Move mouse pointer when left button pressed to specify second position
- Release left button to stop position/size change
- for TPaveText, TPavesText, TPaveLabel text editing started until Enter key is pressed
Definition at line 209 of file TCreatePrimitives.cxx.
◆ R__DEPRECATED() [1/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ R__DEPRECATED() [2/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ R__DEPRECATED() [3/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ R__DEPRECATED() [4/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ R__DEPRECATED() [5/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ R__DEPRECATED() [6/6]
| static void TCreatePrimitives::R__DEPRECATED |
( |
7 | , |
|
|
00 | , |
|
|
"Will be removed from public API" | ) |
|
static |
◆ Int_t
◆ mode
◆ px
| static void Int_t TCreatePrimitives::px |
◆ py
The documentation for this class was generated from the following files: