Fill an area with an image

BlitzMax Forums/BlitzMax Programming/Fill an area with an image

I want to fill an area of any position, width and height, with a repeated, tiled image.

How is this possible?

I've been told to avoid SetViewport because it doesn't work on some cards. Is this true?