HC_Compute_Selection_By_Polylin

int HC_Compute_Selection_By_Polylin(char const *display, char const *start_seg, char const *action, int pcount, Point const points[])
int HC_Compute_Selection_By_Polylin(char const display, char const start_seg, char const action, int pcount, Point const points)

Similar to Compute_Selection(), but operates on polyline intersections.

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.

pcount: Number of points contained in the points list.

points: Set of points that comprise the polyline or polygon used to compute the selection.

Returns

count