vcl: Use stencil mask to clip gradient shape

Change-Id: I5dc17a20ab65f0b0bad4741a7d1ec76a0e028e23
vcl: Fix several coordinates calculations

Change-Id: I15878b4d91081a7ac880713ad278893aaad4a844