center_rect


Description:

[ Version ( deprecated = true , deprecated_since = "1.20" ) ]
public static void center_rect (Rectangle src, Rectangle dst, out Rectangle result, bool scaling)

Warning: center_rect is deprecated since 1.20.

Parameters:

src

the Rectangle describing the source area

dst

the Rectangle describing the destination area

result

a pointer to a Rectangle which will receive the result area

scaling

a bool indicating if scaling should be applied or not