public static bool operator== (Scanline lhs, Scanline rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && lhs.length == rhs.length; }