LibreOffice Module tools (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
poly.hxx File Reference
#include <rtl/ustring.hxx>
#include <tools/toolsdllapi.h>
#include <tools/gen.hxx>
#include <tools/degree.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <o3tl/cow_wrapper.hxx>
#include <vector>
Include dependency graph for poly.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< PolyOptimizeFlags >
 
class  tools::Polygon
 
class  tools::PolyPolygon
 

Namespaces

namespace  o3tl
 
namespace  basegfx
 
namespace  tools
 Note: this class is a true marvel of engineering: because the author could not decide whether it's better to have a closed or half-open interval, they just implemented both in the same class!
 

Macros

#define POLY_APPEND   (0xFFFF)
 
#define POLYPOLY_APPEND   (0xFFFF)
 

Typedefs

typedef std::vector< tools::PolyPolygonPolyPolyVector
 

Enumerations

enum class  PolyOptimizeFlags {
  NONE = 0x0000 ,
  CLOSE = 0x0001 ,
  NO_SAME = 0x0002 ,
  EDGES = 0x0004
}
 
enum class  PolyStyle {
  Arc = 1 ,
  Pie = 2 ,
  Chord = 3
}
 
enum class  PolyFlags : sal_uInt8 {
  Normal ,
  Smooth ,
  Control ,
  Symmetric
}
 

Functions

template<typename charT , typename traits >
std::basic_ostream< charT, traits > & tools::operator<< (std::basic_ostream< charT, traits > &stream, const Polygon &poly)
 
template<typename charT , typename traits >
std::basic_ostream< charT, traits > & tools::operator<< (std::basic_ostream< charT, traits > &stream, const PolyPolygon &poly)
 

Macro Definition Documentation

◆ POLY_APPEND

#define POLY_APPEND   (0xFFFF)

Definition at line 31 of file poly.hxx.

◆ POLYPOLY_APPEND

#define POLYPOLY_APPEND   (0xFFFF)

Definition at line 32 of file poly.hxx.

Typedef Documentation

◆ PolyPolyVector

typedef std::vector< tools::PolyPolygon > PolyPolyVector

Definition at line 312 of file poly.hxx.

Enumeration Type Documentation

◆ PolyFlags

enum class PolyFlags : sal_uInt8
strong
Enumerator
Normal 
Smooth 
Control 
Symmetric 

Definition at line 52 of file poly.hxx.

◆ PolyOptimizeFlags

enum class PolyOptimizeFlags
strong
Enumerator
NONE 
CLOSE 
NO_SAME 
EDGES 

Definition at line 34 of file poly.hxx.

◆ PolyStyle

enum class PolyStyle
strong
Enumerator
Arc 
Pie 
Chord 

Definition at line 45 of file poly.hxx.