LibreOffice Module svx (master)  1
Functions
EnhancedCustomShape2d.cxx File Reference
#include <sal/config.h>
#include <svx/EnhancedCustomShape2d.hxx>
#include <svx/EnhancedCustomShapeGeometry.hxx>
#include <svx/EnhancedCustomShapeTypeNames.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svdtrans.hxx>
#include <svx/svdogrp.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdorect.hxx>
#include <svx/svdpage.hxx>
#include <svx/xflclit.hxx>
#include <rtl/math.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
#include <svx/xlnstwit.hxx>
#include <svx/xlnedwit.hxx>
#include <svx/xlnstcit.hxx>
#include <svx/xlnedcit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xgrad.hxx>
#include <svx/xhatch.hxx>
#include <svx/sdshitm.hxx>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/color/bcolortools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <sal/log.hxx>
#include <algorithm>
#include <cstdlib>
#include <math.h>
#include <unordered_set>
Include dependency graph for EnhancedCustomShape2d.cxx:

Go to the source code of this file.

Functions

static double lcl_getXAdjustmentValue (const OUString &rShapeType, const sal_uInt32 nHandleIndex, const double fX, const double fW, const double fH)
 
static double lcl_getYAdjustmentValue (const OUString &rShapeType, const sal_uInt32 nHandleIndex, const double fY, const double fW, const double fH)
 
static double lcl_getAngleInOOXMLUnit (double fDY, double fDX)
 
static double lcl_getRadiusDistance (double fWR, double fHR, double fX, double fY)
 
static basegfx::B2DPolygon CreateArc (const tools::Rectangle &rRect, const Point &rStart, const Point &rEnd, const bool bClockwise)
 
static double lcl_getNormalizedCircleAngleRad (const double fWR, const double fHR, const double fEllipseAngleDeg)
 
static double lcl_getNormalizedAngleRad (const double fCircleAngleDeg)
 
static void CorrectCalloutArrows (MSO_SPT eSpType, sal_uInt32 nLineObjectCount, std::vector< std::pair< SdrPathObj *, double > > &vObjectList)
 

Function Documentation

static void CorrectCalloutArrows ( MSO_SPT  eSpType,
sal_uInt32  nLineObjectCount,
std::vector< std::pair< SdrPathObj *, double > > &  vObjectList 
)
static
static basegfx::B2DPolygon CreateArc ( const tools::Rectangle rRect,
const Point &  rStart,
const Point &  rEnd,
const bool  bClockwise 
)
static
static double lcl_getAngleInOOXMLUnit ( double  fDY,
double  fDX 
)
static
static double lcl_getNormalizedAngleRad ( const double  fCircleAngleDeg)
static

Definition at line 2014 of file EnhancedCustomShape2d.cxx.

References basegfx::deg2rad().

Referenced by EnhancedCustomShape2d::CreateSubPath().

static double lcl_getNormalizedCircleAngleRad ( const double  fWR,
const double  fHR,
const double  fEllipseAngleDeg 
)
static

Definition at line 1995 of file EnhancedCustomShape2d.cxx.

References basegfx::deg2rad(), and F_2PI.

Referenced by EnhancedCustomShape2d::CreateSubPath().

static double lcl_getRadiusDistance ( double  fWR,
double  fHR,
double  fX,
double  fY 
)
static
static double lcl_getXAdjustmentValue ( const OUString &  rShapeType,
const sal_uInt32  nHandleIndex,
const double  fX,
const double  fW,
const double  fH 
)
static
static double lcl_getYAdjustmentValue ( const OUString &  rShapeType,
const sal_uInt32  nHandleIndex,
const double  fY,
const double  fW,
const double  fH 
)
static