FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BaselinePixelAlignment

    enum · ferroui-base · v0.5.0

    enum BaselinePixelAlignment
    

    Specifies the baseline pixel alignment options for rendering text or graphics.

    Use this enumeration to control whether the baseline of rendered content is aligned to the pixel grid, which can affect visual crispness and positioning. The value may influence rendering quality, especially at small font sizes or when precise alignment is required.

    View source

    Members

    Unspecified

    Unspecified
    

    The baseline pixel alignment is unspecified.

    Source

    Aligned

    Aligned
    

    The baseline is aligned to the pixel grid.

    Source

    Unaligned

    Unaligned
    

    The baseline is not aligned to the pixel grid.

    Source

    Trait implementations

    Availability

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