byte_32_new w h
Create a new physical Byte32Image with w x h shorts and return a pointer to that Byte32Image.
byte_32_free image
Deallocate image.
byte_32_clip image x y w h
Create a virtual Byte32Image of size w by h, with image as the parent, and offset (x, y) from the upper-left corner of image. A pointer to the new Byte32Image is returned.
byte_32_reclip image x y w h clipped
This function is identical to Byte32Clip, except that it destructively modifies the virtual Byte32Image clipped (instead of creating a new virtual Byte32Image). Warning : memory leaks will occurs if clipped is a physical Byte32Image.
byte_32_copy src dest
Copy the top-left w x h area of Byte32Image src into Byte32Image dest, where w and h are minimum width and height of src and dest.
byte_32_get_x image
byte_32_get_y image
byte_32_get_width image
byte_32_get_height image
byte_32_get_virtual image
These functions (macros in the C version) access various fields in the Byte32Image data structure. The first two function return the x or y offset of image within its parent, the next two return the width or height of image, and the last function returns 1 if image is virtual, 0 otherwise.
byte_32_info image
A convenience primitive that return a list consisting of the x, y, w, h and isVirtual flags of image.
Last updated : Monday, February 01, 1999, 04:44 PM