![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_33.png)
6-12
Using Using Graphics Tools
Programmer’s Manual
6.9
Get Panning Screen Width
U16
GetLogicalX
(void)
GetLogicalX() returns to the caller the panning screen width, in terms of pixels, of
the current application.
The panning screen width is dynamically configurable at run time and it is
recommended to use this tool to obtain the panning screen width for panning
purposes.
6.10
Get Panning Screen Height
U16
GetLogicalY
(void)
GetLogicalY() returns to the caller the panning screen height, in terms of pixels, of
the current application.
The panning screen height is dynamically configurable at run time and it is
recommended to use this tool to obtain the panning screen height for panning
purposes.
6.11
Set Pattern Fill
STATUS
SetPatternFill
(U16 mode U16 backGrey U16 borderMode, U16
fillSpace)
This routine allows application programmers to decide on the fill pattern settings.
These settings include the pattern mode, the spacing between the pattern lines,
the background grey level, and the existence of a border. Once SetPatternFill() is
called, the settings will be applied to all subsequent DrawRec(), DrawCircle(),
DrawEllipse(), and DrawArc().
The pattern will be drawn with the specified grey level in the parameter of
DrawRec(), DrawCircle(), DrawEllipse(), and DrawArc().
The argument fillSpacelets application developers define the size of the gap
between the pattern lines. The size of the gap equals to 2
fillSpace
number of pixels.
There are 8 fill patterns available (mode 0 will turn off the pattern fill feature):
1
2
3
4
5
6
7
8
Personal Portable System Manager
Programmer’s Manual
6-9
EXOR_STYLE
01
01
01
10
01
11
11
01
11
00
10
10
01
10
11
10
10
10
11
10
11
00
11
11
01
11
11
10
11
11
11
11
11
Table 6-8 R = X EXOR Y
X
Y
R
00
00
00
01
00
01
10
00
10
11
00
11
00
01
01
01
01
00
10
01
11
11
01
10
00
10
10
01
10
11
10
10
00
11
10
01
00
11
11
01
11
10
10
11
01
11
11
00
Table 6-7 R = X OR Y
X
Y
R
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.