FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Scene

    struct · ferroui-livecharts · v0.5.0

    struct Scene
    

    A complete frame in control-local device independent coordinates.

    View source

    Members

    size

    size: ferroui_base::Size
    

    Source

    plot_bounds

    plot_bounds: ferroui_base::Rect
    

    Source

    primitives

    primitives: Vec<Primitive>
    

    Source

    hits

    hits: Vec<HitRegion>
    

    Source

    legend

    legend: Vec<LegendItem>
    

    Source

    entity_keys

    entity_keys: std::collections::HashMap<PointId, (u64, u64)>
    

    Stable model identities supplied by a host. Event indexes stay in PointId; transitions can follow the same model when a collection is reordered.

    Source

    automatic_finding_strategy

    automatic_finding_strategy: FindingStrategy
    

    Resolved from the visible series by the engine, as in GetFindingStrategy.

    Source

    new

    fn new(size: Size, plot_bounds: Rect) -> Self
    

    Source

    hit_test

    fn hit_test(self: &Self, point: Point, strategy: FindingStrategy, tolerance: f64) -> Vec<&HitRegion>
    

    Source

    translate

    fn translate(self: &mut Self, offset: Point, output_size: Size) -> Result<(), ChartError>
    

    Places an inner measurement in control coordinates, preserving geometry, clipping, exact hit shapes, hover slots and stable entity identities.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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