FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    effects

    module · ferroui-base · v0.5.0

    module effects
    

    The effects of the WinUI composition API (phase 6, scoped): the effect descriptions an effect factory is made from (the FerroUI form of the Win2D effects WinUI takes), the factory, and the loaded graph its brushes draw.

    The descriptions are the effects the drawing contexts of FerroUI can express: a Gaussian blur (the blur effect of the drawing context), an opacity, a cross-fade of two sources, composites in every mode but MaskInvert, a colour fill, blends, colour matrices (saturation, tint, invert, grayscale, sepia, linear transfer, luminance to alpha), an arithmetic composite with a colour, an alpha mask, a border that tiles a surface, a matrix convolution and scene lighting (winui-materials.md). A graph with another effect or mode loads with the status Other, and its brushes draw nothing.

    View source

    Contents

    Availability

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