libpgplotxx.a (C++ interface to PGPLOT)
|
hold any rectangle More...
#include <structs.h>
Public Member Functions | |
Trect (const float &xmin, const float &xmax, const float &ymin, const float &ymax) | |
set constructor More... | |
Trect (const Trect &rect) | |
copy constructor More... | |
Trect (const Trange &thex, const Trange &they) | |
set constructor More... | |
Trect () | |
default constructor More... | |
Trect & | lcutf (const float &fraction) |
fractional cut at left edge More... | |
Trect & | rcutf (const float &fraction) |
fractional cut at right edge More... | |
Trect & | tcutf (const float &fraction) |
fractional cut at top edge More... | |
Trect & | bcutf (const float &fraction) |
fractional cut at bottom edge More... | |
Trect & | lcut (const float &fraction) |
absolute cut at left edge More... | |
Trect & | rcut (const float &fraction) |
absolute cut at right edge More... | |
Trect & | tcut (const float &fraction) |
absolute cut at top edge More... | |
Trect & | bcut (const float &fraction) |
absolute cut at bottom edge More... | |
Trect & | shrinkf (const Trect &rect) |
fractional shrink/expand More... | |
Trect & | shift (const float &dx, const float &dy) |
shift rectangle by dx and dy More... | |
Trect & | shift (const Trange &off) |
shift rectangle - uses off.min=dx and off.max=dy More... | |
Trect & | operator*= (const Trect &rect) |
scale relative to other rect (for viewport calculations) More... | |
Public Attributes | |
Trange | x |
coordinate ranges More... | |
Trange | y |
hold any rectangle