BOOL PATHOBJ_bEnumClipLines(
IN PATHOBJ *ppo, | |
IN ULONG cj, | |
OUT CLIPLINE *pcl | |
); |
PATHOBJ_bEnumClipLines enumerates clipped line segments from a given path. The enumeration must be started with PATHOBJ_vEnumStartClipLines before the driver makes this call.
If a clip region is complex, a single line segment can be broken into many RUNs. A segment is returned as many times as necessary to list all of its RUNs.
The CLIPLINE structure contains the starting and ending points of the original unclipped line and the line segments, or RUNs, of that line that are to appear on the display.
The return value is TRUE if more line segments are to be enumerated, indicating that this service should be called again. Otherwise, it is FALSE, indicating that the returned segment is the last segment in the path.