Files
hyperframes/packages
Miguel Ángel 0f139b4e61 feat(native-renderer): element painting with transforms, opacity, border-radius
Adds paint_element() that recursively renders a scene graph Element onto
a Skia Canvas. Supports:
- Visibility culling (skip invisible elements)
- Position translation + CSS-like transform (rotate, scale around center)
- Layer-based opacity blending (save_layer_alpha)
- Overflow clipping with rounded rects
- Background fill (rect or rrect depending on border_radius)
- Text rendering via FontMgr default typeface
- Recursive child painting

Helper functions: to_color4f, to_sk_rect, make_rrect.

Four new tests covering background+text, border-radius+opacity pixel
verification, transforms, and invisible element skipping.
2026-04-25 15:00:12 -04:00
..
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00