![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_108.png)
20-12
Programmer’s Manual
Return Value
Hint
CursorInit() is called to set the hardware cursor width and height which ranges
from 0 to 31 in pixels. CursorSetPos() is called to set the co-ordinate of the top
left corner of the hardware cursor. Then finally, CursorSetStatus is called to
turn the hardware cursor on. After CursorSetStatus() is called and hardware
cursor is on, CursorSetPos() and CursorInit() may be called to change the
hardware cursor position or size with immediate effect without calling
CursorSetStatus() again.
20.15
DisplayMove
Syntax
STATUS
DisplayMove(
U16 xPos, U16 yPos)
Description
This function is to replace the calling of LCDScreenMove() and
CursorSetOrigin(). Whenever the user wants to display a region of panning
screen with top left corner of the display at (xPos, yPos) of the panning screen,
DisplayMove(xPos, yPos) should be called.
Parameter
Return Value
Name
Description
PPSM_ERR_PAN_INIT
Current task has no panning screen
PPSM_ERR_CURSOR_INIT
No more memory to create the hardware
cursor information record
PPSM_OK
Successful operation
Name
Description
xPos
X coordinate
yPos
Y coordinate
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_PAN_INIT
Error when the current task has no
panning screen
PPSM_ERR_COORDINATE
Error when any part of LCD is going to
display the region outside panning screen
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-13
20.16
DrawArc
Syntax
STATUS
DrawArc
(U16
style)
Description
Draws an arc from (x1
).
The arc is actually a quarter of an ellipse with center at (
(x1, y1) and (x2 y2) lie.
) on which both
If dot width is greater than 1, a thick arc will be drawn.
If both fill pattern mode and border mode are set, those area inside arc which
is not covered by the border of the arc will be filled.
If fill pattern is set and border is off, those area inside and on the arc border will
be filled.
Parameter
Return Value
DrawCircle
Syntax
Name
Description
greyLevel
x1
y1
x2
y2
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
.