byte_16_new w h
Create a new physical Byte16Image with w x h shorts and return a pointer to that Byte16Image.
byte_16_free image
Deallocate image.
byte_16_clip image x y w h
Create a virtual Byte16Image 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 Byte16Image is returned.
byte_16_reclip image x y w h clipped
This function is identical to Byte16Clip, except that it destructively modifies the virtual Byte16Image clipped (instead of creating a new virtual Byte16Image). Warning : memory leaks will occurs if clipped is a physical Byte16Image.
byte_16_copy src dest
Copy the top-left w x h area of Byte16Image src into Byte16Image dest, where w and h are minimum width and height of src and dest.
byte_16_get_x image
byte_16_get_y image
byte_16_get_width image
byte_16_get_height image
byte_16_get_virtual image
These functions (macros in the C version) access various fields in the Byte16Image 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_16_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