HC_Compute_Selection_By_Area

int HC_Compute_Selection_By_Area(char const *display, char const *start_seg, char const *action, double left, double right, double bottom, double top)
int HC_Compute_Selection_By_Area(char const display, char const start_seg, char const action, double left, double right, double bottom, double top)

Similar to Compute_Selection(), but operates on a rectangular area.

HC_Compute_Selection()

Parameters

display: Commonly “?Picture”. In general, a segment with an attached device driver that knows how to test for selections.

start_seg: A segment somewhere in the tree belonging to display, at which point it would be good to start selection testing. If blank or null, then testing begins at display.

action: One of “v”, “^”, “*”, or “O”, as well as “conditions”, i.e., *”v, conditions=my_condition”*. Action is compared against the Selectability attribute settings as testing proceeds. See Set_Selectability() for a detailed explanation of actions.

left: The -(x) boundary for a rectangular area of the screen, in window coordinates

right: The (x) boundary for a rectangular area of the screen, in window coordinates

bottom: The -(y) boundary for a rectangular area of the screen, in window coordinates

top: The (y) boundary for a rectangular area of the screen, in window coordinates

Returns

count