LineRel
Function number: 13
Draws a line from the current X, Y position adding the number of points horizontally and vertically to get the ending X, Y position. The line is drawn using the current drawing color.
Register entry values
AX = EE0D
SI = Number of points to add horizontally
DI = Number of points to add vertically
Register exit values
None
Example
MOV AX,0EE0DH ;Draw line relative function
MOV SI,-10 ;Number of points to add horizontally
MOV DI,-10 ;Number of points to add vertically
INT 10H ;Call GRAFIX
Comments
You can give this function both positive and negative values.