Restore the draw window to full screen.
The draw window is a partial rectangle area on the full screen, all following drawing on screen will be remapped to this window
Direct: |
"RSTDW" |
Arduino: |
void resetDrawWindow(void) |
C: |
void Digole_resetDrawWindow(void) |
none
none
mydisp.setDrawWindow(50,50,100,200); //set a draw window the top-left position at (50,50), width is 100px,height is 200px
mydisp.drawStr(1,1,"Hello World!"); //display "Hello World!" at position (1,1) in the draw window
mydisp.resetDrawWindow();
mydisp.drawStr(1,1,"Hello World!"); //display "Hello World!" at position(1,1) in the full screen
serial.writeString("RSTDW"); //set the draw window to full screen
Version | Description |
---|---|