![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_43.png)
6-32
Using Using Graphics Tools
Programmer’s Manual
The following will be seen on LCD display screen:
Example 6-26 When LCD Display screen crosses the bottom bound-
ary of the panning screen
(0, 0)
The following will be seen:
The pattern of the noise part of the display depends on the content of the memory
that follows the panning screen. If the memory following the panning screen is all
0, the noise will appear as a blank image. If the memory following the panning
Figure 6-25 Screen output for Example 6-25
LCD Display Screen
Figure 6-26 Screen output for Example 6-26
LCD
Panning Screen
Figure 6-27 Screen output for Example 6-26
LCD Display Screen
Noise
Personal Portable System Manager
Programmer’s Manual
6-29
Example 6-21 Draw a black arc with OR style
STATUS ret;
/* draw an arc from (240, 150) to (100, 100) */
ret = DrawArc(BLACK, 240, 150, 100, 100, OR_STYLE);
In this example, the dot width is 1. The calling of DrawArc(BLACK, 100, 100, 50,
50, OR_STYLE) will draw an arc from (100, 100) to (240, 150) on panning screen.
The arc is actually a quarter of an ellipse centering at (100, 150) with the longest
distance of 141 pixels in x axis and the longest distance of 51 pixels in y axis. The
center is determined by the x axis value of the second point and the y axis value
of the first point which is 100 and 150 respectively.
Example 6-22 Draw a black arc with EXOR style
/* draw an arc from (100, 100) to (240, 150) */
ret = DrawArc(BLACK, 100, 100, 240, 150, EXOR_STYLE);
In this example, the dot width is 1. As the LCD display screen is all BLACK and
the calling of DrawArc() is in exclusive OR style, the arc turns out to be WHITE on
a black background.
Figure 6-20 Screen output for
(50, 50)
(0, 0)
(100, 100)
Figure 6-21 Screen output for
(50, 50)
(0, 0)
(100, 100)
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.