This file is indexed.

/usr/include/wxSVG/SVGAnimationElement.h is in libwxsvg-dev 2:1.4~dfsg-2+b1.

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
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
//////////////////////////////////////////////////////////////////////////////
// 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 "SVGAnimatedType.h"
#include "Element.h"


enum wxSVG_ANIMATION_FILL
{
  wxSVG_ANIMATION_FILL_UNKNOWN = 0,
  wxSVG_ANIMATION_FILL_REMOVE = 1,
  wxSVG_ANIMATION_FILL_FREEZE = 2
};


enum wxSVG_ANIMATION_ADDITIVE
{
  wxSVG_ANIMATION_ADDITIVE_UNKNOWN = 0,
  wxSVG_ANIMATION_ADDITIVE_REPLACE = 1,
  wxSVG_ANIMATION_ADDITIVE_SUM = 2
};


enum wxSVG_ANIMATION_ACCUMULATE
{
  wxSVG_ANIMATION_ACCUMULATE_UNKNOWN = 0,
  wxSVG_ANIMATION_ACCUMULATE_NONE = 1,
  wxSVG_ANIMATION_ACCUMULATE_SUM = 2
};

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;
    wxSVGAnimatedType m_from;
    wxSVGAnimatedType m_to;
    wxSVG_ANIMATION_FILL m_fill;
    wxSVG_ANIMATION_ADDITIVE m_additive;
    wxSVG_ANIMATION_ACCUMULATE m_accumulate;

  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 wxSVGAnimatedType& GetFrom() const { return m_from; }
    inline void SetFrom(const wxSVGAnimatedType& n) { m_from = n; }

    inline const wxSVGAnimatedType& GetTo() const { return m_to; }
    inline void SetTo(const wxSVGAnimatedType& n) { m_to = n; }

    inline wxSVG_ANIMATION_FILL GetFill() const { return m_fill; }
    inline void SetFill(const wxSVG_ANIMATION_FILL& n) { m_fill = n; }

    inline wxSVG_ANIMATION_ADDITIVE GetAdditive() const { return m_additive; }
    inline void SetAdditive(const wxSVG_ANIMATION_ADDITIVE& n) { m_additive = n; }

    inline wxSVG_ANIMATION_ACCUMULATE GetAccumulate() const { return m_accumulate; }
    inline void SetAccumulate(const wxSVG_ANIMATION_ACCUMULATE& n) { m_accumulate = n; }

  public:
    wxSVGAnimationElement(wxString tagName = wxT("")):
      wxSVGElement(tagName), m_targetElement(NULL), m_begin(0), m_dur(0), m_fill(wxSVG_ANIMATION_FILL(0)), m_additive(wxSVG_ANIMATION_ADDITIVE(0)), m_accumulate(wxSVG_ANIMATION_ACCUMULATE(0)) {}
    virtual ~wxSVGAnimationElement() {}

    virtual void ApplyAnimation();

    virtual double GetStartTime();
    virtual double GetCurrentTime();
    virtual double GetSimpleDuration();
    bool HasAttribute(const wxString& name) const;
    wxString GetAttribute(const wxString& name) const;
    bool SetAttribute(const wxString& name, const wxString& value);
    wxSvgXmlAttrHash GetAttributes() const;
};

#endif // WX_SVG_ANIMATION_ELEMENT_H