/usr/include/wxSVG/SVGTransformable.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 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGTransformable.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_TRANSFORMABLE_H
#define WX_SVG_TRANSFORMABLE_H
#include "SVGLocatable.h"
#include "SVGAnimatedTransformList.h"
#include "String_wxsvg.h"
#include "Element.h"
#include "SVGAnimatedType.h"
class wxSVGTransformable:
public wxSVGLocatable
{
protected:
wxSVGAnimatedTransformList m_transform;
public:
inline const wxSVGAnimatedTransformList& GetTransform() const { return m_transform; }
inline void SetTransform(const wxSVGAnimatedTransformList& n) { m_transform = n; }
inline void SetTransform(const wxSVGTransformList& n) { m_transform.SetBaseVal(n); }
public:
virtual ~wxSVGTransformable() {}
void Transform(const wxSVGMatrix& matrix);
void Translate(double tx, double ty);
void Scale(double s);
void Scale(double sx, double sy);
void Rotate(double angle, double cx = 0, double cy = 0);
void SkewX(double angle);
void SkewY(double angle);
void UpdateMatrix(wxSVGMatrix& matrix) const;
static wxSVGTransformable* GetSVGTransformable(wxSVGElement& element);
static const wxSVGTransformable* GetSVGTransformable(const wxSVGElement& element);
bool HasAttribute(const wxString& name) const;
wxString GetAttribute(const wxString& name) const;
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
bool SetAnimatedValue(const wxString& name, const wxSVGAnimatedType& value);
protected:
inline wxSVGAnimatedTransformList& GetTransformList() { return m_transform; }
friend class wxSVGAnimateTransformElement;
};
#endif // WX_SVG_TRANSFORMABLE_H
|