Loading files
b0eb64c19This file is pinned to the selected release. Download the original to open it in your design tool.
mod shape_drawable;
mod group_drawable;
mod text_drawable;
pub mod loaders;
pub mod schema;
pub mod component;
use drawing;
use geometry::Matrix4;
pub use self::shape_drawable::ShapeDrawable;
pub use self::group_drawable::GroupDrawable;
pub use self::text_drawable::TextDrawable;
pub trait Drawable {
fn draw(&self, buffers: &mut drawing::Buffers, transform: bool);
fn get_transform(&self) -> Matrix4;
fn set_transform(&mut self, transform: &Matrix4);
fn set_id(&mut self, id: u32);
}