kig
line_imp.h
Go to the documentation of this file.
bool contains(const Coordinate &p, int width, const KigWidget &si) const
Definition: line_imp.cc:284
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
ObjectImp * property(int which, const KigDocument &d) const
Definition: line_imp.cc:221
bool internalContainsPoint(const Coordinate &p, double threshold) const
Definition: line_imp.cc:599
bool contains(const Coordinate &p, int width, const KigWidget &si) const
Definition: line_imp.cc:304
ObjectImp * property(int which, const KigDocument &d) const
Definition: line_imp.cc:158
double getParam(const Coordinate &, const KigDocument &) const
Definition: line_imp.cc:344
bool contains(const Coordinate &p, int width, const KigWidget &si) const
Definition: line_imp.cc:294
ObjectImp * property(int which, const KigDocument &d) const
Definition: line_imp.cc:73
An ObjectImp class that is the base of the line-like ObjectImp's: SegmentImp, LineImp and RayImp...
Definition: line_imp.h:31
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: line_imp.cc:614
const ObjectImpType * impRequirementForProperty(int which) const
Definition: line_imp.cc:54
const ObjectImpType * impRequirementForProperty(int which) const
Definition: line_imp.cc:201
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RayImp type.
Definition: line_imp.cc:562
LineImp(const Coordinate &a, const Coordinate &b)
Construct a LineImp going through points a and b.
Definition: line_imp.cc:319
double getParam(const Coordinate &, const KigDocument &) const
Definition: line_imp.cc:415
static const ObjectImpType * stype()
Returns the ObjectImpType representing the LineImp type.
Definition: line_imp.cc:528
bool internalContainsPoint(const Coordinate &p, double threshold) const
Definition: line_imp.cc:609
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: line_imp.cc:433
const ObjectImpType * impRequirementForProperty(int which) const
Definition: line_imp.cc:132
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: line_imp.cc:584
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: line_imp.cc:447
const Coordinate getPoint(double param, const KigDocument &) const
Definition: line_imp.cc:339
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: line_imp.cc:514
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: line_imp.cc:455
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: line_imp.cc:44
static const ObjectImpType * stype()
Returns the ObjectImpType representing the SegmentImp type.
Definition: line_imp.cc:545
const char * iconForProperty(int which) const
Definition: line_imp.cc:139
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: line_imp.cc:604
const Coordinate getPoint(double param, const KigDocument &) const
Definition: line_imp.cc:397
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: line_imp.cc:624
const QString equationString() const
Get a string containing the equation of this line in the form "y = a * x + b ".
Definition: line_imp.cc:241
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: line_imp.cc:579
const QByteArrayList propertiesInternalNames() const
Definition: line_imp.cc:85
const Coordinate getPoint(double param, const KigDocument &) const
Definition: line_imp.cc:364
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 AbstractLineImp type.
Definition: line_imp.cc:520
const char * iconForProperty(int which) const
Definition: line_imp.cc:61
const QByteArrayList propertiesInternalNames() const
Definition: line_imp.cc:183
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: line_imp.cc:589
const QByteArrayList propertiesInternalNames() const
Definition: line_imp.cc:108
double getParam(const Coordinate &, const KigDocument &) const
Definition: line_imp.cc:370
SegmentImp(const Coordinate &a, const Coordinate &b)
Construct a new segment from point a to point b.
Definition: line_imp.cc:309
bool internalContainsPoint(const Coordinate &p, double threshold) const
Definition: line_imp.cc:619
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: line_imp.cc:594
RayImp(const Coordinate &a, const Coordinate &b)
Construct a ray, starting at a, and going through b.
Definition: line_imp.cc:314
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.