![]() |
![]()
| ![]() |
![]()
NAMEfill_surface - Allocate a new video object and fill with a single colour. SYNOPSISvid
DESCRIPTIONfill_surface act as a memory allocation function in the sense that it creates a fully qualified video object, including texture store, and is identical in capability to an image acquired from other sources, e.g. load_image, but particularly useful for rendertargets, recordtargets and similar functions that operate on an intermediate storage. Current width/height and initial width/height will be set to objw and objh . The range for r, g, b are unsigned 8-bit (0..255) and the optional storew and storeh arguments define the actual storage dimensions. NOTES
EXAMPLEfunction fill_surface0() MISUSEfunction fill_surface0() MISUSEfunction fill_surface1() SEE ALSO:null_surface(3) raw_surface(3) color_surface(3)
|