dioxuscut_rasterizer/
lib.rs1pub mod backend;
29pub mod font;
30mod image_cache;
31pub mod render;
32pub mod scene;
33pub mod tiny_skia_backend;
34mod video_cache;
35#[cfg(feature = "gpu")]
36pub mod wgpu_backend;
37
38pub use backend::{FrameConfig, RasterError, RasterizerBackend};
39pub use font::FontCache;
40pub use font::{
41 layout_text_box, measure_text_width, PositionedTextLine, TextBox, TextBoxLayout,
42 TextHorizontalAlign, TextOverflow, TextVerticalAlign,
43};
44pub use render::{
45 build_pipe_ffmpeg_args, render_all_frames, render_frame_timed, render_parallel,
46 render_still_fallible, render_to_ffmpeg_pipe, render_to_ffmpeg_pipe_fallible, save_frame,
47 NativeRenderConfig, PipeConfig, RenderCancellationToken, RenderControl, RenderProgress,
48 StillImageFormat, VideoCodec,
49};
50pub use scene::{
51 AudioTrack, BlendMode, ClipRegion, Color, GradientStop, ImageFit, MaskMode, Scene, SceneFilter,
52 SceneNode, SceneShadow, Transform2D,
53};
54pub use tiny_skia_backend::TinySkiaBackend;
55pub use video_cache::{probe_video_metadata, VideoMetadata};
56#[cfg(feature = "gpu")]
57pub use wgpu_backend::WgpuBackend;