Crate scribl_curves[−][src]
Modules
save |
Structs
Cursor | A cursor allows for efficiently scanning through a collection of overlapping intervals (which
we call "spans"). It is optimized for the case where you need to repeatedly move the current
position by a little bit in either direction; in this case, the complexity is O(n),
where |
DrawSnippet | A snippet is a sequence of strokes, possibly modified by a time distortion. |
DrawSnippetId | Snippets are identified by unique ids. |
DrawSnippets | A collection of |
Effects | A collection of effects. |
FadeEffect | A fade effect. |
Lerp | Specifies interpolations between two sets of times. |
Span | |
StrokeInProgress | While drawing, this stores one continuous poly-line (from pen-down to pen-up). Because we expect lots of fast changes to this, it uses interior mutability to avoid repeated allocations. |
StrokeRef | A single continuous stroke in a |
StrokeSeq | A |
StrokeStyle | |
Time | The clock of a scribl. |
TimeDiff | The difference between two |
TimeSpan | An interval of times. |
Enums
Effect |
Type Definitions
DrawCursor |