weird old canvas version hanging around

This commit is contained in:
2020-02-04 19:56:43 -08:00
parent 4b8fffc6bf
commit bb5617420e
31749 changed files with 576 additions and 1220832 deletions

View File

@@ -4,17 +4,14 @@ pub mod canvas_frame;
pub mod shader;
pub mod canvas_text;
pub mod canvas_buffer;
pub mod canvas;
use crate::canvas::canvas_frame::CanvasFrame;
/// Typed wrapper for a u32 font handle (index id)
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
pub struct CanvasFontHandle {
pub handle: u32
pub trait Handle {
fn get_handle(&self) -> u32;
}
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
pub struct CanvasTextureHandle {
pub handle: u32