Skip to content

draw Image issue #41

@xixxi

Description

@xixxi

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;
}
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions