/usr/include/wxSVG/SVGElement.h is in libwxsvg-dev 2:1.2~dfsg0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGElement.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_ELEMENT_H
#define WX_SVG_ELEMENT_H
class wxSVGSVGElement;
class wxSVGElement;
class wxSVGDocument;
#include "Element.h"
#include "String_wxsvg.h"
#include "SVGDTD.h"
class wxSVGElement:
public wxSvgXmlElement
{
protected:
wxString m_id;
wxString m_xmlbase;
wxSVGSVGElement* m_ownerSVGElement;
wxSVGElement* m_viewportElement;
public:
inline const wxString& GetId() const { return m_id; }
inline void SetId(const wxString& n) { m_id = n; }
inline const wxString& GetXmlbase() const { return m_xmlbase; }
inline void SetXmlbase(const wxString& n) { m_xmlbase = n; }
inline wxSVGSVGElement* GetOwnerSVGElement() const { return m_ownerSVGElement; }
inline void SetOwnerSVGElement(wxSVGSVGElement* n) { m_ownerSVGElement = n; }
inline wxSVGElement* GetViewportElement() const { return m_viewportElement; }
inline void SetViewportElement(wxSVGElement* n) { m_viewportElement = n; }
public:
virtual wxSVGElement* GetSvgElement(){return this;}
wxSVGElement(wxString tagName = wxT("")):
wxSvgXmlElement(wxSVGXML_ELEMENT_NODE, tagName),
m_ownerSVGElement(NULL), m_viewportElement(NULL) { }
virtual ~wxSVGElement() {}
virtual wxSVGDTD GetDtd() const = 0;
virtual void AddProperty(const wxString& name, const wxString& value)
{ SetAttribute(name, value); }
public:
bool HasAttribute(const wxString& name);
wxString GetAttribute(const wxString& name);
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
};
#endif // WX_SVG_ELEMENT_H
|