Content


NTL
Core
DispOnCanvas

DispOnCanvas


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
Include: Nitisa/Render/Utils.h