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

FreeBSD Manual Pages

  
 
  

home | help
image_surface...al_properties(3)  Arcan Lua API image_surface...al_properties(3)

NAME
     image_surface_initial_properties  - Retrieve a table describing the initial
     storage state for the specified object.

SYNOPSIS
     proptbl
     image_surface_initial_properties( vid )

DESCRIPTION
     This function aliases image_surface_initial and is kept around  for  legacy
     reasons. Please see image_surface_initial	instead.

EXAMPLE
     function image_surface_initial_properties0()
	   a = load_image("test.png");
	   resize_image(a, 32, 32);
	   iprop = image_surface_initial_properties(a);
	   cprop = image_surface_properties(a);
	   print(string.format("initial_w: %d, inital_h: %d, current_w: %d, current_h: %d",
		 iprop.width, iprop.height, cprop.width, cprop.height));
     end

SEE ALSO:
     image_surface_resolve(3) image_surface_properties(3)

image				   August 2026	image_surface...al_properties(3)

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

home | help