NAME DrawBorder -- draw the specified border structure into a rastport. SYNOPSIS DrawBorder( rastport, border, leftoffset, topoffset ) A0 A1 D0 D1 VOID DrawBorder( struct rastport *, struct border *, word, word ); FUNCTION First, sets up the draw mode and pens in the rastport according to the arguments of the border structure. then, draws the vectors of the border argument into the rastport, offset by the left and top offsets. As with all graphics rendering routines, the border will be clipped to to the boundaries of the RastPort's layer, if it exists. This is the case with window RastPorts. This routine will draw all borders in the NULL-terminated list linked by the NextBorder field of the border argument. INPUTS rastport = pointer to the rastport to receive the border rendering border = pointer to a border structure LeftOffset = the offset to be added to each vector's x coordinate TopOffset = the offset to be added to each vector's y coordinate RESULT None BUGS SEE ALSO