RUN structure (winddi.h)

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

Syntax

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.

Remarks

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.

Requirements

Requirement Value
Header winddi.h (include Winddi.h)

See also

PATHOBJ_bEnumClipLines