This function draws a line on the drawable id using the graphics context gc, from point (x1,y1) to point (x2,y2).
Type | Name | Description |
---|---|---|
GR_DRAW_ID | id | The ID of the drawable to draw a line on. |
GR_GC_ID | gc | The ID of the graphics context to use when drawing the line. |
GR_COORD | x1 | The X coordinate of the line's starting point relative to the drawable. |
GR_COORD | y1 | The Y coordinate of the line's starting point relative to the drawable. |
GR_COORD | x2 | The X coordinate of the line's ending point relative to the drawable. |
GR_COORD | y2 | The Y coordinate of the line's ending point relative to the drawable. |