but beware since these bitmap functions are rather slow, even though they might write directly to the grapics memory (do they?).