Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TCreatePrimitives.h
Go to the documentation of this file.
1// @(#)root/gpad:$Id: TCreatePrimitives.h
2
3/*************************************************************************
4 * Copyright (C) 1995-2026, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_TCreatePrimitives
12#define ROOT_TCreatePrimitives
13
14#include "TPad.h"
15
17
18private:
19
20 static void ExecuteTwoPoint(TPad &pad, Int_t mode, Int_t event, Int_t px, Int_t py);
21 static void ExecuteText(TPad &pad, Int_t mode, Int_t event, Int_t px, Int_t py);
22 static void ExecutePolyLine(TPad &parent, Int_t mode, Int_t event, Int_t px, Int_t py);
23
24public:
25
26 TCreatePrimitives() = default;
27 virtual ~TCreatePrimitives() = default;
28
29 static void R__DEPRECATED(7,00, "Will be removed from public API") Ellipse(Int_t event, Int_t px, Int_t py,Int_t mode);
30 static void R__DEPRECATED(7,00, "Will be removed from public API") Line(Int_t event, Int_t px, Int_t py, Int_t mode);
31 static void R__DEPRECATED(7,00, "Will be removed from public API") Pad(Int_t event, Int_t px, Int_t py, Int_t);
32 static void R__DEPRECATED(7,00, "Will be removed from public API") Pave(Int_t event, Int_t px, Int_t py, Int_t mode);
33 static void R__DEPRECATED(7,00, "Will be removed from public API") PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode);
34 static void R__DEPRECATED(7,00, "Will be removed from public API") Text(Int_t event, Int_t px, Int_t py, Int_t mode);
35
36 static void ExecuteEvent(TPad &pad, Int_t edit_mode, Int_t event, Int_t px, Int_t py);
37};
38
39#endif
#define R__DEPRECATED(MAJOR, MINOR, REASON)
Definition RConfig.hxx:486
cudaEvent_t event
Creates new primitives.
static void Int_t Int_t py
static void Int_t px
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 Int_t Int_t Int_t mode
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.
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.
TCreatePrimitives()=default
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.
virtual ~TCreatePrimitives()=default
The most important graphics class in the ROOT system.
Definition TPad.h:32