Pad/internal/ui
Greg Pomerantz 14284afa73 Add drawPng function to Renderer for PNG icon rendering
- Takes image.Image, position (x,y) in Dp, size (width,height) in Dp
- Tint color with alpha < 255 applies color overlay using clip.Rect
- Converts Dp to pixels using Renderer.toPx()
- Uses paint.NewImageOp for image rendering
2026-05-10 06:26:29 -04:00
..
element.go Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00
layout.go Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00
render.go Add drawPng function to Renderer for PNG icon rendering 2026-05-10 06:26:29 -04:00
unit.go Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00