1 //////////////////////////////////////////////////////////////////////////////
2 // Name:        SVGGElement.h
3 // Author:      Alex Thuering
4 // Copyright:   (c) 2005 Alex Thuering
5 // Licence:     wxWindows licence
6 // Notes:       generated by generate.py
7 //////////////////////////////////////////////////////////////////////////////
8 
9 #ifndef WX_SVG_G_ELEMENT_H
10 #define WX_SVG_G_ELEMENT_H
11 
12 #include "SVGElement.h"
13 #include "SVGTests.h"
14 #include "SVGLangSpace.h"
15 #include "SVGExternalResourcesRequired.h"
16 #include "SVGStylable.h"
17 #include "SVGTransformable.h"
18 #include "EventTarget.h"
19 #include "String_wxsvg.h"
20 #include "Element.h"
21 #include "SVGAnimatedType.h"
22 
23 class wxSVGGElement:
24   public wxSVGElement,
25   public wxSVGTests,
26   public wxSVGLangSpace,
27   public wxSVGExternalResourcesRequired,
28   public wxSVGStylable,
29   public wxSVGTransformable,
30   public wxEventTarget
31 {
32   public:
33     wxSVGGElement(wxString tagName = wxT("g")):
wxSVGElement(tagName)34       wxSVGElement(tagName) {}
~wxSVGGElement()35     virtual ~wxSVGGElement() {}
36     wxSvgXmlNode* CloneNode(bool deep = true) { return new wxSVGGElement(*this); }
37     wxSVGRect GetBBox(wxSVG_COORDINATES coordinates = wxSVG_COORDINATES_USER) { return wxSVGLocatable::GetChildrenBBox(this, coordinates); }
38     wxSVGRect GetResultBBox(wxSVG_COORDINATES coordinates = wxSVG_COORDINATES_USER) { return wxSVGLocatable::GetChildrenResultBBox(this, coordinates); }
GetCTM()39     wxSVGMatrix GetCTM() { return wxSVGLocatable::GetCTM(this); }
GetScreenCTM()40     wxSVGMatrix GetScreenCTM() { return wxSVGLocatable::GetScreenCTM(this); }
41     bool HasAttribute(const wxString& name) const;
42     wxString GetAttribute(const wxString& name) const;
43     bool SetAttribute(const wxString& name, const wxString& value);
44     wxSvgXmlAttrHash GetAttributes() const;
45     bool SetAnimatedValue(const wxString& name, const wxSVGAnimatedType& value);
GetDtd()46     virtual wxSVGDTD GetDtd() const { return wxSVG_G_ELEMENT; }
47 };
48 
49 #endif // WX_SVG_G_ELEMENT_H
50