GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
image_screen_coordinates(3) Arcan Lua API image_screen_coordinates(3)

image_screen_coordinates - Lookup screen space coordinates for the specified object.

x1,y1,x2,y2,x3,y3,x4,y4
image_screen_coordinates( vid )

This function resolves the screen space coordinates of the four corners of the specified vid, taking position, scale and rotation transform into account.

1
This does not include any vertex- stage transformations that may be applied by a non-standard shader.

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
June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.