Crate flo_animation

Crate flo_animation 

Source
Expand description

Library for describing and editing FlowBetween animations

Modules§

brushes
editor
Supplies the methods for taking a series of edit actions and applying them to the objects to be edited.
inmemory

Structs§

BrushDefinitionElement
Element representing selecting a new brush definition
BrushElement
Element representing a brush stroke
BrushPoint
Represents a segment of a brush stroke
BrushProperties
Standard properties for a brush stroke
BrushPropertiesElement
Element representing selecting some new brush properties
Editor
Represents an editor for type T
InkDefinition
Ink brushes are solid lines of varying width. This defines how they behave. The actual behaviour is implemented by the InkBrush structure.
Path
Represents a vector path
PathCurve
A start point and a following element describes a bezier curve
PathPoint
A point in a path
RawPoint
A raw point represents a point from an input device
Reader
Represents a reader for type T
Rect
Represents a rectangle
VectorProperties
Represents the active properties for a vector layer

Enums§

AnimationEdit
Represents an edit to an animation object
BrushDefinition
Stores the definition of a particular brush
BrushDrawingStyle
Represents the drawing style to use with a brush
ElementId
Represents the ID of an element
LayerEdit
Represents an edit to a layer
LayerEditType
Represents a type of layer edit
PaintEdit
Represents an edit involving painting
PathElement
Represents an element of a bezier path
Vector
Possible types of vector element

Traits§

Animation
Represents an animation
Brush
Trait implemented by things that can draw brush strokes
EditLog
Trait implemented by things that can be edited (or described) by sequences of commands
EditLogUtils
Utility trait that provides some extra sugar for edit logs
Editable
Represents an item that can be edited
Frame
Represents a single frame in a layer of an animation
HasBoundingBox
Trait implemented by graphical elements with a bounding box
Layer
A layer represents a renderable plane in an animation
MutableAnimation
Trait implemented by objects that support editing the data associated with an animation
PendingEditLog
Trait implemented by edit logs representing a set of edits waiting to be committed to another edit log.
PerformEdits
Convenience trait that makes it easier to edit an object that uses an EditLog
VectorElement
Represents a vector element in a frame
VectorLayer
Represents a layer that contains vector elements

Functions§

open_edit
Opens an editable object for editing if possible
open_read
Opens an editable object for reading if possible
read_raw_points
Reads a set of raw points froma stream
write_raw_points
Writes a set of raw points to a stream