beautypg.com

5 displaying graphics, 1 general – Matrix Orbital GLK12232-25-SM Legacy User Manual

Page 17

background image

• [y space] specifies the number of pixels to place between rows of text (i.e. line spacing).
• [scroll row] specifies the pixel row where scrolling should start (or, if auto scrolling is off, where

wrapping should occur). Typically, this value should be set to the first pixel row immediately below

the last row of text that will fit the display.

5 Displaying Graphics

This chapter describes the various graphics display commands in detail.

5.1 General

Since the display is a bit mapped device, it may be used to display graphics. Graphic images may be

created by means of a pixel oriented graphics program, saved as bitmaps, and loaded into the display using

the mogd.exe program. Images may be saved in the display’s memory, and displayed upon command, or

they may be downloaded ’on the fly’ (in-line) during display operation.

Note that ’saved’ and ’on the fly’ graphics images are processed differently. These differences must be

taken into account when processing graphics.

Saved bitmaps: These use each byte (8 bits) to represent a vertical column of 8 pixels. The next byte

represents the next column to the right. If the graphic is ’taller’ than 8 pixels, the LSB of the next data

byte will be the next pixel. Orientation is top to bottom - LSB to MSB. Pixels / bits are ’packed’ - that

is, if the height of the graphic is not an even multiple of 8, the leftover bits go on the next X column

to the right.

Inline bitmaps: These are processed horizontally and each byte represents a horizontal row of 8 bits,

with the next byte representing the next 8 bits to the right. Orientation is left to right - MSB to LSB,

which is the opposite to the serial transmission sequence (bytes are sent LSB first).

Figure 11: Graphic Bitmaps

Matrix Orbital

GLK12232-25-SM

13