Name
BGPicToBrush -- convert a background picture to a brush
Synopsis
BGPicToBrush(bgpicid, brushid)
Function
This function makes a copy of the background picture specified by bgpicid and converts it to a brush that will be accessible with the number brushid then. Everything will be cloned so the brush is independent of background picture (you could free it after this operation for example and the brush would still be usable!).

Inputs
bgpicid
background picture to clone
brushid
id for the new brush
Example
BGPicToBrush(1,5)
DisplayBrush(5,#CENTER,#CENTER)
The above code copies the background picture 1 to brush 5 and displays this brush then.

Show TOC