#include <osl/endian.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <tools/bigint.hxx>
#include <tools/debug.hxx>
#include <tools/helpers.hxx>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/gen.hxx>
#include <poly.h>
#include <o3tl/safeint.hxx>
#include <tools/line.hxx>
#include <tools/poly.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/curve/b2dcubicbezier.hxx>
#include <memory>
#include <vector>
#include <algorithm>
#include <cassert>
#include <cstring>
#include <limits.h>
#include <cmath>
Go to the source code of this file.
|
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!
|
|
|
#define | FSQRT2 1.4142135623730950488016887242097 |
|
|
static double | ImplGetParameter (const Point &rCenter, const Point &rPt, double fWR, double fHR) |
|
static void | tools::ImplAdaptiveSubdivide (std::vector< Point > &rPoints, const double old_d2, int recursionDepth, const double d2, const double P1x, const double P1y, const double P2x, const double P2y, const double P3x, const double P3y, const double P4x, const double P4y) |
| Recursively subdivide cubic bezier curve via deCasteljau. More...
|
|
SvStream & | tools::ReadPolygon (SvStream &rIStream, tools::Polygon &rPoly) |
|
SvStream & | tools::WritePolygon (SvStream &rOStream, const tools::Polygon &rPoly) |
|
static void | tools::impCorrectContinuity (basegfx::B2DPolygon &roPolygon, sal_uInt32 nIndex, PolyFlags nCFlag) |
|
◆ FSQRT2
#define FSQRT2 1.4142135623730950488016887242097 |
◆ ImplGetParameter()
static double ImplGetParameter |
( |
const Point & |
rCenter, |
|
|
const Point & |
rPt, |
|
|
double |
fWR, |
|
|
double |
fHR |
|
) |
| |
|
static |
◆ EDGE_BOTTOM
constexpr int EDGE_BOTTOM = 8 |
|
constexpr |
◆ EDGE_HORZ
◆ EDGE_LEFT
constexpr int EDGE_LEFT = 1 |
|
constexpr |
◆ EDGE_RIGHT
constexpr int EDGE_RIGHT = 4 |
|
constexpr |
◆ EDGE_TOP
constexpr int EDGE_TOP = 2 |
|
constexpr |
◆ EDGE_VERT
◆ mfX
◆ mfY
◆ SMALL_DVALUE
constexpr double SMALL_DVALUE = 0.0000001 |
|
constexpr |