Content


NTL
Core
AddShadow

AddShadow


Extend rectangle with specified shadow.

You can find more information in comments below.

RectF AddShadow(const RectF &rect, const Color &color, const PointF &shift, const int radius); // Extend rect with shadow if shadow exists(color alpha > 0)
Namespace: nitisa
Include: Nitisa/Render/Utils.h