Hi,
I'd like to change the position of the image on the screen (more specifically, I want to move the picture from the center to closer to the top of the screen). I understand that I can specify the location of an image by using drawtexture and entering the coordinates of the four points of the rectangle. HOWEVER, I'm displaying several pictures, one at a time, and each picture has a different size, so the 4 coordinate points differ from picture to picture, making that option not easily workable. Does anyone have any ideas? To recap, I want each picture to start at the same point (i.e., near the top of the screen) while having different sizes.
Any help is greatly appreciated.
Thanks,
Scott
I'd like to change the position of the image on the screen (more specifically, I want to move the picture from the center to closer to the top of the screen). I understand that I can specify the location of an image by using drawtexture and entering the coordinates of the four points of the rectangle. HOWEVER, I'm displaying several pictures, one at a time, and each picture has a different size, so the 4 coordinate points differ from picture to picture, making that option not easily workable. Does anyone have any ideas? To recap, I want each picture to start at the same point (i.e., near the top of the screen) while having different sizes.
Any help is greatly appreciated.
Thanks,
Scott