/usr/include/wxSVG/SVGFitToViewBox.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 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGFitToViewBox.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_FIT_TO_VIEW_BOX_H
#define WX_SVG_FIT_TO_VIEW_BOX_H
#include "SVGAnimatedRect.h"
#include "SVGAnimatedPreserveAspectRatio.h"
#include "String_wxsvg.h"
#include "Element.h"
#include "SVGLength.h"
#include "SVGMatrix.h"
class wxSVGFitToViewBox
{
protected:
wxSVGAnimatedRect m_viewBox;
wxSVGAnimatedPreserveAspectRatio m_preserveAspectRatio;
public:
inline const wxSVGAnimatedRect& GetViewBox() const { return m_viewBox; }
inline void SetViewBox(const wxSVGAnimatedRect& n) { m_viewBox = n; }
inline void SetViewBox(const wxSVGRect& n) { m_viewBox.SetBaseVal(n); }
inline const wxSVGAnimatedPreserveAspectRatio& GetPreserveAspectRatio() const { return m_preserveAspectRatio; }
inline void SetPreserveAspectRatio(const wxSVGAnimatedPreserveAspectRatio& n) { m_preserveAspectRatio = n; }
inline void SetPreserveAspectRatio(const wxSVGPreserveAspectRatio& n) { m_preserveAspectRatio.SetBaseVal(n); }
public:
virtual ~wxSVGFitToViewBox() {}
void UpdateMatrix(wxSVGMatrix& matrix, const wxSVGLength& width, const wxSVGLength& height);
bool HasAttribute(const wxString& name);
wxString GetAttribute(const wxString& name);
bool SetAttribute(const wxString& name, const wxString& value);
wxSvgXmlAttrHash GetAttributes() const;
};
#endif // WX_SVG_FIT_TO_VIEW_BOX_H
|