/usr/include/wxSVG/SVGAnimationElement.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 61 62 63 64 65 66 67 68 69 70 71 72 73 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGAnimationElement.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_ANIMATION_ELEMENT_H
#define WX_SVG_ANIMATION_ELEMENT_H
class wxSVGElement;
#include "SVGElement.h"
#include "SVGTests.h"
#include "SVGExternalResourcesRequired.h"
#include "ElementTimeControl.h"
#include "EventTarget.h"
#include "String_wxsvg.h"
#include "SVGLength.h"
#include "Element.h"
class wxSVGAnimationElement:
public wxSVGElement,
public wxSVGTests,
public wxSVGExternalResourcesRequired,
public wxElementTimeControl,
public wxEventTarget
{
protected:
wxSVGElement* m_targetElement;
wxString m_attributeName;
double m_begin;
double m_dur;
wxSVGLength m_from;
wxSVGLength m_to;
public:
inline wxSVGElement* GetTargetElement() const { return m_targetElement; }
inline void SetTargetElement(wxSVGElement* n) { m_targetElement = n; }
inline const wxString& GetAttributeName() const { return m_attributeName; }
inline void SetAttributeName(const wxString& n) { m_attributeName = n; }
inline double GetBegin() const { return m_begin; }
inline void SetBegin(double n) { m_begin = n; }
inline double GetDur() const { return m_dur; }
inline void SetDur(double n) { m_dur = n; }
inline const wxSVGLength& GetFrom() const { return m_from; }
inline void SetFrom(const wxSVGLength& n) { m_from = n; }
inline const wxSVGLength& GetTo() const { return m_to; }
inline void SetTo(const wxSVGLength& n) { m_to = n; }
public:
wxSVGAnimationElement(wxString tagName = wxT("")):
wxSVGElement(tagName), m_targetElement(NULL), m_begin(0), m_dur(0) {}
virtual ~wxSVGAnimationElement() {}
void ApplyAnimation();
virtual double GetStartTime();
virtual double GetCurrentTime();
virtual double GetSimpleDuration();
bool HasAttribute(const wxString& name);
wxString GetAttribute(const wxString& name);
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
};
#endif // WX_SVG_ANIMATION_ELEMENT_H
|