draw a line with a dithering pattern
int my_patline( int x, int y,
int w, int pat );
This function draws a line with a dithering pattern. This may be used to render lines with transparency patterns, or it may be called twice to blend two colors to produce a color that isn't in the palette.
The arguments are:
The point is given in source coordinates and needs to be converted 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 |