68 return gPad->PadtoX(is_absolute ?
gPad->AbsPixeltoX(
x) :
gPad->PixeltoX(
x));
73 return ww > 0 && wndc > 0 ? (
x / ww -
gPad->GetAbsXlowNDC()) / wndc : 0.;
76 return pw > 0 ? 1. *
x / pw : 0.;
91 return gPad->PadtoY(is_absolute ?
gPad->AbsPixeltoY(
y) :
gPad->PixeltoY(
y -
gPad->VtoPixel(0)));
96 return wh > 0 && hndc > 0 ? ((1. -
y / wh) -
gPad->GetAbsYlowNDC()) / hndc : 0.;
100 return ph > 0 ? 1. - 1. *
y / ph : 0.;
bool Bool_t
Boolean (0=false, 1=true) (bool)
int Int_t
Signed integer 4 bytes (int)
short Short_t
Signed Short integer 2 bytes (short)
double Double_t
Double 8 bytes.
Double_t GetYCoord(const Int_t y, Bool_t is_ndc=kFALSE, Bool_t is_absolute=kFALSE)
Can return ndc or normal values Also one can specify to use absolute coordinates for input parameter ...
virtual void SetBBoxCenterY(const Int_t y)=0
virtual void SetBBoxCenterX(const Int_t x)=0
virtual void SetBBoxCenter(const TPoint &p)
virtual Rectangle_t GetBBox()=0
virtual TPoint GetBBoxCenter()
Double_t GetXCoord(const Int_t x, Bool_t is_ndc=kFALSE, Bool_t is_absolute=kFALSE)
Return user X coordinate for pixel X value Can return ndc or normal values Also one can specify to us...
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)