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
This commit is contained in:
gmp
2026-05-10 06:26:29 -04:00
parent a065ee979d
commit 14284afa73
2 changed files with 36 additions and 0 deletions
Vendored
BIN
View File
Binary file not shown.