/usr/include/wxSVG/SVGMatrix.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 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGMatrix.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_MATRIX_H
#define WX_SVG_MATRIX_H
class wxSVGMatrix
{
protected:
double m_a;
double m_b;
double m_c;
double m_d;
double m_e;
double m_f;
public:
inline double GetA() const { return m_a; }
inline void SetA(double n) { m_a = n; }
inline double GetB() const { return m_b; }
inline void SetB(double n) { m_b = n; }
inline double GetC() const { return m_c; }
inline void SetC(double n) { m_c = n; }
inline double GetD() const { return m_d; }
inline void SetD(double n) { m_d = n; }
inline double GetE() const { return m_e; }
inline void SetE(double n) { m_e = n; }
inline double GetF() const { return m_f; }
inline void SetF(double n) { m_f = n; }
public:
wxSVGMatrix(): m_a(1), m_b(0), m_c(0), m_d(1), m_e(0), m_f(0) {}
wxSVGMatrix(double a, double b, double c, double d, double e, double f):
m_a(a), m_b(b), m_c(c), m_d(d), m_e(e), m_f(f) {}
virtual ~wxSVGMatrix() {}
virtual wxSVGMatrix Multiply(const wxSVGMatrix& secondMatrix);
virtual wxSVGMatrix Inverse();
virtual wxSVGMatrix Translate(double x, double y);
virtual wxSVGMatrix Scale(double scaleFactor);
virtual wxSVGMatrix ScaleNonUniform(double scaleFactorX, double scaleFactorY);
virtual wxSVGMatrix Rotate(double angle);
virtual wxSVGMatrix RotateFromVector(double x, double y);
virtual wxSVGMatrix FlipX();
virtual wxSVGMatrix FlipY();
virtual wxSVGMatrix SkewX(double angle);
virtual wxSVGMatrix SkewY(double angle);
};
#endif // WX_SVG_MATRIX_H
|