[][src]Trait usvg::TransformFromBBox

pub trait TransformFromBBox: Sized {
    pub fn from_bbox(bbox: Rect) -> Self;
}

Converts Rect into bbox Transform.

Required methods

pub fn from_bbox(bbox: Rect) -> Self[src]

Converts Rect into bbox Transform.

Loading content...

Implementors

impl TransformFromBBox for Transform[src]

Loading content...