CLIPLINE
typedef struct _CLIPLINE {
POINTFIX ptfxA;
POINTFIX ptfxB;
LONG lStyleState;
ULONG c;
RUN arun[1];
} CLIPLINE, *PCLIPLINE;
The CLIPLINE structure gives the driver access to a portion of a line between
two clip regions used for drawing.
Members
-
ptfxA
-
Specifies the starting point of the line.
-
ptfxB
-
Specifies the end point of the line.
-
lStyleState
-
A pair of 16-bit values supplied by GDI whenever the driver calls PATHOBJ_bEnumClipLines.
These two values are packed into a LONG and specify the style offset back to
the first pixel of the line segment. This is the first pixel that would be
rendered if the line were not clipped. This value allows the styling for the
remainder of the line to be computed. Refer to Styled Cosmetic Lines for
additional information.
-
c
-
Specifies the number of RUN structures in the arun
array.
-
arun
-
An array of RUN structures. The RUN structures describe the start and stop
portions of the clip line.
Comments
The CLIPLINE structure is used by PATHOBJ_bEnumCliplines.
The CLIPLINE structure contains the original, unclipped control points of the
line segment.
See Also
CLIPOBJ, GDIINFO, RUN