kig
bezier_imp.h
Go to the documentation of this file.
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
Definition: bezier_imp.cc:61
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: bezier_imp.cc:66
const QByteArrayList propertiesInternalNames() const
Definition: bezier_imp.cc:123
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: bezier_imp.cc:507
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: bezier_imp.cc:281
const ObjectImpType * impRequirementForProperty(int which) const
Definition: bezier_imp.cc:143
RationalBezierImp(const std::vector< Coordinate > &points, const std::vector< double > &weights)
Constructs a rational Bézier curve.
Definition: bezier_imp.cc:336
const Coordinate getPoint(double param, const KigDocument &) const
Definition: bezier_imp.cc:628
const ObjectImpType * impRequirementForProperty(int which) const
Definition: bezier_imp.cc:441
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
const char * iconForProperty(int which) const
Definition: bezier_imp.cc:150
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: bezier_imp.cc:364
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RationalBezierImp type.
Definition: bezier_imp.cc:516
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
Definition: bezier_imp.cc:359
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: bezier_imp.cc:92
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: bezier_imp.cc:579
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: bezier_imp.cc:597
const char * iconForProperty(int which) const
Definition: bezier_imp.cc:448
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: bezier_imp.cc:272
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: bezier_imp.cc:602
ObjectImp * property(int which, const KigDocument &w) const
Definition: bezier_imp.cc:165
const Coordinate getPoint(double param, const KigDocument &) const
Definition: bezier_imp.cc:323
const QByteArrayList propertiesInternalNames() const
Definition: bezier_imp.cc:421
const Coordinate centerOfMass() const
Returns the center of mass of the control polygon.
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: bezier_imp.cc:299
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: bezier_imp.cc:209
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: bezier_imp.cc:304
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: bezier_imp.cc:570
bool internalContainsPoint(const Coordinate &p, double threshold, const KigDocument &doc) const
Definition: bezier_imp.cc:309
bool internalContainsPoint(const Coordinate &p, double threshold, const KigDocument &doc) const
Definition: bezier_imp.cc:607
const std::vector< Coordinate > points() const
Returns the vector with control points.
Definition: bezier_imp.cc:487
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
static const ObjectImpType * stype()
Returns the ObjectImpType representing the BezierImp type.
Definition: bezier_imp.cc:218
const Coordinate centerOfMass() const
Returns the center of mass of the control polygon.
const std::vector< Coordinate > points() const
Returns the vector with control points.
Definition: bezier_imp.cc:189
ObjectImp * property(int which, const KigDocument &w) const
Definition: bezier_imp.cc:463
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: bezier_imp.cc:390
BezierImp(const std::vector< Coordinate > &points)
Constructs a Bézier curve.
Definition: bezier_imp.cc:43
Definition: object_imp.h:56
This class represents a curve: something which is composed of points, like a line, a circle, a locus.
Definition: curve_imp.h:27
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.