
20-32
Graphics Tools
Programmer’s Manual
This tool sets the pattern fill mode to be applied to DrawRec(), DrawCircle(),
DrawEllipse() and DrawArc(). The fill pattern modes are:
The pattern fill mode 0 will turn off the pattern fill feature.
Parameter
Return Value
Name
Description
mode
There are 8 modes of pattern fill (see
description above)
backGrey
The grey level used for the background
space
borderMode
Border on-off flag
TRUE - a border will be drawn
around the shape
FALSE - no border will be drawn
around the shape
fillSpace
The gap between the pattern lines. The
larger this value is, the more space the
pattern will appear.
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_FILL_PATTERN
Invalid fill pattern mode
PPSM_ERR_LCD_GREY
Invalid background grey level
PPSM_ERR_FILL_SPACE
Invalid space gap in fill pattern
1
2
3
4
5
6
7
8
Personal Portable System Manager
Programmer’s Manual
Database Management Tools
21-1
21.1
DBAdd
Syntax
STATUS
DBAdd
(P_U32
Description
Adds a new database for an application to PPSM. This is the first routine to be
called whenever a database is created. The database added is a global
database.
Parameter
Return Value
Hint
The returned dbId must remain intact. Application uses this as a key to access
the database.
21.2
DBAddRecord
Syntax
STATUS
DBAddRecord
Description
Appends a blank record to the end of the record list for a particular database.
User has the option to specify additional formatted data fields to be allocated.
The valid range of numFmt
Name
Description
dbId
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_DB_ADD
Unable to add database
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.