   How to zoom an image in an image editor?
  Hey all,I'm working on a game that allows the player to edit their team logo in a Paint like interface.  I'm not entirely sure how to create the zoom control, though.Assuming the logo is 64x64, when they click to zoom in, do I re-create the image in a temporary 128x128 (2x zoom just for say) and start display and editing that?  When they zoom out again, do I scale it down?  How difficult would a procedure like that be?  Is there an easier way of zooming in a software based game (No hardware accelerated scaling available)?I'd love to hear any and all input here.Thanks.   
  What language and libraries are you using? What OS?One possible route (on Windows using the GDI) is to use the StretchBlt function to simply defer the magnification to the OS itself. Another option is to render it manually, where instead of drawing a single pixel, you draw a square of four, etc.   