Function elmesque::form::draw_form [−] [src]

pub fn draw_form<'a, C: CharacterCache, G: Graphics<Texture=C>>(form: &Form, alpha: f32, matrix: Matrix2d, backend: &mut G, maybe_character_cache: &mut Option<&mut C>, draw_state: &DrawState)

CUSTOM NON-ELM FUNCTIONS.

Normally Elm renders to html and javascript, however the aim of elmesque is to render to GL.

This function draws a form with some given transform using the generic Piston graphics backend.