libpgplotxx.a (C++ interface to PGPLOT)
pgplot::Trect Struct Reference

hold any rectangle More...

#include <structs.h>

Collaboration diagram for pgplot::Trect:

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
 

Detailed Description

hold any rectangle

See also
basic_device::rect
basic_device::svp

Definition at line 130 of file structs.h.


The documentation for this struct was generated from the following file: