tgx icon indicating copy to clipboard operation
tgx copied to clipboard

draw Image issue

Open xixxi opened this issue 3 months ago • 1 comments

I have a problem with rendering an image. With a screen size of 64x64, the image is rendered partially Image. With a screen size of 128x128, the image is rendered completely and normally Image. The original image itself is Image

code: image.blitScaledRotated( *bi.img, { bi.img->lx() / 2.f, bi.img->ly() / 2.f }, { p.x, p.y }, scaleFactor, rotAng, []( tgx::RGB32 _src, CanvasColor_t _dest ) -> CanvasColor_t { RGBA src(_src); RGBA dest(_dest); dest.blend_in(src); return (CanvasColor_t)dest; } );

xixxi avatar Oct 25 '25 10:10 xixxi