![]() |
![]() |
![]() |
fill a rectangle with a dithering pattern
int my_patfillrect( int x1, int y1, int x2, int y2, char *fillpat );
This function fills a rectangle with a dithering pattern. This may be used to render fills 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 points are 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 |
![]() |
![]() |
![]() |