Check orientation function interface
typedef WSCheckOrientationFn = bool Function(int x, int y, int h, int w, int l);