issue #364, clip window support
This commit is contained in:
parent
f907d00a0e
commit
c25d3986f2
|
@ -89,7 +89,7 @@
|
|||
Setting a clip window will restrict all drawing to this window.
|
||||
Clip window support requires about 200 bytes flash memory on AVR systems
|
||||
*/
|
||||
//#define U8G2_WITH_CLIP_WINDOW_SUPPORT
|
||||
#define U8G2_WITH_CLIP_WINDOW_SUPPORT
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -48,6 +48,9 @@ int main(void)
|
|||
|
||||
u8g2_SetFontDirection(&u8g2, 0);
|
||||
|
||||
u8g2_SetClipWindow(&u8g2, 10, 10, 50, 60 );
|
||||
|
||||
|
||||
u8g2_SetDisplayRotation(&u8g2, U8G2_R0);
|
||||
u8g2_FirstPage(&u8g2);
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue