![]() |
![]() |
![]() |
set the clipping rectangle
int my_setclip( int x1, int y1, int x2, int y2 );
This function sets the current clipping rectangle. The arguments are:
The points are given in source coordinates and need 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 |
![]() |
![]() |
![]() |