x2 = x1;
x2 = temp;
inline IteratorState* initRectIterator( IteratorState* it, UI16 x1, UI16 y1, UI16 x2, UI16 y2 ){	// make sure the two points are really the min and max points, respectively	if ( x2 < x1 )	{		UI16 temp = x1;		x1 = x2;		x2 = x1;	}	if ( y2 < y1 )	{		UI16 temp = y1;		y1 = y2;		y2 = y1;	}	it->type = ITERATE_RECTANGLE;	RectangleIteratorState &state = it->state.rect;	state.x1 = x1;	state.y1 = y1;	state.x2 = x2;	state.y2 = y2;	return it;}