/usr/include/wxSVG/SVGComponentTransferFunctionElement.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 74 75 76 77 78 79 80 81 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGComponentTransferFunctionElement.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_COMPONENT_TRANSFER_FUNCTION_ELEMENT_H
#define WX_SVG_COMPONENT_TRANSFER_FUNCTION_ELEMENT_H
#include "SVGElement.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedNumberList.h"
#include "SVGAnimatedNumber.h"
#include "String_wxsvg.h"
#include "Element.h"
enum wxSVG_FECOMPONENTTRANSFER_TYPE
{
wxSVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0,
wxSVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1,
wxSVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2,
wxSVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3,
wxSVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4,
wxSVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5
};
class wxSVGComponentTransferFunctionElement:
public wxSVGElement
{
protected:
wxSVGAnimatedEnumeration m_type;
wxSVGAnimatedNumberList m_tableValues;
wxSVGAnimatedNumber m_slope;
wxSVGAnimatedNumber m_intercept;
wxSVGAnimatedNumber m_amplitude;
wxSVGAnimatedNumber m_exponent;
wxSVGAnimatedNumber m_offset;
public:
inline const wxSVGAnimatedEnumeration& GetType() const { return m_type; }
inline void SetType(const wxSVGAnimatedEnumeration& n) { m_type = n; }
inline void SetType(unsigned char n) { m_type.SetBaseVal(n); }
inline const wxSVGAnimatedNumberList& GetTableValues() const { return m_tableValues; }
inline void SetTableValues(const wxSVGAnimatedNumberList& n) { m_tableValues = n; }
inline void SetTableValues(const wxSVGNumberList& n) { m_tableValues.SetBaseVal(n); }
inline const wxSVGAnimatedNumber& GetSlope() const { return m_slope; }
inline void SetSlope(const wxSVGAnimatedNumber& n) { m_slope = n; }
inline void SetSlope(float n) { m_slope.SetBaseVal(n); }
inline const wxSVGAnimatedNumber& GetIntercept() const { return m_intercept; }
inline void SetIntercept(const wxSVGAnimatedNumber& n) { m_intercept = n; }
inline void SetIntercept(float n) { m_intercept.SetBaseVal(n); }
inline const wxSVGAnimatedNumber& GetAmplitude() const { return m_amplitude; }
inline void SetAmplitude(const wxSVGAnimatedNumber& n) { m_amplitude = n; }
inline void SetAmplitude(float n) { m_amplitude.SetBaseVal(n); }
inline const wxSVGAnimatedNumber& GetExponent() const { return m_exponent; }
inline void SetExponent(const wxSVGAnimatedNumber& n) { m_exponent = n; }
inline void SetExponent(float n) { m_exponent.SetBaseVal(n); }
inline const wxSVGAnimatedNumber& GetOffset() const { return m_offset; }
inline void SetOffset(const wxSVGAnimatedNumber& n) { m_offset = n; }
inline void SetOffset(float n) { m_offset.SetBaseVal(n); }
public:
wxSVGComponentTransferFunctionElement(wxString tagName = wxT("")):
wxSVGElement(tagName) {}
virtual ~wxSVGComponentTransferFunctionElement() {}
bool HasAttribute(const wxString& name);
wxString GetAttribute(const wxString& name);
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
};
#endif // WX_SVG_COMPONENT_TRANSFER_FUNCTION_ELEMENT_H
|