LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImpPathCreateUser Struct Reference
Inheritance diagram for ImpPathCreateUser:
[legend]
Collaboration diagram for ImpPathCreateUser:
[legend]

Public Member Functions

 ImpPathCreateUser ()
 
void ResetFormFlags ()
 
bool IsFormFlag () const
 
XPolygon GetFormPoly () const
 
void CalcBezier (const Point &rP1, const Point &rP2, const Point &rDir, bool bMouseDown)
 
XPolygon GetBezierPoly () const
 
void CalcCircle (const Point &rP1, const Point &rP2, const Point &rDir, SdrView const *pView)
 
XPolygon GetCirclePoly () const
 
void CalcLine (const Point &rP1, const Point &rP2, const Point &rDir, SdrView const *pView)
 
XPolygon GetLinePoly () const
 
void CalcRect (const Point &rP1, const Point &rP2, const Point &rDir, SdrView const *pView)
 
XPolygon GetRectPoly () const
 
- Public Member Functions inherited from SdrDragStatUserData
virtual ~SdrDragStatUserData ()=0
 

Static Public Member Functions

static Point CalcLine (const Point &rCsr, long nDirX, long nDirY, SdrView const *pView)
 

Public Attributes

Point aBezControl0
 
Point aBezStart
 
Point aBezCtrl1
 
Point aBezCtrl2
 
Point aBezEnd
 
Point aCircStart
 
Point aCircEnd
 
Point aCircCenter
 
Point aLineStart
 
Point aLineEnd
 
Point aRectP1
 
Point aRectP2
 
Point aRectP3
 
long nCircRadius
 
long nCircStAngle
 
long nCircRelAngle
 
bool bBezier
 
bool bBezHasCtrl0
 
bool bCircle
 
bool bAngleSnap
 
bool bLine
 
bool bLine90
 
bool bRect
 
bool bMixedCreate
 
sal_uInt16 nBezierStartPoint
 
SdrObjKind eStartKind
 
SdrObjKind eCurrentKind
 

Detailed Description

Definition at line 227 of file svdopath.cxx.

Constructor & Destructor Documentation

ImpPathCreateUser::ImpPathCreateUser ( )
inline

Definition at line 258 of file svdopath.cxx.

Member Function Documentation

void ImpPathCreateUser::CalcBezier ( const Point rP1,
const Point rP2,
const Point rDir,
bool  bMouseDown 
)

Definition at line 285 of file svdopath.cxx.

References aBezCtrl1, aBezCtrl2, aBezEnd, aBezStart, bBezier, Point::X(), and Point::Y().

Referenced by ImpPathForDragAndCreate::MovCreate().

void ImpPathCreateUser::CalcCircle ( const Point rP1,
const Point rP2,
const Point rDir,
SdrView const *  pView 
)
void ImpPathCreateUser::CalcLine ( const Point rP1,
const Point rP2,
const Point rDir,
SdrView const *  pView 
)
Point ImpPathCreateUser::CalcLine ( const Point rCsr,
long  nDirX,
long  nDirY,
SdrView const *  pView 
)
static

Definition at line 380 of file svdopath.cxx.

References BigMulDiv(), SdrSnapView::IsBigOrtho(), Point::X(), x, y, and Point::Y().

void ImpPathCreateUser::CalcRect ( const Point rP1,
const Point rP2,
const Point rDir,
SdrView const *  pView 
)
XPolygon ImpPathCreateUser::GetBezierPoly ( ) const

Definition at line 298 of file svdopath.cxx.

References aBezCtrl1, aBezCtrl2, aBezEnd, aBezStart, and XPolygon::SetFlags().

Referenced by GetFormPoly().

XPolygon ImpPathCreateUser::GetCirclePoly ( ) const
XPolygon ImpPathCreateUser::GetFormPoly ( ) const
XPolygon ImpPathCreateUser::GetLinePoly ( ) const

Definition at line 425 of file svdopath.cxx.

References aLineEnd, aLineStart, bLine90, and XPolygon::SetFlags().

Referenced by GetFormPoly().

XPolygon ImpPathCreateUser::GetRectPoly ( ) const

Definition at line 485 of file svdopath.cxx.

References aRectP1, aRectP2, aRectP3, and XPolygon::SetFlags().

Referenced by GetFormPoly().

bool ImpPathCreateUser::IsFormFlag ( ) const
inline
void ImpPathCreateUser::ResetFormFlags ( )
inline

Member Data Documentation

Point ImpPathCreateUser::aBezControl0
Point ImpPathCreateUser::aBezCtrl1

Definition at line 231 of file svdopath.cxx.

Referenced by CalcBezier(), and GetBezierPoly().

Point ImpPathCreateUser::aBezCtrl2
Point ImpPathCreateUser::aBezEnd
Point ImpPathCreateUser::aBezStart

Definition at line 230 of file svdopath.cxx.

Referenced by CalcBezier(), and GetBezierPoly().

Point ImpPathCreateUser::aCircCenter

Definition at line 236 of file svdopath.cxx.

Referenced by CalcCircle(), and GetCirclePoly().

Point ImpPathCreateUser::aCircEnd

Definition at line 235 of file svdopath.cxx.

Referenced by CalcCircle(), and GetCirclePoly().

Point ImpPathCreateUser::aCircStart

Definition at line 234 of file svdopath.cxx.

Referenced by CalcCircle(), and GetCirclePoly().

Point ImpPathCreateUser::aLineEnd
Point ImpPathCreateUser::aLineStart

Definition at line 237 of file svdopath.cxx.

Referenced by CalcLine(), and GetLinePoly().

Point ImpPathCreateUser::aRectP1

Definition at line 239 of file svdopath.cxx.

Referenced by CalcRect(), and GetRectPoly().

Point ImpPathCreateUser::aRectP2

Definition at line 240 of file svdopath.cxx.

Referenced by CalcRect(), and GetRectPoly().

Point ImpPathCreateUser::aRectP3

Definition at line 241 of file svdopath.cxx.

Referenced by CalcRect(), and GetRectPoly().

bool ImpPathCreateUser::bAngleSnap

Definition at line 248 of file svdopath.cxx.

Referenced by CalcCircle(), and GetCirclePoly().

bool ImpPathCreateUser::bBezHasCtrl0
bool ImpPathCreateUser::bBezier
bool ImpPathCreateUser::bCircle
bool ImpPathCreateUser::bLine
bool ImpPathCreateUser::bLine90

Definition at line 250 of file svdopath.cxx.

Referenced by CalcLine(), and GetLinePoly().

bool ImpPathCreateUser::bMixedCreate
bool ImpPathCreateUser::bRect

Definition at line 251 of file svdopath.cxx.

Referenced by CalcRect(), GetFormPoly(), and IsFormFlag().

SdrObjKind ImpPathCreateUser::eCurrentKind
SdrObjKind ImpPathCreateUser::eStartKind
sal_uInt16 ImpPathCreateUser::nBezierStartPoint
long ImpPathCreateUser::nCircRadius
long ImpPathCreateUser::nCircRelAngle
long ImpPathCreateUser::nCircStAngle

Definition at line 243 of file svdopath.cxx.

Referenced by CalcCircle(), and GetCirclePoly().


The documentation for this struct was generated from the following file: