float_new w h
Create a new physical FloatImage with w x h shorts and return a pointer to that FloatImage.
float_free image
Deallocate image.
float_clip image x y w h
Create a virtual FloatImage 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 FloatImage is returned.
float_reclip image x y w h clipped
This function is identical to FloatClip, except that it destructively modifies the virtual FloatImage clipped (instead of creating a new virtual FloatImage). Warning : memory leaks will occurs if clipped is a physical FloatImage.
float_copy src dest
Copy the top-left w x h area of FloatImage src into FloatImage dest, where w and h are minimum width and height of src and dest.
float_get_x image
float_get_y image
float_get_width image
float_get_height image
float_get_virtual image
These functions (macros in the C version) access various fields in the FloatImage 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.
float_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