double width() { return x_max - x_min; }
double height() { return y_max - y_min; }
void transform(pdf_matrix &m);
+ BBox transformed(pdf_matrix &m);
+ void enlarge(double by);
+ BBox enlarged(double by);
void join(BBox &with);
+ void intersect(BBox &with);
private:
bool parse(QPDFObjectHandle h);
};
QPDFObjectHandle unicode_string(std::string s);
QPDFObjectHandle page_to_xobject(QPDF *out, QPDFObjectHandle page);
+string pdf_coord(double x, uint digits=1);
#endif