line To
Adds a line to the path from the current point to position (xPos, yPos) in user-space coordinates. After this call the current point will be (xPos, yPos). If there is no current point before the call to lineTo then this function will behave as moveTo(cr , x , y ).
Parameters
xPos
The X coordinate of the end of the new line.
yPos
The Y coordinate of the end of the new line.
Parameters
xPos
The X coordinate of the end of the new line.
yPos
The Y coordinate of the end of the new line.