28 #include <QDataStream>
50 BBoxExpand(
double t = -1,
double r = -1,
double b = -1,
double l = -1)
51 : top(t), right(r), bottom(b), left(l) { }
54 inline bool valid()
const {
return top >= 0 && right >= 0 && bottom >= 0 && left >= 0; }
61 { top = other.
top; right = other.
right; bottom = other.
bottom; left = other.
left;
return *
this; }
67 unsigned long bgcol = qRgba(255,255,255,0),
71 : name(nm), fg_color(fgcol), bg_color(bgcol), mathmode(mmode), preamble(pre),
77 : name(), fg_color(input.fg_color), bg_color(input.bg_color), mathmode(input.mathmode),
78 preamble(input.preamble), dpi(input.dpi), overrideBBoxExpand()
83 : name(o.name), fg_color(o.fg_color), bg_color(o.bg_color), mathmode(o.mathmode),
84 preamble(o.preamble), dpi(o.dpi), overrideBBoxExpand(o.overrideBBoxExpand)