kig
polygon_imp.h
Go to the documentation of this file.
std::vector< Coordinate > ptransform(const Transformation &) const
Definition: polygon_imp.cc:77
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
const char * iconForProperty(int which) const
Definition: polygon_imp.cc:380
FilledPolygonImp(const std::vector< Coordinate > &points)
Definition: polygon_imp.cc:935
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: polygon_imp.cc:777
const ObjectImpType * impRequirementForProperty(int which) const
Definition: polygon_imp.cc:350
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: polygon_imp.cc:759
const ObjectImpType * impRequirementForProperty(int which) const
Definition: polygon_imp.cc:364
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: polygon_imp.cc:945
const char * iconForProperty(int which) const
Definition: polygon_imp.cc:403
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: polygon_imp.cc:750
bool isInPolygon(const Coordinate &p) const
Definition: polygon_imp.cc:137
const char * iconForProperty(int which) const
Definition: polygon_imp.cc:371
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: polygon_imp.cc:764
const std::vector< Coordinate > points() const
Returns the vector with polygon points.
Definition: polygon_imp.cc:571
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
Definition: polygon_imp.cc:72
bool isMonotoneSteering() const
Definition: polygon_imp.cc:893
ObjectImp * property(int which, const KigDocument &w) const
Definition: polygon_imp.cc:454
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: polygon_imp.cc:645
const QByteArrayList propertiesInternalNames() const
Definition: polygon_imp.cc:272
AbstractPolygonImp(const std::vector< Coordinate > &points)
Definition: polygon_imp.cc:54
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: polygon_imp.cc:116
const ObjectImpType * impRequirementForProperty(int which) const
Definition: polygon_imp.cc:357
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: polygon_imp.cc:130
std::vector< Coordinate > computeConvexHull(const std::vector< Coordinate > &points)
Definition: polygon_imp.cc:990
static const ObjectImpType * stype()
Returns the ObjectImpType representing the PolygonImp type.
Definition: polygon_imp.cc:651
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: polygon_imp.cc:210
OpenPolygonalImp(const std::vector< Coordinate > &points)
Definition: polygon_imp.cc:969
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: polygon_imp.cc:785
const QByteArrayList properties() const
Definition: polygon_imp.cc:298
ObjectImp * property(int which, const KigDocument &w) const
Definition: polygon_imp.cc:497
ObjectImp * property(int which, const KigDocument &w) const
Definition: polygon_imp.cc:540
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: polygon_imp.cc:769
const QByteArrayList propertiesInternalNames() const
Definition: polygon_imp.cc:286
const QByteArrayList propertiesInternalNames() const
Definition: polygon_imp.cc:258
ObjectImp * property(int which, const KigDocument &w) const
Definition: polygon_imp.cc:445
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: polygon_imp.cc:963
ClosedPolygonalImp(const std::vector< Coordinate > &points)
Definition: polygon_imp.cc:951
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: polygon_imp.cc:123
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: polygon_imp.cc:793
bool isOnCPolygonBorder(const Coordinate &p, double dist, const KigDocument &doc) const
Definition: polygon_imp.cc:188
const QByteArrayList propertiesInternalNames() const
Definition: polygon_imp.cc:253
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
const QByteArrayList properties() const
Definition: polygon_imp.cc:317
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: polygon_imp.cc:980
const char * iconForProperty(int which) const
Definition: polygon_imp.cc:426
const ObjectImpType * impRequirementForProperty(int which) const
Definition: polygon_imp.cc:343
Definition: object_imp.h:56
const Coordinate centerOfMass() const
Returns the center of mass of the polygon.
bool isOnOPolygonBorder(const Coordinate &p, double dist, const KigDocument &doc) const
Definition: polygon_imp.cc:198
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.