Core.Graphics: Implement gradient fill