Calculate displacement of the control on canvas when it has a shadow.
You can find more information in comments below.
PointF DispOnCanvas(const Color &shadow_color, const PointF &shadow_shift, const int shadow_radius); // Return control position on canvas with control and shadow
Namespace: | nitisa::helpers::math |
Include: | Nitisa/Helpers/Math.h |