implement gradient rendering method for windows backend

Change-Id: I894b14d97227d695f5cfc5e13958413c36295d7d