20-24
Programmer’s Manual
Return Value
20.29
GetLogicalY
Syntax
U16
GetLogicalY
(void)
Description
Returns the current panning screen height in number of pixels. This value
gives the size that an application can write to, which may be larger than the
LCD display screen (i.e. the whole image might not be displayed on the LCD
display screen).
Parameter
Return Value
20.30
GetScreenMem
Syntax
P_VOID
GetScreenMem
(U16 width U16 height)
Description
This tool will allocate appropriate memory for a panning screen of size width
and height
Parameter
Name
Description
N/A
The panning screen width in pixels
Name
Description
None
Name
Description
N/A
The panning screen height in pixels
Name
Description
width
Panning screen width in pixels
height
Panning screen height in pixels
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-25
Return Value
20.31
InvRec
Syntax
STATUS
InvRec
(U16
Description
Inverts the grey level of the specified rectangular area on the panning screen.
Parameter
Return Value
Name
Description
N/A
Returns an address for panning screen
use or 0 if there is an error
Name
Description
xSrc
Top left x-coordinate of the rectangular
area
ySrc
Top left y-coordinate of the rectangular
area
width
height
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_LCD_X
Invalid LCD x-coordinate
PPSM_ERR_LCD_Y
Invalid LCD y-coordinate
PPSM_ERR_WIDTH
Invalid width
PPSM_ERR_HEIGHT
Invalid height
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.