Cranpose Render Common
cranpose-render-common defines scene, renderer and hit-test contracts for
Cranpose backends. Backend authors implement Renderer and RenderScene.
App developers select a renderer through
cranpose.
Create a graph from a root layer and inspect its node count:
use ;
let graph = new;
assert_eq!;
The Renderer contract accepts a LayoutTree or a MemoryApplier root and a
logical-pixel viewport. AppShell installs renderer services before the first
composition pass. Default features include embedded-default-font, which
supplies a fallback font. See the Renderer API,
the renderer architecture guide,
the renderer source
and the crate source.