![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_112.png)
20-20
Programmer’s Manual
Parameter
Return Value
Hint
If the output style is EXOR_STYLE, special care should be taken regarding
overlapped points.
20.24
DrawVert
Syntax
STATUS
DrawVert
(U16 greyLevel U16 xSrc U16 ySrc U16 height U16
dotLine U16 style)
Description
Draws a vertical line from (xSrc ySrc) down for heightdots.
If dot width is greater than 1, a thick vertical line will be drawn. If dot width is
greater than 1 and the height of the vertical line is 1, a square dot of size
indicated by dot width will be drawn.
Name
Description
greyLevel
Grey level of the lines
numberOfPoints
Number of points in the list
pPoints
Pointer to the list of points to be connected
style
Output style can be:
EXOR_STYLE
OR_STYLE
AND_STYLE
REPLACE_STYLE
mode
Mode should be set to TRUE if the first
and last points need to be connected;
otherwise, it should be FALSE
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
numberOfPoints
is 0
PPSM_ERR_LCD_GREY
Invalid grey level
PPSM_ERR_LCD_STYLE
Invalid style
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-21
If dotLineis non-zero,
grey level; then, the dotLine
number of dots will be drawn; and so on.
number of dots will be drawn with the specified
Parameter
Return Value
20.25
ExchangeRec
Syntax
STATUS
ExchangeRec
bitmap
Description
Swaps the image in memory pointed to by
specified location of the panning screen. The image pointed to by
now be displayed while the rectangular region on the panning screen will be
stored at bitmap
with the image at the
will
Note that the image stored in
rectangle in the arguments.
must be the same size as the specified
Name
Description
greyLevel
xSrc
ySrc
height
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
.