/usr/include/wxSVG/SVGGradientElement.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 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGGradientElement.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_GRADIENT_ELEMENT_H
#define WX_SVG_GRADIENT_ELEMENT_H
#include "SVGElement.h"
#include "SVGURIReference.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGStylable.h"
#include "SVGUnitTypes.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedTransformList.h"
#include "String_wxsvg.h"
#include "Element.h"
enum wxSVG_SPREADMETHOD
{
wxSVG_SPREADMETHOD_UNKNOWN = 0,
wxSVG_SPREADMETHOD_PAD = 1,
wxSVG_SPREADMETHOD_REFLECT = 2,
wxSVG_SPREADMETHOD_REPEAT = 3
};
class wxSVGGradientElement:
public wxSVGElement,
public wxSVGURIReference,
public wxSVGExternalResourcesRequired,
public wxSVGStylable,
public wxSVGUnitTypes
{
protected:
wxSVGAnimatedEnumeration m_gradientUnits;
wxSVGAnimatedTransformList m_gradientTransform;
wxSVGAnimatedEnumeration m_spreadMethod;
public:
inline const wxSVGAnimatedEnumeration& GetGradientUnits() const { return m_gradientUnits; }
inline void SetGradientUnits(const wxSVGAnimatedEnumeration& n) { m_gradientUnits = n; }
inline void SetGradientUnits(unsigned char n) { m_gradientUnits.SetBaseVal(n); }
inline const wxSVGAnimatedTransformList& GetGradientTransform() const { return m_gradientTransform; }
inline void SetGradientTransform(const wxSVGAnimatedTransformList& n) { m_gradientTransform = n; }
inline void SetGradientTransform(const wxSVGTransformList& n) { m_gradientTransform.SetBaseVal(n); }
inline const wxSVGAnimatedEnumeration& GetSpreadMethod() const { return m_spreadMethod; }
inline void SetSpreadMethod(const wxSVGAnimatedEnumeration& n) { m_spreadMethod = n; }
inline void SetSpreadMethod(unsigned char n) { m_spreadMethod.SetBaseVal(n); }
public:
wxSVGGradientElement(wxString tagName = wxT("")):
wxSVGElement(tagName) {}
virtual ~wxSVGGradientElement() {}
bool HasAttribute(const wxString& name);
wxString GetAttribute(const wxString& name);
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
};
#endif // WX_SVG_GRADIENT_ELEMENT_H
|