sources/Desktop/videodisplay.cpp
// get the pixel at x,y
get the pixel at x,y
get the pixel at x y
int VideoDisplay::Get( int x, int y )
{
    if( x < 0 || x > this->width ) return 0;
    if( y < 0 || y > this->height ) return 0;
    return( videoMemory[ (y * this->width) + x ] );
}
int VideoDisplay :: Get ( int x , int y ) { if ( x < 0 || x > this -> width ) return 0 ; if ( y < 0 || y > this -> height ) return 0 ; return ( videoMemory [ ( y * this -> width ) + x ] ) ; }
get the pixel at x,y
get the pixel at x y