Find a tile
Find the right top row candidate;
determine the slope and starting x location for the right tile edge.
Exactly as for the left edge.
Scan convert a single row:
void ScanX(int left_col, int right_col, int row, int R, int G, int B) {
if( left_col < right_col) {
for( int x = left_col; x < right_col; x++) {