Hi, I’m in a little trouble.
For testing purposes I wanted to fill drawNode with single color. The color is 255, 0, 0, 127 (which is around 1.0f, 0.0f, 0.0f, 0.5f).
In general it’d need this to use flood fill, but I also want it for a lot more.
But the problem is I don’t know, which function I should use to draw a single pixel.
drawNode->drawDot(Vec2(x, y), 1, color);
gives:

drawNode->drawLine(Vec2(x, y), Vec2(x + 1, y + 1), color);
gives:
Ofc it’s wrong, but I just wanted to use everything I could 
drawNode->drawPoint(Vec2(x, y), 1, color);
gives:
drawNode->drawSolidRect(Vec2(0, 0), Vec2(img->getWidth(), img->getHeight()), Color4F(1.0f, 0.0f, 0.0f, 0.5f));
gives:
Last image is the right output. But ofc I want to draw pixel by pixel.


