libpgplotxx.a (C++ interface to PGPLOT)

◆ shift() [1/2]

Trect& pgplot::Trect::shift ( const float &  dx,
const float &  dy 
)
inline

shift rectangle by dx and dy

Definition at line 172 of file structs.h.

References pgplot::Trange::max, pgplot::Trange::min, x, and y.

Referenced by shift().

173  { x.min+=dx; x.max+=dx; y.min+=dy; y.max+=dy; return(*this); }
Trange x
coordinate ranges
Definition: structs.h:132
Trange y
Definition: structs.h:132
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44
Here is the caller graph for this function: