texture: rectangle (<upper left corner>) - (<lower right corner>) orientation = [<min rot. angle>,<max rot. angle>]:<resolution> offset = [<max x offset>,<max y offset>]:[<x resolution>, <y res.>] pixels = <greylevel-value of pixels> <linesegments in texture element>
The following example file defines an image with two textures, triangles and arrows.
image: 128 x 256 grid: 6 x 12 texture: rectangle (0,0) - (127,127) orientation = [0,360]:90 offset = [0,0]:[1,1] pixels = 255 (-5,-5) - (5,-5) (5,-5) - (5,5) (5,5) - (-5,-5) texture: rectangle (0,127) - (127,255) orientation = [0,360]:90 offset = [3,5]:[1,1] pixels = 255 (-5,-5) - (5,-5) (5,-5) - (5,5) (5,-5) - (-5,5)
It generates a texture with 128 pixels in the vertical (x) direction and 256 pixels in the horisontal (y) direction (defined by the `image:' line).
The texture elements will be rotated by 0, 90, 180, 270 or 360 degrees. The last texture will have offset from the grid by 0, 1, 2 or 3 pixels in vertical direction and 0, 1, 2, ... 5 pixels from the grid in horizontal direction.