Typically, the handling routine also sets a flag in the DC instance data structure to indicate that the first pel of the next line must be drawn. When the COM_AREA or COM_PATH flag is set, this function is part of an area or path definition. In either case, the handling routine usually passes the call back to the graphics engine for processing by the default handling routine. The call would not be passed back to the graphics engine if the presentation driver had hooked all of the area and path functions.
When the current context is "in area," a figure closure line is generated (if necessary). This can cause a correlation hit to occur on an area boundary. The current position should only be correlated on, merged into the bounds, or both correlated and merged, if it is actually used in a drawing primitive.
The following is an example:
... GreSetCurrentPosition (hdc, p1); ... ... ... GreSetCurrentPosition (hdc, p2); ... ... ... GrePolyLine (hdc, to p3, n); ...
Notice that the sequence does not merge p1 into the bounds or correlate on it.