|
NAMEimage_scale_txcos - Multiply the current set of texture coordinates uniformlySYNOPSISnilimage_scale_txcos( vid, fact_s, fact_t ) EXAMPLEfunction image_scale_txcos0() a = load_image("test.png"); switch_default_texmode(TEX_REPEAT, TEX_REPEAT, a); show_image(a); resize_image(a, VRESW, VRESH); props = image_suface_properties(a); image_scale_txcos(a, VRESW / props.width, VRESH / props.height); end SEE ALSO:image_set_txcos(3) image_get_txcos(3) image_set_txcos_default(3)
Visit the GSP FreeBSD Man Page Interface. |