This file is indexed.

/usr/include/svgpp/policy/path.hpp is in libsvgpp-dev 1.2.3+dfsg1-3ubuntu1.

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
// Copyright Oleg Maximenko 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://github.com/svgpp/svgpp for library home page.

#pragma once

namespace svgpp { namespace policy { namespace path
{

struct raw
{
  static const bool absolute_coordinates_only = false;
  static const bool no_ortho_line_to = false;
  static const bool no_quadratic_bezier_shorthand = false;
  static const bool no_cubic_bezier_shorthand = false;
  static const bool quadratic_bezier_as_cubic = false;
  static const bool arc_as_cubic_bezier = false; 
  // TODO: only not axis aligned ellipse arc as bezier
  // TODO: arc as center and radius
  // TODO: pass explicit move_to on close path?
  // TODO: fix arc errors
};

struct no_shorthands
{
  static const bool absolute_coordinates_only = true;
  static const bool no_ortho_line_to = true;
  static const bool no_quadratic_bezier_shorthand = true;
  static const bool no_cubic_bezier_shorthand = true;
  static const bool quadratic_bezier_as_cubic = false;
  static const bool arc_as_cubic_bezier = false; 
};

struct minimal
{
  static const bool absolute_coordinates_only = true;
  static const bool no_ortho_line_to = true;
  static const bool no_quadratic_bezier_shorthand = true;
  static const bool no_cubic_bezier_shorthand = true;
  static const bool quadratic_bezier_as_cubic = true;
  static const bool arc_as_cubic_bezier = true; 
};

typedef no_shorthands default_policy;

template<class Context>
struct by_context
{
  typedef default_policy type;
};

}}}