This crate contains the types and implementations that are shared between all platforms that are capable of presenting a graphical user interface.
Types and traits for working with animations.
Static-typed assets that correspond to files in the
Technical implementation of a subset of CSS Color Module Level 4 (WD).
Built-in components that must be implemented by every Polyhorn platform that renders to a graphical user interface.
Technical implementation of Pointer Events Module Level 3 (WD).
Technical implementation of a subset of CSS Fonts Module Level 4 (WD).
Primitives to work with concrete geometry.
Imperative handles to reactive components.
Macros, types and traits that implement UI-related hooks for Polyhorn.
Primitives to work with layout and opaque geometry.
A bunch of linear algebra that is shared between platform implementations and used to compute and interpolate 3D transforms.
Primitives for a few physics-based types (velocity, angles).
This is the shared Polyhorn UI prelude.
Queries form a uniform interface to access properties of a resource. These traits are implemented by the concrete asset types (e.g. FontAsset and ImageAsset) and can be implemented by any other type that can also answer these queries.
Styles for each reactive component.
Hook that returns the safe area insets of a view.