FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_controls_inking

    module · ferroui-controls-inking · v0.5.0

    module ferroui_controls_inking
    

    ferroui-controls-inking

    The inking controls and services of WinUI on FerroUI: InkCanvas with its InkPresenter, the stroke services (InkStroke, InkStrokeBuilder, InkStrokeContainer, erasing and selection), the ruler and protractor stencils, custom drying through InkSynchronizer, InkToolbar with its buttons and pen configuration, the portable FERROINK format and the clipboard. On Windows, WindowsInkServices connects a stroke container to the ink services of the system (ISF and GIF with ISF, the system ink clipboard, handwriting recognition).

    The toolbar's WinUI theme is part of this crate, not of the WinUI theme: an application that uses the toolbar with the WinUI theme includes its styles,

    <StyleInclude Source="ferres://FerroUI.Controls.Inking/Themes/WinUI.xaml" />
    

    The theme documents are compiled by the build of the crate (build.rs); register_types registers the types of the crate and the loader table of its compiled markup. See docs/porting/winui-inking.md for the source mappings and the limits of interoperability.

    View source

    Contents

    Availability

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