Command Summary
31
5.4
Draw a Partial
Bitmap
Dec
Hex
ASCII
254 192
FE C0
■
└
ID X Y XPart YPart Width Height
ID X Y XPart YPart Width Height
ID X Y XPart YPart Width Height
v8.6
Draw a portion of a previously uploaded bitmap confined to the width and height specified.
ID
Short
Unique bitmap identification number, value between 0 and 1023.
X
Byte
Leftmost coordinate of partial bitmap placement.
Y
Byte
Topmost coordinate of partial bitmap placement.
XPart
Byte
Rightmost coordinate of the bitmap portion to be drawn.
YPart
Byte
Bottommost coordinate of the bitmap portion to be drawn.
Width
Byte
Width of the bitmap portion to be drawn.
Height
Byte
Width of the bitmap portion to be drawn.
5.5
Draw a Bitmap
Directly
Dec
Hex
ASCII
254 100
FE 64
■
d
X1 Y1 Data
X1 Y1 Data
X1 Y1 Data
v8.0
Draw a bitmap directly to the graphic display without saving to memory. Cannot be implemented in a script.
X1
Byte
Leftmost coordinate of bitmap.
Y1
Byte
Topmost coordinate of bitmap.
Data
Byte(s)
Bitmap file data, see the Bitmap File Creation example.
Bitmap File Creation
In addition to fonts, Matrix Orbital graphic displays can also hold a number of customizable bitmaps to
provide further stylistic product integration. Like font files, bitmaps files are most easily uploaded to a
display using MOGD#. However, the critical data component of the bitmap upload command is detailed
below for reference.
The bitmap data block is similar to that of a font. However, as a bitmap is a single glyph, only a simple
two byte header is required. First, one byte representing the bitmap width is sent, then one byte for the
height. Each bitmap is merely encoded in binary fashion using a series of ones and zeroes. Again a grid
can be created using the width and height specified in the upload command, populated in the manner
above, and converted into byte values. A smiley face example is shown below to indicate the ultimate
affect of the Matrix Orbital graphic stylization ability.
Table 27: Smiley Face Bitmap
0
1
0
1
0
0 0 0 0 0
1
0 0 0
1
0
1 1 1
0
Table 28:Smiley Face Data
0
1
0
1
0 0 0 0
50
80
0 0
1
0 0 0
1
0
22
34
1 1 1
0 0 0 0 0
E0 224
Table 29: Example Bitmap File
Header
5 4
Bitmap Data
80 34 224