FreeBSD Manual Pages
image_surface_initial(3) Arcan Lua API image_surface_initial(3) NAME image_surface_initial - Retrieve a table describing the initial storage state for the specified object. SYNOPSIS proptbl image_surface_initial( vid ) DESCRIPTION The system distinguishes between transformations that have been applied af- ter an object was created and the initial state of the object. This func- tion retrieves the values associated with this initial state and returns it as a property table. EXAMPLE function image_surface_initial0() a = load_image("test.png"); resize_image(a, 32, 32); iprop = image_surface_initial(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_initial(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=image_surface_initial&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
