17-23
Drawing Screen k
The drawing screen is a special screen for drawing.
Drawing Screen Refresh Timing u
To refresh the drawing screen while it is displayed, execute the show_screen function.
If you put show_screen outside of a loop statement, executing the py script will cause only the
final result to appear on the drawing screen. Putting show_screen inside of a loop statement
will display the result of each draw operation until the final result is reached.
(a) Example:
show_screen outside of a py script loop statement (display of the final
result)
from casioplot import *
for i in range(60):
set_pixel(i,i)
show_screen()
(b) Example:
show_screen inside of a py script loop statement (display of each draw
operation)
from casioplot import *
for i in range(60):
set_pixel(i,i)
show_screen()
Note: The currently displayed drawing screen is refreshed after execution of the py script is
complete.
To return to the SHELL screen from the drawing screen u
Press J, A, or !J(QUIT).
Note: The display will change from the drawing screen to the SHELL screen if any one of the
events below occurs during py script execution.
Execution of -
input
Generation of an error -
Pressing of - A
Drawing Screen Content Clear Timing u
Drawing screen contents are cleared at the timing below.
When -
clear_screen is executed (page 17-19)
When SHELL is initialized (page 17-17) -