Drawings on same position

Hey, iam creating mini-games in SDL. I want all the stuff i render on SDL window, regardless of resizing window, stay on same position…for example if i resize window to maximum possible size, i want all the stuff stay in the middle, and not to move to the left top corner, if u know what i mean… i searched for it all over the internet but with no results… is there any hack to do it easier, then calculate resize ratio and add it to every variable associated with drawings? I dont want to rendered stuff get bigger, but just keep its position where it is… can somebody help me out? Thanks in advance.