X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.h;h=89e854a833ef2f416162c00002df2e98d1c58de3;hp=ffb761db20079db697d7cea1f04d8f1bcc13b86e;hb=901ea3355265e7f413674a62f7c29806ae35a565;hpb=428f1eb86a616d95dbb72ff08a3d09771d5c47e6 diff --git a/src/document.h b/src/document.h index ffb761d..89e854a 100644 --- a/src/document.h +++ b/src/document.h @@ -13,7 +13,7 @@ namespace IPDF void Load(const std::string & filename = ""); void Save(const std::string & filename); - void Add(Real x, Real y, Real w, Real h); + void Add(ObjectType type, const Rect & bounds); void DebugDumpObjects(); unsigned ObjectCount() const {return m_count;}