|
| TBoxClipped (double a, double b, double c, double d) |
|
virtual void | Paint (Option_t *option) |
|
Definition at line 18 of file View2D.cxx.
evdb::TBoxClipped::TBoxClipped |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d |
|
) |
| |
|
inline |
Definition at line 21 of file View2D.cxx.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
virtual void evdb::TBoxClipped::Paint |
( |
Option_t * |
option | ) |
|
|
inlinevirtual |
Definition at line 22 of file View2D.cxx.
24 const double ux1 = gPad->GetUxmin(), uy1 = gPad->GetUymin();
25 const double ux2 = gPad->GetUxmax(), uy2 = gPad->GetUymax();
28 if(fX1 < ux1 && fX2 < ux1)
return;
29 if(fX1 > ux2 && fX2 > ux2)
return;
32 if(fY1 < uy1 && fY2 < uy1)
return;
33 if(fY1 > uy2 && fY2 > uy2)
return;
37 const double x1 = fX1, y1 = fY1, x2 = fX2, y2 = fY2;
42 if(fX1 < ux1) fX1 = ux1;
43 if(fX2 > ux2) fX2 = ux2;
46 if(fY1 < uy1) fY1 = uy1;
47 if(fY2 > uy2) fY2 = uy2;
53 fX1 = x1; fX2 = x2; fY1 = y1; fY2 = y2;
The documentation for this class was generated from the following file: