LibreOffice Module svx (master) 1
|
#include <svdglue.hxx>
Public Member Functions | |
SdrGluePointList () | |
SdrGluePointList (const SdrGluePointList &rSrcList) | |
SdrGluePointList & | operator= (const SdrGluePointList &rSrcList) |
sal_uInt16 | GetCount () const |
sal_uInt16 | Insert (const SdrGluePoint &rGP) |
void | Delete (sal_uInt16 nPos) |
SdrGluePoint & | operator[] (sal_uInt16 nPos) |
const SdrGluePoint & | operator[] (sal_uInt16 nPos) const |
sal_uInt16 | FindGluePoint (sal_uInt16 nId) const |
sal_uInt16 | HitTest (const Point &rPnt, const OutputDevice &rOut, const SdrObject *pObj) const |
void | Invalidate (vcl::Window &rWin, const SdrObject *pObj) const |
void | SetReallyAbsolute (bool bOn, const SdrObject &rObj) |
void | Rotate (const Point &rRef, Degree100 nAngle, double sn, double cs, const SdrObject *pObj) |
void | Mirror (const Point &rRef1, const Point &rRef2, const SdrObject *pObj) |
void | Mirror (const Point &rRef1, const Point &rRef2, Degree100 nAngle, const SdrObject *pObj) |
void | Shear (const Point &rRef, double tn, bool bVShear, const SdrObject *pObj) |
Private Attributes | |
std::vector< SdrGluePoint > | aList |
Definition at line 183 of file svdglue.hxx.
|
inline |
Definition at line 187 of file svdglue.hxx.
|
inline |
Definition at line 188 of file svdglue.hxx.
|
inline |
Definition at line 201 of file svdglue.hxx.
References nPos.
Referenced by SdrGlueEditView::DeleteMarkedGluePoints().
sal_uInt16 SdrGluePointList::FindGluePoint | ( | sal_uInt16 | nId | ) | const |
Definition at line 336 of file svdglue.cxx.
References aList, GetCount(), nCount, nId, and SDRGLUEPOINT_NOTFOUND.
Referenced by SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrDragMove::MoveSdrDrag(), SdrEdgeObj::setGluePointIndex(), SdrMarkView::SetMarkHandles(), SdrObjConnection::TakeGluePoint(), and SdrMarkView::UndirtyMrkPnt().
|
inline |
Definition at line 194 of file svdglue.hxx.
Referenced by SdrEdgeObj::CheckNodeConnection(), sdr::contact::ViewContactOfSdrObj::createGluePointPrimitive2DSequence(), SdrMarkView::dumpGluePointsToJSON(), FindGluePoint(), SdrPaintView::GlueInvalidate(), SdrMarkView::HasMarkableGluePoints(), HitTest(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), SdrEdgeObj::ImpFindConnector(), Insert(), SdrMarkView::MarkGluePoints(), and operator=().
sal_uInt16 SdrGluePointList::HitTest | ( | const Point & | rPnt, |
const OutputDevice & | rOut, | ||
const SdrObject * | pObj | ||
) | const |
Definition at line 349 of file svdglue.cxx.
References aList, GetCount(), nCount, and SDRGLUEPOINT_NOTFOUND.
Referenced by SdrMarkView::PickGluePoint().
sal_uInt16 SdrGluePointList::Insert | ( | const SdrGluePoint & | rGP | ) |
Definition at line 295 of file svdglue.cxx.
References aList, DBG_ASSERT, GetCount(), SdrGluePoint::GetId(), nCount, nId, and SdrGluePoint::SetId().
Referenced by EnhancedCustomShape2d::ApplyGluePoints(), SdrDragView::BegInsGluePoint(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), SdrGlueEditView::ImpCopyMarkedGluePoints(), and operator=().
void SdrGluePointList::Invalidate | ( | vcl::Window & | rWin, |
const SdrObject * | pObj | ||
) | const |
Definition at line 328 of file svdglue.cxx.
References aList, and comphelper::LibreOfficeKit::isActive().
Referenced by SdrPaintView::GlueInvalidate().
Definition at line 375 of file svdglue.cxx.
References GetAngle(), and Mirror().
Referenced by Mirror(), and SdrObject::NbcMirrorGluePoints().
void SdrGluePointList::Mirror | ( | const Point & | rRef1, |
const Point & | rRef2, | ||
Degree100 | nAngle, | ||
const SdrObject * | pObj | ||
) |
Definition at line 382 of file svdglue.cxx.
References aList.
SdrGluePointList & SdrGluePointList::operator= | ( | const SdrGluePointList & | rSrcList | ) |
Definition at line 283 of file svdglue.cxx.
References aList, GetCount(), i, Insert(), and nCount.
|
inline |
Definition at line 205 of file svdglue.hxx.
References nPos.
|
inline |
Definition at line 209 of file svdglue.hxx.
References nPos.
void SdrGluePointList::Rotate | ( | const Point & | rRef, |
Degree100 | nAngle, | ||
double | sn, | ||
double | cs, | ||
const SdrObject * | pObj | ||
) |
Definition at line 369 of file svdglue.cxx.
References aList.
Referenced by SdrObject::NbcRotateGluePoints().
void SdrGluePointList::SetReallyAbsolute | ( | bool | bOn, |
const SdrObject & | rObj | ||
) |
Definition at line 363 of file svdglue.cxx.
References aList.
Referenced by SdrObject::SetGlueReallyAbsolute().
void SdrGluePointList::Shear | ( | const Point & | rRef, |
double | tn, | ||
bool | bVShear, | ||
const SdrObject * | pObj | ||
) |
Definition at line 388 of file svdglue.cxx.
References aList.
Referenced by SdrObject::NbcShearGluePoints().
|
private |
Definition at line 185 of file svdglue.hxx.
Referenced by FindGluePoint(), HitTest(), Insert(), Invalidate(), Mirror(), operator=(), Rotate(), SetReallyAbsolute(), and Shear().