[−][src]Struct plotters::prelude::SVGBackend
The SVG image drawing backend
Methods
impl<'a> SVGBackend<'a>
[src]
Trait Implementations
impl<'a> DrawingBackend for SVGBackend<'a>
[src]
type ErrorType = Error
The error reported by the backend
fn get_size(&self) -> (u32, u32)
[src]
fn open(&mut self) -> Result<(), DrawingErrorKind<Error>>
[src]
fn close(&mut self) -> Result<(), DrawingErrorKind<Error>>
[src]
fn draw_pixel<C: Color>(
&mut self,
point: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Error>>
[src]
&mut self,
point: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Error>>
fn draw_line<C: Color>(
&mut self,
from: BackendCoord,
to: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
from: BackendCoord,
to: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_rect<C: Color>(
&mut self,
upper_left: BackendCoord,
bottom_right: BackendCoord,
color: &C,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
upper_left: BackendCoord,
bottom_right: BackendCoord,
color: &C,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_path<C: Color, I: IntoIterator<Item = BackendCoord>>(
&mut self,
path: I,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
path: I,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_circle<C: Color>(
&mut self,
center: BackendCoord,
radius: u32,
color: &C,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
center: BackendCoord,
radius: u32,
color: &C,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_text<'b, C: Color>(
&mut self,
text: &str,
font: &FontDesc<'b>,
pos: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
text: &str,
font: &FontDesc<'b>,
pos: BackendCoord,
color: &C
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
Auto Trait Implementations
impl<'a> !Send for SVGBackend<'a>
impl<'a> !Sync for SVGBackend<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.