Takes src rectangle and position it at the center of dst rectangle with or without scaling.
It handles clipping if the src rectangle is bigger than the dst one and scaling is set to FALSE.
| src |
a pointer to Rectangle describing the source area |
| dst |
a pointer to 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 |