#55873 - GPFerror - Mon Oct 03, 2005 5:39 pm
im trying to display a 320X240 bmp which is the correct way to scale it?
or if I wanted to display a 640X480 bmp.
or should it be
or
are any of them right? if not how should I scale it?
thanks,
Troy
or if I wanted to display a 640X480 bmp.
Code: |
BG3_CR = BG_BMP8_512x512;
BG3_XDX = (width<<8)/256; BG3_YDY = (height<<8)/192; |
or should it be
Code: |
BG3_CR = BG_BMP8_512x512;
BG3_XDX = width; BG3_YDY = height; |
or
Code: |
BG3_CR = BG_BMP8_512x512;
BG3_XDX = 512; BG3_YDY = 512; |
are any of them right? if not how should I scale it?
thanks,
Troy