ruffle/core/src/prelude.rs

14 lines
588 B
Rust
Raw Normal View History

pub use crate::bounding_box::BoundingBox;
2019-04-29 05:55:44 +00:00
pub use crate::color_transform::ColorTransform;
pub use crate::display_object::{DisplayObject, TDisplayObject};
pub use crate::impl_display_object;
pub use log::{error, info, trace, warn};
pub use swf::Matrix;
2019-12-17 07:27:41 +00:00
pub use swf::{CharacterId, Color, Twips};
/// A depth for a Flash display object in AVM1.
/// This is different than defined in `swf`; during execution, clips
/// created from SWF tags have their depth biased to negative numbers,
/// and clips can be dynamically switched by AS to depths in the range of 32-bits.
pub type Depth = i32;