euv-core 0.48.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Sentinel `effect_id` denoting no rare paint effect entry in `EffectTable`.
pub const EFFECT_ID_NONE: u32 = 0;

/// Bitflag on `CompactPaintStyle` indicating a non-transparent solid background color is set.
pub const COMPACT_PAINT_HAS_BACKGROUND: u32 = 1 << 0;

/// Bitflag on `CompactPaintStyle` indicating scroll chaining stops at this node.
pub const COMPACT_PAINT_STOP_SCROLL: u32 = 1 << 1;

/// Bitflag on `CompactPaintStyle` indicating pointer/click event bubbling stops at this node.
pub const COMPACT_PAINT_STOP_EVENT: u32 = 1 << 2;

/// Bit shift of the packed `CursorIcon` discriminant inside `CompactPaintStyle::flags`.
pub(crate) const COMPACT_PAINT_CURSOR_SHIFT: u32 = 8;

/// Bitmask for the packed `CursorIcon` discriminant inside `CompactPaintStyle::flags`.
pub(crate) const COMPACT_PAINT_CURSOR_MASK: u32 = 0xFF;

/// Bit shift of the packed `PointerEvents` discriminant inside `CompactPaintStyle::flags`.
pub(crate) const COMPACT_PAINT_POINTER_SHIFT: u32 = 16;

/// Bitmask for the packed `PointerEvents` discriminant inside `CompactPaintStyle::flags`.
pub(crate) const COMPACT_PAINT_POINTER_MASK: u32 = 0xFF;

/// Quarter-pixel fixed-point quantization multiplier for compact corner radii.
pub(crate) const COMPACT_RADIUS_SCALE: f32 = 4.0;

/// Inverse quarter-pixel multiplier decoding compact corner radii back to logical pixels.
pub(crate) const COMPACT_RADIUS_INV_SCALE: f32 = 0.25;