rotation24bpp
rotation = rotation24bpp(dx, direction);
rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT);