Trait guion::render::widgets::RenderStdWidgets[][src]

pub trait RenderStdWidgets<E>: Render<E> where
    E: Env
{ fn fill_rect(&mut self, c: &mut E::Context);
fn fill_border_inner(&mut self, c: &mut E::Context);
fn render_preprocessed_text(
        &mut self,
        text: &ESGlyphs<E>,
        inner_offset: Offset,
        c: &mut E::Context
    );
fn set_cursor_specific(&mut self, cursor: &ESCursor<E>, c: &mut E::Context); fn render_text(&mut self, text: &str, align: (f32, f32), c: &mut E::Context) { ... }
fn set_cursor(&mut self, c: &mut E::Context) { ... } }

Required methods

fn fill_rect(&mut self, c: &mut E::Context)[src]

Fill the current bounds with the color derived from style

fn fill_border_inner(&mut self, c: &mut E::Context)[src]

Fill the current bounds with the color and thickness derived from style

fn render_preprocessed_text(
    &mut self,
    text: &ESGlyphs<E>,
    inner_offset: Offset,
    c: &mut E::Context
)
[src]

fn set_cursor_specific(&mut self, cursor: &ESCursor<E>, c: &mut E::Context)[src]

Loading content...

Provided methods

fn render_text(&mut self, text: &str, align: (f32, f32), c: &mut E::Context)[src]

👎 Deprecated:

avoid this because stuff is not cached

fn set_cursor(&mut self, c: &mut E::Context)[src]

Set the cursor to the cursor derived from style

Loading content...

Implementors

Loading content...