Struct components::Renderer[][src]

pub struct Renderer;

Implementations

impl Renderer[src]

pub fn line(x1: f64, y1: f64, x2: f64, y2: f64, options: &RoughOptions) -> OpSet[src]

pub fn linear_path(
    points: &Vec<Point2D<f64, UnknownUnit>, Global>,
    close: bool,
    options: &RoughOptions
) -> OpSet
[src]

pub fn polygon(
    points: &Vec<Point2D<f64, UnknownUnit>, Global>,
    options: &RoughOptions
) -> OpSet
[src]

pub fn rectangle(
    x: f64,
    y: f64,
    width: f64,
    height: f64,
    options: &RoughOptions
) -> OpSet
[src]

pub fn curve(
    points: &Vec<Point2D<f64, UnknownUnit>, Global>,
    options: &RoughOptions
) -> OpSet
[src]

pub fn ellipse(
    x: f64,
    y: f64,
    width: f64,
    height: f64,
    options: &RoughOptions
) -> OpSet
[src]

pub fn generate_ellipse_params(
    width: f64,
    height: f64,
    options: &RoughOptions
) -> EllipseParams
[src]

pub fn ellipse_with_params(
    x: f64,
    y: f64,
    o: &RoughOptions,
    ellipse_params: &EllipseParams
) -> EllipseResult
[src]

pub fn arc(
    x: f64,
    y: f64,
    width: f64,
    height: f64,
    start: f64,
    stop: f64,
    closed: bool,
    rough_closure: bool,
    options: &RoughOptions
) -> OpSet
[src]

pub fn solid_fill_polygon(
    points: &Vec<Point2D<f64, UnknownUnit>, Global>,
    options: &RoughOptions
) -> OpSet
[src]

pub fn pattern_fill_polygon(
    points: &Vec<Point2D<f64, UnknownUnit>, Global>,
    options: &RoughOptions
) -> OpSet
[src]

pub fn pattern_fill_arc(
    x: f64,
    y: f64,
    width: f64,
    height: f64,
    start: f64,
    stop: f64,
    o: &RoughOptions
) -> OpSet
[src]

pub fn rand_offset(x: f64, o: &RoughOptions) -> f64[src]

pub fn rand_offset_with_range(min: f64, max: f64, o: &RoughOptions) -> f64[src]

pub fn double_line_fill_ops(
    x1: f64,
    y1: f64,
    x2: f64,
    y2: f64,
    o: &RoughOptions
) -> Vec<Op, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,