FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1.

cross-section-box

Arguments: grid-widget row-or-row-section column-or-column-section &optional include-border-p box

Returns a box for the intersection of a grid-row or grid-row-section with a grid-column or grid-column-section. The box excludes any parts of the sections or subsections that are currently scrolled out of view.

When the specified cross-section is scrolled completely out of view, this function returns a box whose box-width and/or box-height is negative. We regard this as a design bug and plan to change it in a future release to return nil in that case. In the meantime, an application needs to check for this itself.

grid-widget is the grid-widget itself.

row-or-row-section is either a grid-row or a grid-row-section.

column-or-column-section is either a grid-column or a grid-column-section.

If include-border-p is true, then the area occupied by the border lines at the right and bottom edges of the cross-section is included in the returned box. Otherwise it is excluded.

box may be either a box (see make-box) or nil. If a box, then that box is modified and returned. If nil, a new box object is created and returned. Passing a scratch box avoids consing one that must be garbage collected.

See also section-box and invalidate-section.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page is new in the 8.1 release.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1.