Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Apr 2013
Offline Last Active May 01 2013 03:57 PM

Posts I've Made

In Topic: SDL Surface Aligning

24 April 2013 - 11:23 PM

I'd just like to say that it seems what I'm asking doesn't make much sense. I guess what I'm really asking for is an easier way to simulate a window builder for pixel coordinates without actually having to make one. Sorry about that I think I can figure it out from here.

In Topic: SDL Surface Aligning

24 April 2013 - 11:07 PM

My question is knowing exactly how to blit aside from presets of centering and estimating like 1/5 of the way down the screen then 1/3 across. I'd like to know if there's a way I can attain better reference points than just right, center, and left alignment.

For example if I blit a surface in one class it would be easier to use an inbetween class like the surface class above to use the previous surface as a reference to blit the other surface.

To further illustrate what I'm aiming at:
If I blit a surface1 centered at a screen at the top and I want to blit a surface2 just bellow that but have surface2 centered how could I go about that?