This function defines a global clipping rectangle for all layers of the layer info. Graphics outside of this rectangle will be off-screen and non-visible. The purpose of this function is therefore to allow windows that are partially off-screen by installing a layer info rectangle of the screen size.
INPUTS
li
pointer to Layer_Info structure
r
rectangle describing hard clipping bounds for this Layer_Info. The contents of the rectangle is copied, and "r" may be re-used as soon as SetLayerInfoBounds returns.
RESULT
ok
a boolean success/failure indicator. TRUE on success.
NOTES
This function absolutely MUST be called before the first layer gets installed into this Layer_Info. It will not affect clipping of already existing layers. Default Layer_Info clipping is MIN_WORD to MAX_WORD, i.e. no clipping takes place. This is V40 behaivour.