pub struct Renderer;Implementations§
Source§impl Renderer
impl Renderer
pub fn line(x1: f64, y1: f64, x2: f64, y2: f64, options: &RoughOptions) -> OpSet
pub fn linear_path( points: &Vec<Point<f64>>, close: bool, options: &RoughOptions, ) -> OpSet
pub fn polygon(points: &Vec<Point<f64>>, options: &RoughOptions) -> OpSet
pub fn rectangle( x: f64, y: f64, width: f64, height: f64, options: &RoughOptions, ) -> OpSet
pub fn curve(points: &Vec<Point<f64>>, options: &RoughOptions) -> OpSet
pub fn ellipse( x: f64, y: f64, width: f64, height: f64, options: &RoughOptions, ) -> OpSet
pub fn generate_ellipse_params( width: f64, height: f64, options: &RoughOptions, ) -> EllipseParams
pub fn ellipse_with_params( x: f64, y: f64, o: &RoughOptions, ellipse_params: &EllipseParams, ) -> EllipseResult
pub fn arc( x: f64, y: f64, width: f64, height: f64, start: f64, stop: f64, closed: bool, rough_closure: bool, options: &RoughOptions, ) -> OpSet
pub fn solid_fill_polygon( points: &Vec<Point<f64>>, options: &RoughOptions, ) -> OpSet
pub fn pattern_fill_polygon( points: &Vec<Point<f64>>, options: &RoughOptions, ) -> OpSet
pub fn pattern_fill_arc( x: f64, y: f64, width: f64, height: f64, start: f64, stop: f64, o: &RoughOptions, ) -> OpSet
pub fn rand_offset(x: f64, o: &RoughOptions) -> f64
pub fn rand_offset_with_range(min: f64, max: f64, o: &RoughOptions) -> f64
pub fn double_line_fill_ops( x1: f64, y1: f64, x2: f64, y2: f64, o: &RoughOptions, ) -> Vec<Op>
Auto Trait Implementations§
impl Freeze for Renderer
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnsafeUnpin for Renderer
impl UnwindSafe for Renderer
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