/usr/include/wxSVG/SVGMarkerElement.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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | //////////////////////////////////////////////////////////////////////////////
// Name:        SVGMarkerElement.h
// Author:      Alex Thuering
// Copyright:   (c) 2005 Alex Thuering
// Licence:     wxWindows licence
// Notes:       generated by generate.py
//////////////////////////////////////////////////////////////////////////////
#ifndef WX_SVG_MARKER_ELEMENT_H
#define WX_SVG_MARKER_ELEMENT_H
#include "SVGElement.h"
#include "SVGLangSpace.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGStylable.h"
#include "SVGFitToViewBox.h"
#include "SVGAnimatedLength.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedAngle.h"
#include "SVGSVGElement.h"
#include "SVGAngle.h"
#include "String_wxsvg.h"
#include "Element.h"
enum wxSVG_MARKERUNITS
{
  wxSVG_MARKERUNITS_UNKNOWN = 0,
  wxSVG_MARKERUNITS_USERSPACEONUSE = 1,
  wxSVG_MARKERUNITS_STROKEWIDTH = 2
};
enum wxSVG_MARKER_ORIENT
{
  wxSVG_MARKER_ORIENT_UNKNOWN = 0,
  wxSVG_MARKER_ORIENT_AUTO = 1,
  wxSVG_MARKER_ORIENT_ANGLE = 2
};
class wxSVGMarkerElement:
  public wxSVGElement,
  public wxSVGLangSpace,
  public wxSVGExternalResourcesRequired,
  public wxSVGStylable,
  public wxSVGFitToViewBox
{
  protected:
    wxSVGAnimatedLength m_refX;
    wxSVGAnimatedLength m_refY;
    wxSVGAnimatedEnumeration m_markerUnits;
    wxSVGAnimatedLength m_markerWidth;
    wxSVGAnimatedLength m_markerHeight;
    wxSVGAnimatedEnumeration m_orientType;
    wxSVGAnimatedAngle m_orientAngle;
  public:
    inline const wxSVGAnimatedLength& GetRefX() const { WX_SVG_ANIM_LENGTH_CALC_WIDTH(m_refX, GetViewportElement()); return m_refX; }
    inline void SetRefX(const wxSVGAnimatedLength& n) { m_refX = n; }
    inline void SetRefX(const wxSVGLength& n) { m_refX.SetBaseVal(n); }
    inline const wxSVGAnimatedLength& GetRefY() const { WX_SVG_ANIM_LENGTH_CALC_HEIGHT(m_refY, GetViewportElement()); return m_refY; }
    inline void SetRefY(const wxSVGAnimatedLength& n) { m_refY = n; }
    inline void SetRefY(const wxSVGLength& n) { m_refY.SetBaseVal(n); }
    inline const wxSVGAnimatedEnumeration& GetMarkerUnits() const { return m_markerUnits; }
    inline void SetMarkerUnits(const wxSVGAnimatedEnumeration& n) { m_markerUnits = n; }
    inline void SetMarkerUnits(unsigned char n) { m_markerUnits.SetBaseVal(n); }
    inline const wxSVGAnimatedLength& GetMarkerWidth() const { WX_SVG_ANIM_LENGTH_CALC_WIDTH(m_markerWidth, GetViewportElement()); return m_markerWidth; }
    inline void SetMarkerWidth(const wxSVGAnimatedLength& n) { m_markerWidth = n; }
    inline void SetMarkerWidth(const wxSVGLength& n) { m_markerWidth.SetBaseVal(n); }
    inline const wxSVGAnimatedLength& GetMarkerHeight() const { WX_SVG_ANIM_LENGTH_CALC_HEIGHT(m_markerHeight, GetViewportElement()); return m_markerHeight; }
    inline void SetMarkerHeight(const wxSVGAnimatedLength& n) { m_markerHeight = n; }
    inline void SetMarkerHeight(const wxSVGLength& n) { m_markerHeight.SetBaseVal(n); }
    inline const wxSVGAnimatedEnumeration& GetOrientType() const { return m_orientType; }
    inline void SetOrientType(const wxSVGAnimatedEnumeration& n) { m_orientType = n; }
    inline void SetOrientType(unsigned char n) { m_orientType.SetBaseVal(n); }
    inline const wxSVGAnimatedAngle& GetOrientAngle() const { return m_orientAngle; }
    inline void SetOrientAngle(const wxSVGAnimatedAngle& n) { m_orientAngle = n; }
    inline void SetOrientAngle(const wxSVGAngle& n) { m_orientAngle.SetBaseVal(n); }
  public:
    wxSVGMarkerElement(wxString tagName = wxT("marker")):
      wxSVGElement(tagName) {}
    virtual ~wxSVGMarkerElement() {}
    wxSvgXmlNode* CloneNode(bool deep = true) { return new wxSVGMarkerElement(*this); }
    virtual void SetOrientToAuto();
    virtual void SetOrientToAngle(const wxSVGAngle& angle);
    bool HasAttribute(const wxString& name);
    wxString GetAttribute(const wxString& name);
    bool SetAttribute(const wxString& name, const wxString& value);
    wxSvgXmlAttrHash GetAttributes() const;
    virtual wxSVGDTD GetDtd() const { return wxSVG_MARKER_ELEMENT; }
};
#endif // WX_SVG_MARKER_ELEMENT_H
 |