/usr/include/wxSVG/SVGPreserveAspectRatio.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 53 54 55 56 57 58 | //////////////////////////////////////////////////////////////////////////////
// Name: SVGPreserveAspectRatio.h
// Author: Alex Thuering
// Copyright: (c) 2005 Alex Thuering
// Licence: wxWindows licence
// Notes: generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_PRESERVE_ASPECT_RATIO_H
#define WX_SVG_PRESERVE_ASPECT_RATIO_H
#include "String_wxsvg.h"
enum wxSVG_PRESERVEASPECTRATIO
{
wxSVG_PRESERVEASPECTRATIO_UNKNOWN = 0,
wxSVG_PRESERVEASPECTRATIO_NONE = 1,
wxSVG_PRESERVEASPECTRATIO_XMINYMIN = 2,
wxSVG_PRESERVEASPECTRATIO_XMIDYMIN = 3,
wxSVG_PRESERVEASPECTRATIO_XMAXYMIN = 4,
wxSVG_PRESERVEASPECTRATIO_XMINYMID = 5,
wxSVG_PRESERVEASPECTRATIO_XMIDYMID = 6,
wxSVG_PRESERVEASPECTRATIO_XMAXYMID = 7,
wxSVG_PRESERVEASPECTRATIO_XMINYMAX = 8,
wxSVG_PRESERVEASPECTRATIO_XMIDYMAX = 9,
wxSVG_PRESERVEASPECTRATIO_XMAXYMAX = 10
};
enum wxSVG_MEETORSLICE
{
wxSVG_MEETORSLICE_UNKNOWN = 0,
wxSVG_MEETORSLICE_MEET = 1,
wxSVG_MEETORSLICE_SLICE = 2
};
class wxSVGPreserveAspectRatio
{
protected:
wxSVG_PRESERVEASPECTRATIO m_align;
wxSVG_MEETORSLICE m_meetOrSlice;
public:
inline wxSVG_PRESERVEASPECTRATIO GetAlign() const { return m_align; }
inline void SetAlign(const wxSVG_PRESERVEASPECTRATIO& n) { m_align = n; }
inline wxSVG_MEETORSLICE GetMeetOrSlice() const { return m_meetOrSlice; }
inline void SetMeetOrSlice(const wxSVG_MEETORSLICE& n) { m_meetOrSlice = n; }
public:
wxSVGPreserveAspectRatio():
m_align(wxSVG_PRESERVEASPECTRATIO_UNKNOWN), m_meetOrSlice(wxSVG_MEETORSLICE_UNKNOWN) {}
wxString GetValueAsString() const;
void SetValueAsString(const wxString& value);
};
#endif // WX_SVG_PRESERVE_ASPECT_RATIO_H
|