Viewport (pixel base) 2D rectangle class.
Definition at line 421 of file TGLUtil.h.
|
| TGLRect () |
| Positive width/height.
|
|
| TGLRect (Int_t x, Int_t y, Int_t width, Int_t height) |
| Construct rect object, corner (x,y), dimensions 'width', 'height'.
|
|
| TGLRect (Int_t x, Int_t y, UInt_t width, UInt_t height) |
| Construct rect object, corner (x,y), dimensions 'width', 'height'.
|
|
virtual | ~TGLRect () |
| Destroy rect object.
|
|
Double_t | Aspect () const |
|
Int_t | Bottom () const |
|
Int_t * | CArr () |
|
const Int_t * | CArr () const |
|
Int_t | CenterX () const |
|
Int_t | CenterY () const |
|
Int_t | Diagonal () const |
| Return the diagonal of the rectangle.
|
|
void | Expand (Int_t x, Int_t y) |
| Expand the rect to encompass point (x,y)
|
|
Int_t & | Height () |
|
Int_t | Height () const |
|
virtual TClass * | IsA () const |
|
Int_t | Left () const |
|
Int_t | Longest () const |
|
void | Offset (Int_t dX, Int_t dY) |
|
Rgl::EOverlap | Overlap (const TGLRect &other) const |
| Return overlap result (kInside, kOutside, kPartial) of this rect with 'other'.
|
|
Int_t | Right () const |
|
void | Set (Int_t x, Int_t y, Int_t width, Int_t height) |
|
void | SetCorner (Int_t x, Int_t y) |
|
virtual void | Streamer (TBuffer &) |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
Int_t | Top () const |
|
Int_t & | Width () |
|
Int_t | Width () const |
|
Int_t & | X () |
|
Int_t | X () const |
|
Int_t & | Y () |
|
Int_t | Y () const |
|