move gradient drawing code to HSSRenderer