Original Post
Hey Guys,
My major problem is I always get confused when drawing a image onto the screen in SDL, I know that SDL coordinates are not as regular as in the real world, But my doubt is suppose, if i draw a square onto SDL coordinates in x and y axis. How will i calculate its offsets, This confuses me alot sometimes.
Could someone please help me ,
Thanks in advance.
My major problem is I always get confused when drawing a image onto the screen in SDL, I know that SDL coordinates are not as regular as in the real world, But my doubt is suppose, if i draw a square onto SDL coordinates in x and y axis. How will i calculate its offsets, This confuses me alot sometimes.
Could someone please help me ,
Thanks in advance.