[][src]Trait rsvg_internals::element::Draw

pub trait Draw {
    fn draw(
        &self,
        _node: &Node<NodeData>,
        _acquired_nodes: &mut AcquiredNodes,
        _cascaded: &CascadedValues,
        draw_ctx: &mut DrawingCtx,
        _clipping: bool
    ) -> Result<BoundingBox, RenderingError> { ... } }

Provided methods

fn draw(
    &self,
    _node: &Node<NodeData>,
    _acquired_nodes: &mut AcquiredNodes,
    _cascaded: &CascadedValues,
    draw_ctx: &mut DrawingCtx,
    _clipping: bool
) -> Result<BoundingBox, RenderingError>

Draw an element

Each element is supposed to draw itself as needed.

Loading content...

Implementors

impl Draw for Element[src]

impl Draw for Filter[src]

impl Draw for FeFuncA[src]

impl Draw for FeFuncB[src]

impl Draw for FeFuncG[src]

impl Draw for FeFuncR[src]

impl Draw for FeDistantLight[src]

impl Draw for FePointLight[src]

impl Draw for FeSpotLight[src]

impl Draw for FeMergeNode[src]

impl Draw for LinearGradient[src]

impl Draw for RadialGradient[src]

impl Draw for Stop[src]

impl Draw for Image[src]

impl Draw for Marker[src]

impl Draw for Pattern[src]

impl Draw for Circle[src]

impl Draw for Ellipse[src]

impl Draw for Line[src]

impl Draw for Path[src]

impl Draw for Polygon[src]

impl Draw for Polyline[src]

impl Draw for Rect[src]

impl Draw for ClipPath[src]

impl Draw for Group[src]

impl Draw for Link[src]

impl Draw for Mask[src]

impl Draw for NonRendering[src]

impl Draw for Svg[src]

impl Draw for Switch[src]

impl Draw for Symbol[src]

impl Draw for Use[src]

impl Draw for Style[src]

impl Draw for TRef[src]

impl Draw for TSpan[src]

impl Draw for Text[src]

impl<T: SetAttributes + Draw> Draw for ElementInner<T>[src]

impl<T: FilterEffect> Draw for T[src]

Loading content...