Rihards Balass / 4DGL-mbed-32PTU
Revision:
9:32eb75c01e9d
Parent:
8:b634ac9c92f8
Child:
10:b959bb206e6b
--- a/Picaso_4DGL-32PTU.h	Mon Sep 12 12:12:09 2016 +0000
+++ b/Picaso_4DGL-32PTU.h	Mon Sep 12 12:48:47 2016 +0000
@@ -67,6 +67,9 @@
 #define PUT_PIXEL           0xFFC1
 #define MOVE_ORIGIN         0xFFCC
 #define LINE_TO             0xFFCA
+#define SET_CLIP_WINDOW     0xFFB5
+#define CLIPPING            0xFFA2
+#define EXTEND_CLIP         0xFFB3
 
 
 
@@ -203,6 +206,9 @@
     void putPixel(short, short, short); // draw a pixel (x, y, color)
     void moveOrigin(short, short); // change origin point (x, y)
     void lineTo(short, short); // draw a line from current origin to set point (x, y) 
+    void setClipWindow(short, short, short, short); // set a clipping window
+    void clipping(short); // enable / disable clipping
+    void extendClipRegion(); // extend clipping region to the last text or image shown
     
 // Texts Commands
     void setFont(char); // set desired font from embedded fonts