DrawTiledImage(ImageID, X, Y, Width, Height)
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
You are right it is called a pattern. I mentioned it wrong.
I don't know if there are api functions like this. I use ActionScript quite a lot for Flash movies and that language has a nice function called BeginBitmapFill that accepts a bitmap and a transform matrix to rotate, scale and translate this bitmap fill.
I don't know if there are api functions like this. I use ActionScript quite a lot for Flash movies and that language has a nice function called BeginBitmapFill that accepts a bitmap and a transform matrix to rotate, scale and translate this bitmap fill.
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
I think this is a good idea for a feature request.
Code: Select all
tileimg = LoadImage(#PB_Any,"a_file.bmp")
DrawingMode(#PB_2DDrawing_Texture)
DrawingTextureImage(ImageID(tileimg))
Ellipse(50,50,200,100)
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."