David Urner writes:
> Hello,
> I would like to get the coordinates of a TPad. The idea
> is to get back the coordinates I used in the constructor of
> the TPad, and the changed coordinates if the pad was
> moved.
TPad.h reads:
.. snip ...
Float_t fXlowNDC; //X bottom left corner of pad in NDC [0,1]
Float_t fYlowNDC; //Y bottom left corner of pad in NDC [0,1]
Float_t fWNDC; //Width of pad along X in NDC
Float_t fHNDC; //Height of pad along Y in NDC
Float_t fUxmin; //Minimum value on the X axis
Float_t fUymin; //Minimum value on the Y axis
Float_t fUxmax; //Maximum value on the X axis
Float_t fUymax; //Maximum value on the Y axis
... snip...
Float_t GetXlowNDC() {return fXlowNDC;}
Float_t GetYlowNDC() {return fYlowNDC;}
.... snip
Float_t GetUxmin() {return fUxmin;}
Float_t GetUymin() {return fUymin;}
Float_t GetUxmax() {return fUxmax;}
Float_t GetUymax() {return fUymax;}
I guess this is what you are looking for... - regards, pasha
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET