Skip to main content

Crate motion_content

Crate motion_content 

Source
Expand description

Content preparation and drawing, independent of CPU/GPU backends.

Re-exports§

pub use asset::AssetsExt;
pub use font::FontFace;
pub use font::FontIdentifier;
pub use font::FontLibrary;
pub use font::MAX_FONT_FACE_BYTES;
pub use image::AnimatedImage;
pub use image::AnimatedImageAsset;
pub use image::ImageLoopMode;
pub use image::Fit;
pub use image::Image;
pub use image::ImageAsset;
pub use image::ImageLevel;
pub use particles::Attractor;
pub use particles::Ballistic;
pub use particles::BounceBox;
pub use particles::BurstEmitter;
pub use particles::ColorOverLifetime;
pub use particles::Converge;
pub use particles::CurlNoise;
pub use particles::DiskEmitter;
pub use particles::Drag;
pub use particles::Gravity;
pub use particles::NoiseDrift;
pub use particles::Orbit;
pub use particles::Particle;
pub use particles::ParticleEmitter;
pub use particles::ParticleModifier;
pub use particles::ParticleSimulation;
pub use particles::ParticleStyle;
pub use particles::ParticleTrajectory;
pub use particles::PathEmitter;
pub use particles::PointEmitter;
pub use particles::RectEmitter;
pub use particles::Seek;
pub use particles::SimulationLimits;
pub use particles::SimulationStats;
pub use particles::SizeOverLifetime;
pub use particles::SurfaceEmitter;
pub use particles::TrajectoryModel;
pub use particles::Vortex;
pub use particles::Wind;
pub use svg::Svg;
pub use svg::SvgAsset;
pub use svg::SvgDiagnostic;
pub use text::ParagraphLayout;
pub use text::PartStyle;
pub use text::Text;
pub use text::TextAlignment;
pub use text::TextGlyph;
pub use text::TextPart;
pub use text::TextSpan;
pub use text::TextSplit;
pub use vector::Morph;
pub use vector::SurfaceTriangle;
pub use vector::VectorGroup;
pub use vector::VectorImage;
pub use vector::VectorItem;
pub use vector::VectorLeaf;
pub use vector::VectorMask;
pub use vector::VectorPath;
pub use vector::VectorSurface;
pub use vector::VectorTree;
pub use vector::WriteOptions;

Modules§

asset
Typed resource access through the unified lazy owner.
atmosphere
Deterministic advected fog, sparse dust and HDR light-leak image generators.
captions
Shared narration markers and measured, safe-area subtitle production.
diagram
Diagram annotations and tick axes.
font
Explicit immutable font snapshots shared by text and SVG parsing.
image
Immutable static and animated image resources.
particles
Deterministic fixed-step simulations and coupled analytic particles.
prelude
Content authoring and core contracts without a renderer dependency.
svg
Bounded SVG XML import into the shared semantic vector model.
text
Text paragraphs, rich styles and grapheme-aware stateless part animation.
vector
Shared immutable semantic vectors for text, SVG, formulas and vector effects.

Structs§

FontWeight
Specifies the weight of glyphs in the font, their degree of blackness or stroke thickness.

Enums§

Sampling
Texture reconstruction requested by a drawing command.

Functions§

load_lut
Loads explicitly requested LUT data without implicit resource discovery.
load_shaper
Loads an explicitly requested standalone 1D .cube shaper.