• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

Public Member Functions | Static Public Member Functions | List of all members
RationalBezierCurveType Class Reference

#include <bezier_type.h>

Inheritance diagram for RationalBezierCurveType:
Inheritance graph
[legend]

Public Member Functions

ObjectImp * calc (const Args &parents, const KigDocument &) const
 
bool canMove (const ObjectTypeCalcer &o) const
 
const ObjectImpType * impRequirement (const ObjectImp *o, const Args &parents) const
 
bool isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const
 
bool isFreelyTranslatable (const ObjectTypeCalcer &o) const
 
std::vector< ObjectCalcer * > movableParents (const ObjectTypeCalcer &ourobj) const
 
void move (ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
 
const Coordinate moveReferencePoint (const ObjectTypeCalcer &o) const
 
const ObjectImpType * resultId () const
 
std::vector< ObjectCalcer * > sortArgs (const std::vector< ObjectCalcer * > &args) const
 
Args sortArgs (const Args &args) const
 
- Public Member Functions inherited from ObjectType
virtual ~ObjectType ()
 
virtual void executeAction (int i, ObjectHolder &o, ObjectTypeCalcer &t, KigPart &d, KigWidget &w, NormalMode &m) const
 
const char * fullName () const
 
virtual bool inherits (int type) const
 
virtual bool isTransform () const
 
virtual QStringList specialActions () const
 

Static Public Member Functions

static const
RationalBezierCurveType * 
instance ()
 

Additional Inherited Members

- Public Types inherited from ObjectType
enum  { ID_ConstrainedPointType, ID_LocusType, ID_FixedPointType }
 
- Protected Member Functions inherited from ObjectType
 ObjectType (const char fulltypename[])
 

Detailed Description

Rational Bézier curve of degree n.

Definition at line 136 of file bezier_type.h.

Member Function Documentation

ObjectImp * RationalBezierCurveType::calc ( const Args &  parents,
const KigDocument &   
) const
virtual

Implements ObjectType.

Definition at line 606 of file bezier_type.cc.

bool RationalBezierCurveType::canMove ( const ObjectTypeCalcer &  o) const
virtual

Reimplemented from ObjectType.

Definition at line 654 of file bezier_type.cc.

const ObjectImpType * RationalBezierCurveType::impRequirement ( const ObjectImp *  o,
const Args &  parents 
) const
virtual

Supposing that parents would be given as parents to this type's calc function, this function returns the ObjectImp id that o should at least have.

( o should be part of parents )

Implements ObjectType.

Definition at line 632 of file bezier_type.cc.

const RationalBezierCurveType * RationalBezierCurveType::instance ( )
static

Definition at line 600 of file bezier_type.cc.

bool RationalBezierCurveType::isDefinedOnOrThrough ( const ObjectImp *  o,
const Args &  parents 
) const
virtual

Supposing that parents would be given as parents to this type's calc function, this function returns whether the returned ObjectImp will be, by construction, on o ( if o is a curve ), or through o ( if o is a point ).

Implements ObjectType.

Definition at line 637 of file bezier_type.cc.

bool RationalBezierCurveType::isFreelyTranslatable ( const ObjectTypeCalcer &  o) const
virtual

Reimplemented from ObjectType.

Definition at line 659 of file bezier_type.cc.

std::vector< ObjectCalcer * > RationalBezierCurveType::movableParents ( const ObjectTypeCalcer &  ourobj) const
virtual

Reimplemented from ObjectType.

Definition at line 688 of file bezier_type.cc.

void RationalBezierCurveType::move ( ObjectTypeCalcer &  o,
const Coordinate &  to,
const KigDocument &  d 
) const
virtual

Reimplemented from ObjectType.

Definition at line 669 of file bezier_type.cc.

const Coordinate RationalBezierCurveType::moveReferencePoint ( const ObjectTypeCalcer &  o) const
virtual

Reimplemented from ObjectType.

Definition at line 681 of file bezier_type.cc.

const ObjectImpType * RationalBezierCurveType::resultId ( ) const
virtual

returns the ObjectImp id of the ObjectImp's produced by this ObjectType.

if the ObjectType can return different sorts of ObjectImp's, it should return the biggest common id, or ID_AnyImp.

Implements ObjectType.

Definition at line 627 of file bezier_type.cc.

std::vector< ObjectCalcer * > RationalBezierCurveType::sortArgs ( const std::vector< ObjectCalcer * > &  args) const
virtual

Implements ObjectType.

Definition at line 644 of file bezier_type.cc.

Args RationalBezierCurveType::sortArgs ( const Args &  args) const
virtual

Implements ObjectType.

Definition at line 649 of file bezier_type.cc.


The documentation for this class was generated from the following files:
  • bezier_type.h
  • bezier_type.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal