pub mod backend;
pub mod font;
mod image_cache;
pub mod render;
pub mod scene;
pub mod tiny_skia_backend;
mod video_cache;
#[cfg(feature = "gpu")]
pub mod wgpu_backend;
pub use backend::{FrameConfig, RasterError, RasterizerBackend};
pub use font::FontCache;
pub use font::{
layout_text_box, measure_text_width, PositionedTextLine, TextBox, TextBoxLayout,
TextHorizontalAlign, TextOverflow, TextVerticalAlign,
};
pub use render::{
build_pipe_ffmpeg_args, render_all_frames, render_frame_timed, render_parallel,
render_still_fallible, render_to_ffmpeg_pipe, render_to_ffmpeg_pipe_fallible, save_frame,
NativeRenderConfig, PipeConfig, RenderCancellationToken, RenderControl, RenderProgress,
StillImageFormat, VideoCodec,
};
pub use scene::{
AudioTrack, BlendMode, ClipRegion, Color, GradientStop, ImageFit, MaskMode, Scene, SceneFilter,
SceneNode, SceneShadow, Transform2D,
};
pub use tiny_skia_backend::TinySkiaBackend;
pub use video_cache::{probe_video_metadata, VideoMetadata};
#[cfg(feature = "gpu")]
pub use wgpu_backend::WgpuBackend;