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_surface_resolve(3) Arcan Lua API image_surface_resolve(3)

image_surface_resolve - Retrieve current image properties in world-space.

proptbl
image_surface_resolve( vid )

Most of the surface_ class of functions return results in object space. This function will traverse the related set of object hierarchies and resolve the world-space ones that will be used when compositing the output.

1
The fields used in proptbl are: (x, y, z, width, height, depth, angle, roll, pitch, yaw, opacity and order).
2
this function has a highly variable cost since the rendering pipeline normallys caches both resolved properties and resulting transformation matrices, if possible.

function image_surface_resolve0()
      a = fill_surface(32, 32, 255, 0, 0);
      b = fill_surface(64, 64, 0, 255, 0);
      link_image(b, a);
      move_image(a, 100, 100);
      move_image(b, 50, 50);
      props = image_surface_resolve(b);
      print(string.format("%d %d", props.x, props.y));
end

image_surface_initial_properties(3) image_surface_properties(3)

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.