a structure memorizing parameters for bbox expansion More...
#include <klfstyle.h>
Public Member Functions | |
BBoxExpand (double t=-1, double r=-1, double b=-1, double l=-1) | |
BBoxExpand (const BBoxExpand &c) | |
bool | valid () const |
const BBoxExpand & | operator= (const BBoxExpand &other) |
bool | operator== (const BBoxExpand &x) const |
Public Attributes | |
double | top |
double | right |
double | bottom |
double | left |
a structure memorizing parameters for bbox expansion
Stores how much to expand (EPS) BBox in each of top, right, bottom, and left directions, in units of Postscript Points.
BBox expansion is done in KLFBackend::getLatexFormula() to add margins on the sides of the resulting image.
Type is stored as double
for now, however the backend requires integer values. This is to allow for future improvement of klfbackend to accept float values.
Definition at line 49 of file klfstyle.h.
|
inline |
Definition at line 50 of file klfstyle.h.
|
inline |
Definition at line 52 of file klfstyle.h.
|
inline |
|
inline |
|
inline |
Definition at line 54 of file klfstyle.h.
double KLFStyle::BBoxExpand::bottom |
Definition at line 58 of file klfstyle.h.
Referenced by operator<<(), operator=(), operator==(), and operator>>().
double KLFStyle::BBoxExpand::left |
Definition at line 59 of file klfstyle.h.
Referenced by operator<<(), operator=(), operator==(), and operator>>().
double KLFStyle::BBoxExpand::right |
Definition at line 57 of file klfstyle.h.
Referenced by operator<<(), operator=(), operator==(), and operator>>().
double KLFStyle::BBoxExpand::top |
Definition at line 56 of file klfstyle.h.
Referenced by operator<<(), operator=(), operator==(), and operator>>().