Casio Graphical Calculator Encyclopaedia
Token:
|
PxlChg
|
Type:
|
IO function
|
Usage:
|
[Orange |Green ]PxlChg <row>, <col>
|
Definition:
Toggles the 'filled' state of the pixel at row <row> from the top,
column <col> from the left. If Orange or Green
are specified, unfilled pixels will become the specified colour rather
than blue, but filled pixels of any colour will always become clear.
Other information:
This is one of the Pxl... commands, which act directly on the
graphics screen, rather than plotting a point relative to the current
axes. If the standard range ('Range 1, 127, 0, 1, 63, 0') is
being used, the same pixel could also be coloured using the command
'Plot <col>, 64-<row>'. Notice that the
horizontal and vertical co-ordinates are referred to in the opposite
order, and that the vertical co-ordinate is measured in the opposite
direction. Using the range 'Range 1, 127, 0, 63, 1, 0' will
give axes which are measured from the top down so that it is only
necessary to swap the order of the co-ordinates when changing between
axes-based and screen-based commands.
Unlike the Plot command, this command cannot be followed by a
display triangle (_) to allow direct pixel editing.
Command Speed (pxl/s)
~~~~~~~~~~~~~~~~~~~~~~~~~
Plot 7
Pxl... 11
Plot... 11
See also:
PxlOn,
PxlOff,
PxlTest,
PlotOn,
PlotOff,
PlotChg,
Plot,
Line
Return to index
This page was created by Tom Lynn. Comments etc. to:
thl22@cam.ac.uk.
This page last updated: Friday, 30 April, 1999
Written in notepad and compiled with
WTA,
for clean, consistent HTML.