I suspect this is a silly question, but still...
When I use PocketFrog, I have the ability of doing something like:
Blit(x, y, image, RECT(10,10,20,20));
So I don't have to create a RECT first, do SetRect on it, and then use it.
Can this be done in GD? I'm constantly doing things like:
RECT rect;
SetRect(▭, 0, 265, 240, 295);
backbuffer.FillRect(▭, RGB(0, 0, 0), NULL, NULL);
Where I don't so much care about the rectangle beyond this one statement, I'd like to be able to take the first two lines and essentially have them in the call to FillRect, like I can do in PF. Is this possible?
Thanks all!
When I use PocketFrog, I have the ability of doing something like:
Blit(x, y, image, RECT(10,10,20,20));
So I don't have to create a RECT first, do SetRect on it, and then use it.
Can this be done in GD? I'm constantly doing things like:
RECT rect;
SetRect(▭, 0, 265, 240, 295);
backbuffer.FillRect(▭, RGB(0, 0, 0), NULL, NULL);
Where I don't so much care about the rectangle beyond this one statement, I'd like to be able to take the first two lines and essentially have them in the call to FillRect, like I can do in PF. Is this possible?
Thanks all!