X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.h;h=eb8710effb95ba29c73c1eab48bdcb7eecfd71a9;hp=df818f2a69b5eb896c51fe3060b3e2f2042cfbf8;hb=e7066887c0d142ddef87ec9ae07ef08ff31573dc;hpb=d83560835237d360f6d12776435e91676c8ab45f diff --git a/src/document.h b/src/document.h index df818f2..eb8710e 100644 --- a/src/document.h +++ b/src/document.h @@ -52,11 +52,11 @@ namespace IPDF bool operator==(const Document & equ) const; bool operator!=(const Document & equ) const {return !(this->operator==(equ));} - unsigned AddGroup(unsigned start_index, unsigned end_index, const Colour & shading=Colour(0.1,0.1,0.1,1)); + unsigned AddPath(unsigned start_index, unsigned end_index, const Colour & shading=Colour(0.6,0.6,0.6,1), const Colour & stroke=Colour(0,0,0,0)); unsigned AddBezier(const Bezier & bezier); unsigned Add(ObjectType type, const Rect & bounds, unsigned data_index = 0); unsigned AddBezierData(const Bezier & bezier); - unsigned AddGroupData(const Group & group); + unsigned AddPathData(const Path & path); /** SVG Related functions **/