#How to Wallpaper?
23-Feb-95 09:53:06
Sb: #45804-#How to Wallpaper?
Fm: Jim Nangano/SYSOP 76703,4254
To: Steve Ahlstrom 76703,2006
Steve,
Ignore Eet's information – it's incorrect (even for Windows).
Basically, you need to a series of blits to copy your tile individually,
adjusting your horizontal and vertical offets in the destination accordingly,
based on the size of the tile image.
Say your tile image is 24 x 24 pixels. You'd blit the first row of tiles to
destination offsets 0,0 ; 24,0 ; 48;0, etc. (watching out for clipping on the
right edge). You'd then blit a second row to dest. offsets 0,24 ; 24,24 ;
48,24 ; etc., again, clipping on the right edge.
You'd repeat this until you've filled the entire height (watching out for
clipping on the bottom edge also).
Hope this helps….
– BobR
(Motorola Inside!)