Previous Next

RUN

The RUN structure is used to describe a linear set of pixels that is not clipped by the CLIPLINE structure.

typedef struct _RUN {
  LONG  iStart;
  LONG  iStop;
} RUN, *PRUN;

Members

iStart
Specifies the starting point for a field of pixels to be drawn. The first pixel of the unclipped line is pixel 0.
iStop
Specifies the stopping point for a field of pixels to be drawn.

Headers

Declared in winddi.h. Include winddi.h.

Comments

If the clip region is complex, a single line segment can be broken into many RUNs. The same segment is returned as many times as necessary to list all of its RUNs.

See Also

PATHOBJ_bEnumClipLines