FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DrawingImpl

    trait · ferroui-base · v0.5.0

    trait DrawingImpl: FerroObjectImpl + $crate::Upcast<Drawing>
    

    The overridable members introduced by the class.

    View source

    Members

    draw_core

    fn draw_core(this: &Self, context: &mut DrawingContext<'_>)
    

    Draws the content to a drawing context; see Drawing::draw.

    Source

    get_bounds

    fn get_bounds(this: &Self) -> Rect
    

    The bounds of the drawn content.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.