LinearGradient: add support for Cairo render using cairo_t*.