workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / include / basegfx / vector / b2enums.hxx
blob3e81d27d68d40f8a45ef81a5afd34f55e2ffc645
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 namespace basegfx
24 /** Descriptor for the mathematical orientations of two 2D Vectors
26 enum class B2VectorOrientation
28 /// mathematically positive oriented
29 Positive = 0,
31 /// mathematically negative oriented
32 Negative,
34 /// mathematically neutral, thus parallel
35 Neutral
38 /** Descriptor for the mathematical continuity of two 2D Vectors
40 enum class B2VectorContinuity
42 /// none
43 NONE = 0,
45 /// mathematically negative oriented
46 C1,
48 /// mathematically neutral, thus parallel
52 /** Descriptor for possible line joins between two line segments
54 * Note: WriteLineInfo/ReadLineInfo stream these values for svm
55 * file format
57 enum class B2DLineJoin
59 NONE = 0, // no rounding
60 // removed unused Middle join type
61 Bevel = 2, // join edges with line
62 Miter = 3, // extend till cut
63 Round = 4 // create arc
66 } // end of namespace basegfx
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */