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...
 
Trectlcutf (const float &fraction)
 fractional cut at left edge More...
 
Trectrcutf (const float &fraction)
 fractional cut at right edge More...
 
Trecttcutf (const float &fraction)
 fractional cut at top edge More...
 
Trectbcutf (const float &fraction)
 fractional cut at bottom edge More...
 
Trectlcut (const float &fraction)
 absolute cut at left edge More...
 
Trectrcut (const float &fraction)
 absolute cut at right edge More...
 
Trecttcut (const float &fraction)
 absolute cut at top edge More...
 
Trectbcut (const float &fraction)
 absolute cut at bottom edge More...
 
Trectshrinkf (const Trect &rect)
 fractional shrink/expand More...
 
Trectshift (const float &dx, const float &dy)
 shift rectangle by dx and dy More...
 
Trectshift (const Trange &off)
 shift rectangle - uses off.min=dx and off.max=dy More...
 
Trectoperator*= (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: