LibreOffice Module svx (master) 1
|
Utility class SdrEdgeInfoRec. More...
#include <svdoedge.hxx>
Public Member Functions | |
SdrEdgeInfoRec () | |
Point & | ImpGetLineOffsetPoint (SdrEdgeLineCode eLineCode) |
sal_uInt16 | ImpGetPolyIdx (SdrEdgeLineCode eLineCode, const XPolygon &rXP) const |
bool | ImpIsHorzLine (SdrEdgeLineCode eLineCode, const XPolygon &rXP) const |
void | ImpSetLineOffset (SdrEdgeLineCode eLineCode, const XPolygon &rXP, tools::Long nVal) |
tools::Long | ImpGetLineOffset (SdrEdgeLineCode eLineCode, const XPolygon &rXP) const |
Public Attributes | |
Point | aObj1Line2 |
Point | aObj1Line3 |
Point | aObj2Line2 |
Point | aObj2Line3 |
Point | aMiddleLine |
tools::Long | nAngle1 |
tools::Long | nAngle2 |
sal_uInt16 | nObj1Lines |
sal_uInt16 | nObj2Lines |
sal_uInt16 | nMiddleLine |
Utility class SdrEdgeInfoRec.
Definition at line 75 of file svdoedge.hxx.
|
inline |
Definition at line 95 of file svdoedge.hxx.
tools::Long SdrEdgeInfoRec::ImpGetLineOffset | ( | SdrEdgeLineCode | eLineCode, |
const XPolygon & | rXP | ||
) | const |
Definition at line 131 of file svdoedge.cxx.
References ImpGetLineOffsetPoint(), ImpIsHorzLine(), Point::X(), and Point::Y().
Referenced by SdrEdgeObj::applySpecialDrag(), and SdrEdgeObj::ImpSetEdgeInfoToAttr().
Point & SdrEdgeInfoRec::ImpGetLineOffsetPoint | ( | SdrEdgeLineCode | eLineCode | ) |
Definition at line 88 of file svdoedge.cxx.
References aMiddleLine, aObj1Line2, aObj1Line3, aObj2Line2, aObj2Line3, MiddleLine, Obj1Line2, Obj1Line3, Obj2Line2, and Obj2Line3.
Referenced by ImpGetLineOffset(), and ImpSetLineOffset().
sal_uInt16 SdrEdgeInfoRec::ImpGetPolyIdx | ( | SdrEdgeLineCode | eLineCode, |
const XPolygon & | rXP | ||
) | const |
Definition at line 100 of file svdoedge.cxx.
References XPolygon::GetPointCount(), MiddleLine, nMiddleLine, Obj1Line2, Obj1Line3, Obj2Line2, and Obj2Line3.
Referenced by SdrEdgeObj::ImpCalcEdgeTrack(), and ImpIsHorzLine().
bool SdrEdgeInfoRec::ImpIsHorzLine | ( | SdrEdgeLineCode | eLineCode, |
const XPolygon & | rXP | ||
) | const |
Definition at line 112 of file svdoedge.cxx.
References XPolygon::GetPointCount(), ImpGetPolyIdx(), nAngle1, nAngle2, Obj2Line2, and Obj2Line3.
Referenced by SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffset(), ImpSetLineOffset(), and ImpEdgeHdl::IsHorzDrag().
void SdrEdgeInfoRec::ImpSetLineOffset | ( | SdrEdgeLineCode | eLineCode, |
const XPolygon & | rXP, | ||
tools::Long | nVal | ||
) |
Definition at line 124 of file svdoedge.cxx.
References ImpGetLineOffsetPoint(), ImpIsHorzLine(), Point::setX(), and Point::setY().
Referenced by SdrEdgeObj::applySpecialDrag(), and SdrEdgeObj::ImpSetAttrToEdgeInfo().
Point SdrEdgeInfoRec::aMiddleLine |
Definition at line 85 of file svdoedge.hxx.
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffsetPoint(), and SdrEdgeObj::NbcResize().
Point SdrEdgeInfoRec::aObj1Line2 |
Definition at line 81 of file svdoedge.hxx.
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffsetPoint(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), and SdrEdgeObj::NbcResize().
Point SdrEdgeInfoRec::aObj1Line3 |
Definition at line 82 of file svdoedge.hxx.
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffsetPoint(), and SdrEdgeObj::NbcResize().
Point SdrEdgeInfoRec::aObj2Line2 |
Definition at line 83 of file svdoedge.hxx.
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffsetPoint(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), and SdrEdgeObj::NbcResize().
Point SdrEdgeInfoRec::aObj2Line3 |
Definition at line 84 of file svdoedge.hxx.
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetLineOffsetPoint(), and SdrEdgeObj::NbcResize().
tools::Long SdrEdgeInfoRec::nAngle1 |
Definition at line 88 of file svdoedge.hxx.
Referenced by SdrEdgeObj::ImpCalcEdgeTrack(), ImpIsHorzLine(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), and ImpEdgeHdl::IsHorzDrag().
tools::Long SdrEdgeInfoRec::nAngle2 |
Definition at line 89 of file svdoedge.hxx.
Referenced by SdrEdgeObj::ImpCalcEdgeTrack(), ImpIsHorzLine(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), and ImpEdgeHdl::IsHorzDrag().
sal_uInt16 SdrEdgeInfoRec::nMiddleLine |
Definition at line 92 of file svdoedge.hxx.
Referenced by SdrEdgeObj::AddToHdlList(), SdrEdgeObj::GetHdlCount(), SdrEdgeObj::ImpCalcEdgeTrack(), ImpGetPolyIdx(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), and SdrEdgeObj::ImpSetEdgeInfoToAttr().
sal_uInt16 SdrEdgeInfoRec::nObj1Lines |
Definition at line 90 of file svdoedge.hxx.
Referenced by SdrEdgeObj::AddToHdlList(), SdrEdgeObj::GetHdlCount(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), and SdrEdgeObj::ImpSetEdgeInfoToAttr().
sal_uInt16 SdrEdgeInfoRec::nObj2Lines |
Definition at line 91 of file svdoedge.hxx.
Referenced by SdrEdgeObj::AddToHdlList(), SdrEdgeObj::GetHdlCount(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), and SdrEdgeObj::ImpSetEdgeInfoToAttr().