Struct sixtyfps_rendering_backend_gl::GLItemRenderer [−][src]
pub struct GLItemRenderer { /* fields omitted */ }
Trait Implementations
impl ItemRenderer for GLItemRenderer
[src]
impl ItemRenderer for GLItemRenderer
[src]fn draw_rectangle(&mut self, rect: Pin<&Rectangle>)
[src]
fn draw_border_rectangle(&mut self, rect: Pin<&BorderRectangle>)
[src]
fn draw_image(&mut self, image: Pin<&Image>)
[src]
fn draw_clipped_image(&mut self, clipped_image: Pin<&ClippedImage>)
[src]
fn draw_text(&mut self, text: Pin<&Text>)
[src]
fn draw_text_input(&mut self, text_input: Pin<&TextInput>)
[src]
fn draw_path(&mut self, path: Pin<&Path>)
[src]
fn draw_box_shadow(&mut self, box_shadow: Pin<&BoxShadow>)
[src]
Draws a rectangular shadow shape, which is usually placed underneath another rectangular shape with an offset (the drop-shadow-offset-x/y). The rendering happens in two phases:
- The (possibly round) rectangle is filled with the shadow color.
- A blurred shadow border is drawn using femtovg’s box gradient. The shadow border is the shape of a slightly bigger rounded rect with the inner shape subtracted. That’s because
fn combine_clip(&mut self, clip_rect: Rect, radius: f32, border_width: f32)
[src]
fn get_current_clip(&self) -> Rect
[src]
fn save_state(&mut self)
[src]
fn restore_state(&mut self)
[src]
fn scale_factor(&self) -> f32
[src]
fn draw_cached_pixmap(
&mut self,
item_cache: &CachedRenderingData,
update_fn: &dyn Fn(&mut dyn FnMut(u32, u32, &[u8]))
)
[src]
&mut self,
item_cache: &CachedRenderingData,
update_fn: &dyn Fn(&mut dyn FnMut(u32, u32, &[u8]))
)
fn as_any(&mut self) -> &mut dyn Any
[src]
fn translate(&mut self, x: f32, y: f32)
[src]
fn rotate(&mut self, angle_in_degrees: f32)
[src]
fn apply_opacity(&mut self, opacity: f32)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GLItemRenderer
impl !RefUnwindSafe for GLItemRenderer
impl !Send for GLItemRenderer
impl !Send for GLItemRenderer
impl !Sync for GLItemRenderer
impl !Sync for GLItemRenderer
impl Unpin for GLItemRenderer
impl Unpin for GLItemRenderer
impl !UnwindSafe for GLItemRenderer
impl !UnwindSafe for GLItemRenderer