draw a line
int my_drawline( int x1, int y1,
int x2, int y2 );
This function draws a line between the two points, given in source coordinates (which you'll need to convert to printer coordinates). If printing is done in landscape mode, you'll need to swap the x and y coordinates.
Photon
| Safety: | |
|---|---|
| Interrupt handler | Not applicable |
| Signal handler | Not applicable |
| Thread | Not applicable |