kig
kseg-filter.cc
Go to the documentation of this file.
98 static ObjectTypeCalcer* intersectionPoint( const std::vector<ObjectCalcer*>& parents, int which )
Definition: kseg-defs.h:134
Definition: kseg-defs.h:296
Definition: kseg-defs.h:77
static const ArcLineIntersectionType * instance()
Definition: intersection_types.cc:541
Definition: kseg-defs.h:122
Definition: kseg-defs.h:72
Definition: kseg-defs.h:135
Definition: kseg-defs.h:68
static const ScalingOverCenter2Type * instance()
Definition: transform_types.cc:248
This is an ObjectCalcer that keeps an ObjectImp, and never calculates a new one.
Definition: object_calcer.h:232
Definition: kseg-defs.h:80
Definition: kseg-defs.h:161
static ObjectTypeCalcer * intersectionPoint(const std::vector< ObjectCalcer * > &parents, int which)
Definition: kseg-filter.cc:98
Definition: kseg-defs.h:116
ObjectTypeCalcer * fixedPointCalcer(const Coordinate &c) const
Definition: object_factory.cc:50
Definition: kseg-defs.h:84
Definition: kseg-defs.h:150
Definition: kseg-defs.h:87
Definition: kseg-defs.h:111
void addObjects(const std::vector< ObjectHolder * > &os)
Add the objects os to the document.
Definition: kig_document.cc:143
ObjectTypeCalcer * locusCalcer(ObjectCalcer *a, ObjectCalcer *b) const
return a locus, defined by the two points ( one constrained, and one following ) a and b ...
Definition: object_factory.cc:355
virtual const QByteArrayList propertiesInternalNames() const
Definition: object_imp.cc:63
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
const ObjectConstCalcer * nameCalcer() const
Definition: object_holder.cc:63
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
int indexOf(const T &value, int from) const
Definition: kseg-filter.h:25
void calc(const KigDocument &)
Make our ObjectCalcer recalculate its ObjectImp.
Definition: object_holder.cc:73
Definition: kseg-defs.h:82
void calc(const KigDocument &doc)
Makes the ObjectCalcer recalculate its ObjectImp from its parents.
Definition: object_calcer.cc:183
Definition: kseg-defs.h:81
Definition: kseg-defs.h:98
Definition: kseg-defs.h:74
static const LineLineIntersectionType * instance()
Definition: intersection_types.cc:374
Definition: kseg-defs.h:100
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
KigDocument * load(const QString &fromfile)
load file fromfile and build a KigDocument from it.
Definition: kseg-filter.cc:201
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
Definition: kseg-defs.h:71
ObjectTypeCalcer * attachedLabelCalcer(const QString &s, ObjectCalcer *locationparent, const Coordinate &loc, bool needframe, const std::vector< ObjectCalcer * > &parents, const KigDocument &doc) const
this one does the same as the above, only that the new label is attached to locationparent if it is n...
Definition: object_factory.cc:402
Definition: kseg-defs.h:99
ObjectTypeCalcer * filtersConstructTextObject(const Coordinate &c, ObjectCalcer *o, const QByteArray &arg, const KigDocument &doc, bool needframe)
constructs a text object with text "%1", location c, and variable parts given by the argument arg of ...
Definition: filters-common.cc:28
Definition: kseg-defs.h:73
Definition: kseg-defs.h:70
Definition: kseg-defs.h:157
void notSupported(const QString &file, const QString &explanation) const
Definition: filter.cc:92
ObjectTypeCalcer * constrainedPointCalcer(ObjectCalcer *curve, double param) const
Definition: object_factory.cc:313
virtual bool open(QFlags< QIODevice::OpenModeFlag > flags)
virtual void calc(const KigDocument &)=0
Makes the ObjectCalcer recalculate its ObjectImp from its parents.
Definition: kseg-defs.h:108
static const ObjectImpType * stype()
Returns the ObjectImpType representing the SegmentImp type.
Definition: line_imp.cc:545
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
Definition: kseg-defs.h:160
This is an ObjectCalcer that has a single parent, and gets a certain property from it in its calc() m...
Definition: object_calcer.h:276
ObjectPropertyCalcer * propertyObjectCalcer(ObjectCalcer *o, const char *p) const
returns a property object for the property p of object o .
Definition: object_factory.cc:483
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ArcImp type.
Definition: other_imp.cc:629
void setVersion(int v)
bool supportMime(const QString &mime)
can the filter handle the mimetype mime ?
Definition: kseg-filter.cc:65
Definition: kseg-defs.h:128
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CircleImp type.
Definition: circle_imp.cc:342
Definition: kseg-defs.h:129
Definition: kseg-defs.h:121
Definition: kseg-defs.h:75
A class holding some information about how a certain object is drawn on the window.
Definition: object_drawer.h:47
Definition: kseg-defs.h:155
Definition: kseg-defs.h:156
Definition: kseg-defs.h:76
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
Definition: kseg-defs.h:69
Definition: kseg-defs.h:110
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ConicImp type.
Definition: conic_imp.cc:380
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
static const ConicLineIntersectionType * instance()
Definition: intersection_types.cc:54
virtual const ObjectImp * imp() const =0
Returns the ObjectImp of this ObjectCalcer.
Definition: kseg-defs.h:127
Definition: kseg-defs.h:79
QString fromLatin1(const char *str, int size)
void calc(const KigDocument &doc)
Makes the ObjectCalcer recalculate its ObjectImp from its parents.
Definition: object_calcer.cc:32
Definition: kseg-defs.h:158
static const LineReflectionType * instance()
Definition: transform_types.cc:122
Definition: kseg-defs.h:109
Definition: kseg-defs.h:97
Definition: kseg-defs.h:297
Definition: kseg-defs.h:140
Definition: object_factory.h:23
Definition: kseg-defs.h:107
static Coordinate readKSegCoordinate(QDataStream &stream)
Definition: kseg-filter.cc:78
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.