18 #ifndef KIG_OBJECTS_POINT_IMP_H
19 #define KIG_OBJECTS_POINT_IMP_H
21 #include "object_imp.h"
22 #include "../misc/coordinate.h"
36 static const ObjectImpType* stype();
44 Rect surroundingRect()
const;
56 void draw( KigPainter& p )
const;
57 bool contains(
const Coordinate& p,
int width,
const KigWidget& )
const;
58 bool inRect(
const Rect& r,
int width,
const KigWidget& )
const;
60 const uint numberOfProperties()
const;
61 const QCStringList properties()
const;
62 const QCStringList propertiesInternalNames()
const;
63 ObjectImp* property( uint which,
const KigDocument& d )
const;
64 const char* iconForProperty( uint which )
const;
65 const ObjectImpType* impRequirementForProperty( uint which )
const;
66 bool isPropertyDefinedOnOrThroughThisImp( uint which )
const;
70 PointImp* copy()
const;
72 const ObjectImpType* type()
const;
73 void visit( ObjectImpVisitor* vtor )
const;
75 void fillInNextEscape( TQString& s,
const KigDocument& )
const;
76 bool canFillInNextEscape()
const;
78 bool equals(
const ObjectImp& rhs )
const;
87 static const ObjectImpType* stype();
88 const ObjectImpType* type()
const;
void setCoordinate(const Coordinate &c)
Set the coordinate of this Point.
const ObjectType * type() const
Returns the lowermost ObjectType that this object is an instantiation of.
Object * transform(const Transformation &) const
Return this Object, transformed by the transformation t.
The Object class represents the behaviour of an object after it is calculated.
Definition: object_imp.h:218
Point * copy() const
Returns a copy of this Object.
Instances of this class represent a certain Object type.
Definition: object_imp.h:88
static const ObjectType * stype()
Returns the ObjectType representing Point's.
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
bool equals(const Object &rhs) const
Returns true if this Object is equal to rhs.
An Object representing a point.
Definition: point_imp.h:27
Point(const Coordinate &c)
Construct a Point with coordinate c.
The Coordinate class is the basic class representing a 2D location by its x and y components.
Definition: coordinate.h:33
const Coordinate & coordinate() const
Get the coordinate of this Point.
Definition: point_imp.h:50
This file is part of the documentation for tdelibs .
Documentation copyright © 1996-2002 the KDE developers.
Generated on Tue Feb 25 2025 13:46:37 by
doxygen 1.8.17 written by
Dimitri van Heesch, © 1997-2001