/usr/include/wxSVG/SVGTransform.h is in libwxsvg-dev 2:1.1.6~dfsg-1.
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 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGTransform.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_TRANSFORM_H
#define WX_SVG_TRANSFORM_H
#include "SVGMatrix.h"
#include "String_wxsvg.h"
enum wxSVG_TRANSFORM
{
wxSVG_TRANSFORM_UNKNOWN = 0,
wxSVG_TRANSFORM_MATRIX = 1,
wxSVG_TRANSFORM_TRANSLATE = 2,
wxSVG_TRANSFORM_SCALE = 3,
wxSVG_TRANSFORM_ROTATE = 4,
wxSVG_TRANSFORM_SKEWX = 5,
wxSVG_TRANSFORM_SKEWY = 6
};
class wxSVGTransform
{
protected:
wxSVG_TRANSFORM m_type;
wxSVGMatrix m_matrix;
double m_angle;
double m_cx;
double m_cy;
public:
inline wxSVG_TRANSFORM GetType() const { return m_type; }
inline void SetType(const wxSVG_TRANSFORM& n) { m_type = n; }
inline const wxSVGMatrix& GetMatrix() const { return m_matrix; }
inline double GetAngle() const { return m_angle; }
inline void SetAngle(double n) { m_angle = n; }
public:
wxSVGTransform(): m_type(wxSVG_TRANSFORM(0)), m_angle(0), m_cx(0), m_cy(0) {}
wxSVGTransform(const wxSVGMatrix& matrix): m_type(wxSVG_TRANSFORM_MATRIX), m_matrix(matrix), m_angle(0) {}
virtual ~wxSVGTransform() {}
wxString GetValueAsString() const;
void SetValueAsString(const wxString& value);
inline void SetMatrix(const wxSVGMatrix& n) { m_type = wxSVG_TRANSFORM_MATRIX; m_matrix = n; }
virtual void SetTranslate(double tx, double ty);
virtual void SetScale(double sx, double sy);
virtual void SetRotate(double angle, double cx, double cy);
virtual void SetSkewX(double angle);
virtual void SetSkewY(double angle);
};
#endif // WX_SVG_TRANSFORM_H
|