Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::LivePathEffect Namespace Reference


Detailed Description

Live Path Effects code.

This namespace contains classes and functions related to the implementation of Live Path Effects, which apply arbitrary transformation to a path and update whenever the original path is modified.


Classes

class  ArrayParam
class  BoolParam
class  Effect
class  EnumParam
class  GroupBBoxEffect
class  KnotHolderEntityCrossingSwitcher
struct  LevelCrossing
struct  LevelCrossingInfo
struct  LevelCrossingInfoOrder
struct  LevelCrossingOrder
class  LevelsCrossings
class  LPEAngleBisector
class  LPEBendPath
class  LPEBoolops
class  LPECircle3Pts
class  LPECircleWithRadius
class  LPEConstructGrid
class  LPECopyRotate
class  LPECurveStitch
class  LPEdoEffectStackTest
class  LPEDynastroke
class  LPEEnvelope
class  LPEGears
class  LPEInterpolate
class  LPEKnot
class  LPELattice
class  LPELineSegment
class  LPEMirrorSymmetry
class  LPEObjectReference
class  LPEOffset
class  LPEParallel
class  LPEPathLength
class  LPEPatternAlongPath
class  LPEPerpBisector
class  LPEPerspectivePath
class  LPERecursiveSkeleton
class  LPERoughHatches
class  LPERuler
class  LPESketch
class  LPESpiro
class  LPETangentToCurve
class  LPETextLabel
class  LPEVonKoch
class  Parameter
class  PathParam
class  PathReference
class  PointParam
class  PointParamKnotHolderEntity
class  RandomParam
class  ScalarParam
class  TextParam
class  TextParamInternal
class  UnitParam
class  VectorParam
class  VectorParamKnotHolderEntity_Origin
class  VectorParamKnotHolderEntity_Vector
class  VonKochPathParam
class  VonKochRefPathParam

Typedefs

typedef std::vector
< LevelCrossing > 
LevelCrossings

Enumerations

enum  BorderMarkType {
  BORDERMARK_NONE, BORDERMARK_START, BORDERMARK_END, BORDERMARK_BOTH,
  BORDERMARK_NONE, BORDERMARK_START, BORDERMARK_END, BORDERMARK_BOTH
}
enum  BorderMarkType {
  BORDERMARK_NONE, BORDERMARK_START, BORDERMARK_END, BORDERMARK_BOTH,
  BORDERMARK_NONE, BORDERMARK_START, BORDERMARK_END, BORDERMARK_BOTH
}
enum  DynastrokeCappingType {
  DSCT_SHARP = 0, DSCT_ROUND, DSCT_END, DSCT_SHARP = 0,
  DSCT_ROUND, DSCT_END
}
enum  DynastrokeCappingType {
  DSCT_SHARP = 0, DSCT_ROUND, DSCT_END, DSCT_SHARP = 0,
  DSCT_ROUND, DSCT_END
}
enum  DynastrokeMethod {
  DSM_ELLIPTIC_PEN = 0, DSM_THICKTHIN_FAST, DSM_THICKTHIN_SLOW, DSM_END,
  DSM_ELLIPTIC_PEN = 0, DSM_THICKTHIN_FAST, DSM_THICKTHIN_SLOW, DSM_END
}
enum  DynastrokeMethod {
  DSM_ELLIPTIC_PEN = 0, DSM_THICKTHIN_FAST, DSM_THICKTHIN_SLOW, DSM_END,
  DSM_ELLIPTIC_PEN = 0, DSM_THICKTHIN_FAST, DSM_THICKTHIN_SLOW, DSM_END
}
enum  EffectType {
  BEND_PATH = 0, PATTERN_ALONG_PATH, FREEHAND_SHAPE, SKETCH,
  ROUGH_HATCHES, VONKOCH, KNOT, GEARS,
  CURVE_STITCH, CIRCLE_WITH_RADIUS, PERSPECTIVE_PATH, SPIRO,
  LATTICE, ENVELOPE, CONSTRUCT_GRID, PERP_BISECTOR,
  TANGENT_TO_CURVE, MIRROR_SYMMETRY, CIRCLE_3PTS, ANGLE_BISECTOR,
  PARALLEL, COPY_ROTATE, OFFSET, RULER,
  BOOLOPS, INTERPOLATE, TEXT_LABEL, PATH_LENGTH,
  LINE_SEGMENT, DOEFFECTSTACK_TEST, DYNASTROKE, RECURSIVE_SKELETON,
  INVALID_LPE, BEND_PATH = 0, PATTERN_ALONG_PATH, FREEHAND_SHAPE,
  SKETCH, ROUGH_HATCHES, VONKOCH, KNOT,
  GEARS, CURVE_STITCH, CIRCLE_WITH_RADIUS, PERSPECTIVE_PATH,
  SPIRO, LATTICE, ENVELOPE, CONSTRUCT_GRID,
  PERP_BISECTOR, TANGENT_TO_CURVE, MIRROR_SYMMETRY, CIRCLE_3PTS,
  ANGLE_BISECTOR, PARALLEL, COPY_ROTATE, OFFSET,
  RULER, BOOLOPS, INTERPOLATE, TEXT_LABEL,
  PATH_LENGTH, LINE_SEGMENT, DOEFFECTSTACK_TEST, DYNASTROKE,
  RECURSIVE_SKELETON, INVALID_LPE
}
enum  EffectType {
  BEND_PATH = 0, PATTERN_ALONG_PATH, FREEHAND_SHAPE, SKETCH,
  ROUGH_HATCHES, VONKOCH, KNOT, GEARS,
  CURVE_STITCH, CIRCLE_WITH_RADIUS, PERSPECTIVE_PATH, SPIRO,
  LATTICE, ENVELOPE, CONSTRUCT_GRID, PERP_BISECTOR,
  TANGENT_TO_CURVE, MIRROR_SYMMETRY, CIRCLE_3PTS, ANGLE_BISECTOR,
  PARALLEL, COPY_ROTATE, OFFSET, RULER,
  BOOLOPS, INTERPOLATE, TEXT_LABEL, PATH_LENGTH,
  LINE_SEGMENT, DOEFFECTSTACK_TEST, DYNASTROKE, RECURSIVE_SKELETON,
  INVALID_LPE, BEND_PATH = 0, PATTERN_ALONG_PATH, FREEHAND_SHAPE,
  SKETCH, ROUGH_HATCHES, VONKOCH, KNOT,
  GEARS, CURVE_STITCH, CIRCLE_WITH_RADIUS, PERSPECTIVE_PATH,
  SPIRO, LATTICE, ENVELOPE, CONSTRUCT_GRID,
  PERP_BISECTOR, TANGENT_TO_CURVE, MIRROR_SYMMETRY, CIRCLE_3PTS,
  ANGLE_BISECTOR, PARALLEL, COPY_ROTATE, OFFSET,
  RULER, BOOLOPS, INTERPOLATE, TEXT_LABEL,
  PATH_LENGTH, LINE_SEGMENT, DOEFFECTSTACK_TEST, DYNASTROKE,
  RECURSIVE_SKELETON, INVALID_LPE
}
enum  EndType {
  END_CLOSED, END_OPEN_INITIAL, END_OPEN_FINAL, END_OPEN_BOTH,
  END_CLOSED, END_OPEN_INITIAL, END_OPEN_FINAL, END_OPEN_BOTH
}
enum  EndType {
  END_CLOSED, END_OPEN_INITIAL, END_OPEN_FINAL, END_OPEN_BOTH,
  END_CLOSED, END_OPEN_INITIAL, END_OPEN_FINAL, END_OPEN_BOTH
}
enum  LPEPathFlashType { SUPPRESS_FLASH, DEFAULT, SUPPRESS_FLASH, DEFAULT }
enum  LPEPathFlashType { SUPPRESS_FLASH, DEFAULT, SUPPRESS_FLASH, DEFAULT }
enum  MarkDirType {
  MARKDIR_LEFT, MARKDIR_RIGHT, MARKDIR_BOTH, MARKDIR_LEFT,
  MARKDIR_RIGHT, MARKDIR_BOTH
}
enum  MarkDirType {
  MARKDIR_LEFT, MARKDIR_RIGHT, MARKDIR_BOTH, MARKDIR_LEFT,
  MARKDIR_RIGHT, MARKDIR_BOTH
}
enum  MarkType { MARK_MAJOR, MARK_MINOR, MARK_MAJOR, MARK_MINOR }
enum  MarkType { MARK_MAJOR, MARK_MINOR, MARK_MAJOR, MARK_MINOR }
enum  PAPCopyType {
  PAPCT_SINGLE = 0, PAPCT_SINGLE_STRETCHED, PAPCT_REPEATED, PAPCT_REPEATED_STRETCHED,
  PAPCT_END, PAPCT_SINGLE = 0, PAPCT_SINGLE_STRETCHED, PAPCT_REPEATED,
  PAPCT_REPEATED_STRETCHED, PAPCT_END
}
enum  PAPCopyType {
  PAPCT_SINGLE = 0, PAPCT_SINGLE_STRETCHED, PAPCT_REPEATED, PAPCT_REPEATED_STRETCHED,
  PAPCT_END, PAPCT_SINGLE = 0, PAPCT_SINGLE_STRETCHED, PAPCT_REPEATED,
  PAPCT_REPEATED_STRETCHED, PAPCT_END
}

Functions

static void _circle (Geom::Point center, double radius, std::vector< Geom::Path > &path_out)
static void _circle3 (Geom::Point const &A, Geom::Point const &B, Geom::Point const &C, std::vector< Geom::Path > &path_out)
static void append_half_circle (Geom::Piecewise< Geom::D2< Geom::SBasis > > &pwd2, Geom::Point const center, Geom::Point const &dir)
Piecewise< D2< SBasis > > bend (Piecewise< D2< SBasis > > const &f, Piecewise< SBasis > bending)
static const
Util::EnumDataConverter
< unsigned > 
BoolopTypeConverter (BoolopTypeData, sizeof(BoolopTypeData)/sizeof(*BoolopTypeData))
static const
Util::EnumDataConverter
< BorderMarkType > 
BorderMarkTypeConverter (BorderMarkData, sizeof(BorderMarkData)/sizeof(*BorderMarkData))
void collectPathsAndWidths (SPLPEItem const *lpeitem, std::vector< Geom::Path > &paths, std::vector< double > &stroke_widths)
static std::vector
< Geom::Interval
complementOf (Geom::Interval I, std::vector< Geom::Interval > domain)
std::vector< double > discontinuities (Piecewise< D2< SBasis > > const &f)
static const
Util::EnumDataConverter
< DynastrokeCappingType > 
DSCTConverter (DynastrokeCappingTypeData, DSCT_END)
static const
Util::EnumDataConverter
< DynastrokeMethod > 
DSMethodConverter (DynastrokeMethodData, DSM_END)
static const
Util::EnumDataConverter
< EndType > 
EndTypeConverter (EndTypeData, sizeof(EndTypeData)/sizeof(*EndTypeData))
static std::vector< double > find_corners (Geom::Piecewise< Geom::D2< Geom::SBasis > > const &m)
static Geom::Interval findShadowedTime (Geom::Path const &patha, std::vector< Geom::Point > const &pt_and_dir, double const ta, double const width)
static LPEKnot * get_effect (SPItem *item)
static void lpeobjectreference_delete_self (SPObject *deleted, LPEObjectReference *lpeobjref)
static void lpeobjectreference_href_changed (SPObject *old_ref, SPObject *ref, LPEObjectReference *lpeobjref)
static void lpeobjectreference_source_modified (SPObject *iSource, guint flags, LPEObjectReference *lpeobjref)
const Util::EnumDataConverter
< EffectType > 
LPETypeConverter (LPETypeData, sizeof(LPETypeData)/sizeof(*LPETypeData))
static const
Util::EnumDataConverter
< MarkDirType > 
MarkDirTypeConverter (MarkDirData, sizeof(MarkDirData)/sizeof(*MarkDirData))
static const
Util::EnumDataConverter
< PAPCopyType > 
PAPCopyTypeConverter (PAPCopyTypeData, PAPCT_END)

Variables

static const Util::EnumData
< unsigned > 
BoolopTypeData []
static const Util::EnumData
< BorderMarkType > 
BorderMarkData []
static const Util::EnumData
< DynastrokeCappingType > 
DynastrokeCappingTypeData [DSCT_END]
static const Util::EnumData
< DynastrokeMethod > 
DynastrokeMethodData [DSM_END]
static const Util::EnumData
< EndType > 
EndTypeData []
const Util::EnumDataConverter
< EffectType > 
LPETypeConverter
 defined in effect.cpp
const Util::EnumData< EffectType > LPETypeData []
static const Util::EnumData
< MarkDirType > 
MarkDirData []
static const Util::EnumData
< PAPCopyType > 
PAPCopyTypeData [PAPCT_END]


Generated by  Doxygen 1.6.0   Back to index