Struct rasterize::Scene[][src]

pub struct Scene { /* fields omitted */ }

Implementations

impl Scene[src]

pub fn fill(path: Arc<Path>, paint: Arc<dyn Paint>, fill_rule: FillRule) -> Self[src]

pub fn stroke(
    path: Arc<Path>,
    paint: Arc<dyn Paint>,
    style: StrokeStyle
) -> Self
[src]

pub fn group(children: Vec<Scene>) -> Self[src]

pub fn opacity(&self, opacity: Scalar) -> Self[src]

pub fn clip(&self, clip: Arc<Path>, units: Units, fill_rule: FillRule) -> Self[src]

pub fn transform(&self, tr: Transform) -> Self[src]

pub fn bbox(&self, tr: Transform) -> Option<BBox>[src]

pub fn render(
    &self,
    rasterizer: &dyn Rasterizer,
    tr: Transform,
    view: Option<BBox>,
    bg: Option<LinColor>
) -> Layer<LinColor>
[src]

Trait Implementations

impl Clone for Scene[src]

impl Debug for Scene[src]

Auto Trait Implementations

impl !RefUnwindSafe for Scene

impl !Send for Scene

impl !Sync for Scene

impl Unpin for Scene

impl !UnwindSafe for Scene

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.