[][src]Struct raqote::PathBuilder

pub struct PathBuilder { /* fields omitted */ }

Methods

impl PathBuilder[src]

pub fn new() -> PathBuilder[src]

pub fn move_to(&mut self, x: f32, y: f32)[src]

pub fn line_to(&mut self, x: f32, y: f32)[src]

pub fn quad_to(&mut self, cx: f32, cy: f32, x: f32, y: f32)[src]

pub fn rect(&mut self, x: f32, y: f32, width: f32, height: f32)[src]

pub fn cubic_to(
    &mut self,
    cx1: f32,
    cy1: f32,
    cx2: f32,
    cy2: f32,
    x: f32,
    y: f32
)
[src]

pub fn close(&mut self)[src]

pub fn arc(&mut self, x: f32, y: f32, r: f32, angle1: f32, angle2: f32)[src]

pub fn finish(self) -> Path[src]

Auto Trait Implementations

impl Send for PathBuilder

impl Sync for PathBuilder

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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