to resolution calculation functions rather than doing this from callee. Also switch mask drawing code do the same spline resolution calculation as used for compositor (which takes frame dimensions into account).
to resolution calculation functions rather than doing this from callee. Also switch mask drawing code do the same spline resolution calculation as used for compositor (which takes frame dimensions into account).