1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Direct float comparison happens in a few places in the rive-cpp code.
#![allow(clippy::float_cmp)]

#[macro_use]
mod core;

pub mod animation;
mod artboard;
mod backboard;
pub mod bones;
mod component;
mod component_dirt;
mod container_component;
mod dependency_sorter;
mod draw_rules;
mod draw_target;
mod drawable;
mod dyn_vec;
mod file;
mod importers;
pub mod layout;
pub mod math;
mod node;
mod option_cell;
mod renderer;
mod runtime_header;
pub mod shapes;
mod status_code;
mod transform_component;

pub use crate::core::{BinaryReader, Object};
pub use artboard::Artboard;
pub use backboard::Backboard;
pub use component::Component;
pub use container_component::ContainerComponent;
pub use draw_rules::DrawRules;
pub use draw_target::DrawTarget;
pub use drawable::Drawable;
pub use file::{File, ImportError};
pub use node::Node;
pub use renderer::{Gradient, GradientType, PaintColor, RenderPaint, Renderer, StrokeStyle, Style};
pub use status_code::StatusCode;
pub use transform_component::TransformComponent;