DrawClipLine Function (ROM Call 0x193)

graph.h

void DrawClipLine (const WIN_RECT *Line, const SCR_RECT *clip, short Attr);

Draws a clipped line.

DrawClipLine draws a line from (x0, y0) to (x1, y1) where coordinates (x0, y0) and (x1, y1) are given in a WIN_RECT structure Line, using the attribute Attr. The line will be clipped at the boundaries of the area given by parameter clip. See SetCurClip for more info about clipping areas. See DrawLine for a description of supported atributes.


Uses: DrawLine, SetCurClip, ROM Call 0x47E
Used by: DrawClipEllipse, FillLines2, LineTo, WinLine, WinLineTo