kig
bezier_type.cc
Go to the documentation of this file.
40 static const char bezier2_constructstatement[] = I18N_NOOP( "Construct a quadratic Bézier curve with this control point" );
41 static const char bezier2_constructstatement2[] = I18N_NOOP( "Select a point to be a control point of the new quadratic Bézier curve..." );
122 std::vector<ObjectCalcer*> BezierQuadricType::movableParents( const ObjectTypeCalcer& ourobj ) const
140 static const char bezier3_constructstatement[] = I18N_NOOP( "Construct a cubic Bézier curve with this control point" );
141 static const char bezier3_constructstatement2[] = I18N_NOOP( "Select a point to be a control point of the new cubic Bézier curve..." );
226 std::vector<ObjectCalcer*> BezierCubicType::movableParents( const ObjectTypeCalcer& ourobj ) const
297 std::vector<ObjectCalcer*> BezierCurveType::sortArgs( const std::vector<ObjectCalcer*>& args ) const
341 std::vector<ObjectCalcer*> BezierCurveType::movableParents( const ObjectTypeCalcer& ourobj ) const
358 static const char rbezier2_constructstatement[] = I18N_NOOP( "Construct a quadratic rational Bézier curve with this control point" );
359 static const char rbezier2_constructstatement2[] = I18N_NOOP( "Select three points and three numeric values as weights to construct rational Bézier curve..." );
444 const Coordinate RationalBezierQuadricType::moveReferencePoint( const ObjectTypeCalcer& o ) const
451 std::vector<ObjectCalcer*> RationalBezierQuadricType::movableParents( const ObjectTypeCalcer& ourobj ) const
469 static const char rbezier3_constructstatement[] = I18N_NOOP( "Construct a cubic rational Bézier curve with this control point" );
470 static const char rbezier3_constructstatement2[] = I18N_NOOP( "Select three points and three numeric values as weights to construct rational Bézier curve..." );
567 std::vector<ObjectCalcer*> RationalBezierCubicType::movableParents( const ObjectTypeCalcer& ourobj ) const
632 const ObjectImpType* RationalBezierCurveType::impRequirement( const ObjectImp*, const Args& ) const
644 std::vector<ObjectCalcer*> RationalBezierCurveType::sortArgs( const std::vector<ObjectCalcer*>& args ) const
688 std::vector<ObjectCalcer*> RationalBezierCurveType::movableParents( const ObjectTypeCalcer& ourobj ) const
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:200
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:567
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:312
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:280
static const RationalBezierCurveType * instance()
Definition: bezier_type.cc:600
static const char bezier2_constructstatement2[]
Definition: bezier_type.cc:41
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
static const char rbezier3_constructstatement[]
Definition: bezier_type.cc:469
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:427
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:414
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:91
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:86
static const char rbezier3_constructstatement3[]
Definition: bezier_type.cc:471
static const struct ArgsParser::spec argsspecRationalBezier2[]
Definition: bezier_type.cc:363
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:451
static const struct ArgsParser::spec argsspecRationalBezier3[]
Definition: bezier_type.cc:474
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:503
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:527
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:654
const Coordinate & coordinate() const
Get the coordinate of this PointImp.
Definition: point_imp.h:50
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:122
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:532
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:409
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: bezier_type.cc:290
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:659
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:191
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: bezier_type.cc:632
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: bezier_type.cc:644
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:186
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RationalBezierImp type.
Definition: bezier_imp.cc:516
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:606
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:219
static const char rbezier3_constructstatement2[]
Definition: bezier_type.cc:470
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:322
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:522
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: bezier_type.cc:285
bool canMove(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:307
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const char rbezier2_constructstatement2[]
Definition: bezier_type.cc:359
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:444
Definition: argsparser.h:113
static const char bezier3_constructstatement2[]
Definition: bezier_type.cc:141
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:688
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:334
The ObjectType class is a thing that represents the "behaviour" for a certain type.
Definition: object_type.h:32
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:168
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:419
WeightImpType weightimptypeinstance
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:264
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:681
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const RationalBezierCubicType * instance()
Definition: bezier_type.cc:497
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: bezier_type.cc:297
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:226
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:68
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:115
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
static const char bezier3_constructstatement[]
Definition: bezier_type.cc:140
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:627
static const ObjectImpType * stype()
Returns the ObjectImpType representing the BezierImp type.
Definition: bezier_imp.cc:218
std::vector< ObjectCalcer * > parents() const
Returns the parent ObjectCalcer's of this ObjectCalcer.
Definition: object_calcer.cc:105
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:541
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: bezier_type.cc:390
double getDoubleFromImp(const ObjectImp *obj, bool &valid)
Definition: special_imptypes.cc:27
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:81
static const char bezier2_constructstatement[]
Definition: bezier_type.cc:40
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:99
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: bezier_type.cc:560
static const RationalBezierQuadricType * instance()
Definition: bezier_type.cc:384
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: bezier_type.cc:637
static const char rbezier2_constructstatement[]
Definition: bezier_type.cc:358
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: bezier_type.cc:181
static const char rbezier2_constructstatement3[]
Definition: bezier_type.cc:360
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: bezier_type.cc:341
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: bezier_type.cc:669
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.