[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Member Functions | Public Attributes

KLFStyle::BBoxExpand Struct Reference

a structure memorizing parameters for bbox expansion More...

#include <klfstyle.h>

List of all members.

Public Member Functions

 BBoxExpand (double t=-1, double r=-1, double b=-1, double l=-1)
 BBoxExpand (const BBoxExpand &c)
bool valid () const
const BBoxExpandoperator= (const BBoxExpand &other)
bool operator== (const BBoxExpand &x) const

Public Attributes

double top
double right
double bottom
double left

Detailed Description

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.


Constructor & Destructor Documentation

KLFStyle::BBoxExpand::BBoxExpand ( double  t = -1,
double  r = -1,
double  b = -1,
double  l = -1 
) [inline]

Definition at line 50 of file klfstyle.h.

KLFStyle::BBoxExpand::BBoxExpand ( const BBoxExpand c) [inline]

Definition at line 52 of file klfstyle.h.


Member Function Documentation

const BBoxExpand& KLFStyle::BBoxExpand::operator= ( const BBoxExpand other) [inline]

Definition at line 60 of file klfstyle.h.

References bottom, left, right, and top.

bool KLFStyle::BBoxExpand::operator== ( const BBoxExpand x) const [inline]

Definition at line 62 of file klfstyle.h.

References bottom, left, right, and top.

bool KLFStyle::BBoxExpand::valid ( ) const [inline]

Definition at line 54 of file klfstyle.h.


Member Data Documentation

Definition at line 58 of file klfstyle.h.

Referenced by operator<<(), operator=(), operator==(), and operator>>().

Definition at line 59 of file klfstyle.h.

Referenced by operator<<(), operator=(), operator==(), and operator>>().

Definition at line 57 of file klfstyle.h.

Referenced by operator<<(), operator=(), operator==(), and operator>>().

Definition at line 56 of file klfstyle.h.

Referenced by operator<<(), operator=(), operator==(), and operator>>().


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

Generated by doxygen 1.7.3