FreeBSD Manual Pages
image_screen_coordinates(3) Arcan Lua API image_screen_coordinates(3) NAME image_screen_coordinates - Lookup screen space coordinates for the specified object. SYNOPSIS x1,y1,x2,y2,x3,y3,x4,y4 image_screen_coordinates( vid ) DESCRIPTION This function resolves the screen space coordinates of the four corners of the specified vid, taking position, scale and rotation transform into account. NOTES 1 This does not include any vertex- stage transformations that may be applied by a non-standard shader. EXAMPLE function image_screen_coordinates0() a = fill_surface(64, 64, 255, 0, 0); show_image(a); move_image(a, 32, 32); rotate_image(a, 145); print( image_screen_coordinates(a) ); end image April 2025 image_screen_coordinates(3)
NAME | SYNOPSIS | DESCRIPTION | NOTES | EXAMPLE
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=image_screen_coordinates&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>