Or you can Draw apply a Texture to a Primitive with texture mapping.
by looking for Texture Mapping thread.
Hmm
Come Part of the understand of Textures are needed.
Mine is easier and all you have to do is Copy and Paste the functions...
WITH CREDITS . OR I WILL PULL AT YOUR ROOTS LIKE I DID CORYSTER UNTIL YOU RUN FROM PROGRAMMING FOR EVER.