Casio Graphical Calculator Encyclopaedia
Token:
|
PxlTest
|
Type:
|
IO function
|
Usage:
|
[Orange |Green ]PxlTest <row>, <col>
|
Definition:
Tests the 'filled' state of the pixel at row <row> from the top,
column <col> from the left and stores the answer in Ans
memory. If a clear pixel is tested it will return zero, otherwise it will
return one. If Orange or Green are specified there will
be no difference to the result but it will not cause an error.
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.
Command Speed (pxl/s)
~~~~~~~~~~~~~~~~~~~~~~~~~
Plot 7
Pxl... 11
Plot... 11
See also:
PxlOn,
PxlOff,
PxlChg,
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.