////////////////////////////////////////////////////////////////////////////// // Name: SVGCanvasPathAgg.h // Purpose: Agg canvas path // Author: Alex Thuering // Created: 2005/05/20 // RCS-ID: $Id: SVGCanvasPathAgg.h,v 1.4 2006/01/10 12:41:12 ntalex Exp $ // Copyright: (c) 2005 Alex Thuering // Licence: wxWindows licence ////////////////////////////////////////////////////////////////////////////// #ifndef WX_SVG_CANVAS_PATH_AGG_H #define WX_SVG_CANVAS_PATH_AGG_H #include "SVGCanvas.h" #include #include #include #include #include #include #include #include #include using namespace agg; class wxSVGCanvasPathAgg: public wxSVGCanvasPath { public: path_storage m_storage; trans_affine m_transform; typedef conv_curve curved; typedef conv_stroke curved_stroked; typedef conv_transform curved_stroked_trans; typedef conv_transform curved_trans; typedef conv_contour curved_trans_contour; curved m_curved; curved_stroked m_curved_stroked; curved_stroked_trans m_curved_stroked_trans; curved_trans m_curved_trans; curved_trans_contour m_curved_trans_contour; public: wxSVGCanvasPathAgg(); wxSVGCanvasPathAgg(const wxSVGCanvasPathAgg& path); void End() {} void SetStrokeStyle(const wxCSSStyleDeclaration& style); unsigned operator [](unsigned) const { return 0; } wxSVGRect GetBBox(const wxSVGMatrix& matrix = *(wxSVGMatrix*)NULL); wxSVGRect GetResultBBox(const wxCSSStyleDeclaration& style, const wxSVGMatrix& matrix = *(wxSVGMatrix*)NULL); void MoveToImpl(double x, double y); void LineToImpl(double x, double y); void CurveToCubicImpl(double x1, double y1, double x2, double y2, double x, double y); bool ClosePathImpl(); }; #endif // WX_SVG_CANVAS_PATH_AGG_H