From: Fridrich S. <str...@us...> - 2008-07-10 19:39:11
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13048/src/lib Modified Files: WPGPaintInterface.h WPGSVGGenerator.h Log Message: add callbacks for embedded graphics Index: WPGPaintInterface.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGPaintInterface.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- WPGPaintInterface.h 3 Jul 2007 13:03:19 -0000 1.7 +++ WPGPaintInterface.h 10 Jul 2008 19:39:06 -0000 1.8 @@ -55,6 +55,10 @@ virtual void startLayer(unsigned int id) = 0; virtual void endLayer(unsigned int id) = 0; + + virtual void startEmbeddedGraphics(double width, double height) = 0; + + virtual void endEmbeddedGraphics() = 0; virtual void drawRectangle(const WPGRect& rect, double rx, double ry) = 0; Index: WPGSVGGenerator.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGSVGGenerator.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- WPGSVGGenerator.h 3 Jul 2007 13:03:19 -0000 1.7 +++ WPGSVGGenerator.h 10 Jul 2008 19:39:06 -0000 1.8 @@ -43,6 +43,8 @@ void endGraphics(); void startLayer(unsigned int id); void endLayer(unsigned int id); + void startEmbeddedGraphics(double /* imageWidth */, double /* imageHeight */) {} + void endEmbeddedGraphics() {} void setPen(const libwpg::WPGPen& pen); void setBrush(const libwpg::WPGBrush& brush); |