
20-22
Programmer’s Manual
Parameter
Return Value
20.26
GetDisplayX
Syntax
U16
GetDisplayX
(void)
Description
Returns the LCD display screen width in number of pixels.
Parameter
Return Value
Hint
Name
Description
xSrc
Top left x-coordinate of the rectangular
image to be stored
ySrc
Top left y-coordinate of the rectangular
image to be stored
width
Width of the rectangular image to be
stored in pixels
height
Height of the rectangular image to be
stored in pixels
bitmap
Bitmap image to be displayed
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
PPSM_ERR_WIDTH
Invalid width
PPSM_ERR_HEIGHT
Invalid height
Name
Description
None
Name
Description
N/A
The display screen width in pixels
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-19
Parameter
Return Value
20.23
DrawVector
Syntax
STATUS
DrawVector
pPoints U16
Description
Draws lines to connect points according to the sequence of the data points
input. No connection will be made between the first and last points unless it is
specified by modeor when the last point is the same as the first point.
DrawVector() does not support pattern fill.
Name
Description
greyLevel
xSrc
ySrc
xDest
yDest
dotLine
style
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_LCD_GREY
Invalid grey level value
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
PPSM_ERR_LCD_STYLE
Invalid style
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.