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_initial(3) Arcan Lua API image_surface_initial(3)

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

proptbl
image_surface_initial( vid )

The system distinguishes between transformations that have been applied after an object was created and the initial state of the object. This function retrieves the values associated with this initial state and returns it as a property table.

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

image_surface_resolve(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.