Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Picaso_4DGL-32PTU.h
- Revision:
- 9:32eb75c01e9d
- Parent:
- 8:b634ac9c92f8
- Child:
- 10:b959bb206e6b
diff -r b634ac9c92f8 -r 32eb75c01e9d Picaso_4DGL-32PTU.h
--- 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