11#ifndef ROOT_TCurlyLine
12#define ROOT_TCurlyLine
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Abstract base class for elements drawn in the editor.
Double_t fY1
start y, center for arc
Double_t fWaveLength
wavelength of sinusoid in percent of pad height
Double_t fAmplitude
amplitude of sinusoid in percent of pad height
static void SetDefaultIsCurly(Bool_t IsCurly)
void SetBBoxY1(const Int_t y) override
Double_t GetAmplitude() const
void SetBBoxX2(const Int_t x) override
Int_t fNsteps
used internally (controls precision)
void SetBBoxCenter(const TPoint &p) override
void SetBBoxY2(const Int_t y) override
static Double_t GetDefaultWaveLength()
Rectangle_t GetBBox() override
TPoint GetBBoxCenter() override
static Bool_t GetDefaultIsCurly()
virtual void SetAmplitude(Double_t x)
static void SetDefaultWaveLength(Double_t WaveLength)
virtual void SetEndPoint(Double_t x2, Double_t y2)
void SavePrimitive(std::ostream &out, Option_t *="") override
Save a primitive as a C++ statement(s) on output stream "out".
TCurlyLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t wl=.02, Double_t amp=.01)
Double_t GetStartY() const
static Bool_t fgDefaultIsCurly
default curly type
virtual void SetWaveLength(Double_t WaveLength)
static void SetDefaultAmplitude(Double_t Amplitude)
static Double_t GetDefaultAmplitude()
void SetBBoxX1(const Int_t x) override
Double_t fX1
start x, center for arc
static Double_t fgDefaultWaveLength
default wavelength
void SetBBoxCenterX(const Int_t x) override
Double_t GetWaveLength() const
static Double_t fgDefaultAmplitude
default amplitude
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Computes distance from point (px,py) to the object.
Double_t GetStartX() const
virtual void SetStartPoint(Double_t x1, Double_t y1)
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to an event at (px,py).
Bool_t fIsCurly
true: Gluon, false: Gamma
void SetBBoxCenterY(const Int_t y) override
Rectangle structure (maps to the X11 XRectangle structure).