Struct floem_vger_renderer::VgerRenderer
source · pub struct VgerRenderer { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Renderer for VgerRenderer
impl Renderer for VgerRenderer
fn begin(&mut self, capture: bool)
source§fn stroke<'b>(
&mut self,
shape: &impl Shape,
brush: impl Into<BrushRef<'b>>,
width: f64
)
fn stroke<'b>( &mut self, shape: &impl Shape, brush: impl Into<BrushRef<'b>>, width: f64 )
Stroke a [
Shape
].source§fn fill<'b>(
&mut self,
path: &impl Shape,
brush: impl Into<BrushRef<'b>>,
blur_radius: f64
)
fn fill<'b>( &mut self, path: &impl Shape, brush: impl Into<BrushRef<'b>>, blur_radius: f64 )
Fill a [
Shape
], using the non-zero fill rule.source§fn draw_text(&mut self, layout: &TextLayout, pos: impl Into<Point>)
fn draw_text(&mut self, layout: &TextLayout, pos: impl Into<Point>)
Draw a [
TextLayout
]. Read morefn draw_img(&mut self, img: Img<'_>, rect: Rect)
fn draw_svg<'b>( &mut self, svg: Svg<'b>, rect: Rect, brush: Option<impl Into<BrushRef<'b>>> )
fn transform(&mut self, transform: Affine)
fn set_z_index(&mut self, z_index: i32)
fn clear_clip(&mut self)
fn finish(&mut self) -> Option<DynamicImage>
Auto Trait Implementations§
impl !RefUnwindSafe for VgerRenderer
impl Send for VgerRenderer
impl Sync for VgerRenderer
impl Unpin for VgerRenderer
impl !UnwindSafe for VgerRenderer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more