Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
image_scale_txcos(3)		  Arcan Lua API 	    image_scale_txcos(3)

NAME
     image_scale_txcos	-  Multiply  the current set of texture coordinates uni-
     formly

SYNOPSIS
     nil
     image_scale_txcos( vid, fact_s, fact_t )

EXAMPLE
     function 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)

image				   August 2026		    image_scale_txcos(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=image_scale_txcos&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help