465
467
points.push_back(point_type(x1, y1));
466
468
points.push_back(point_type(x2, y2));
468
this->state.gradient_fill = gradient(kiva::grad_linear, points, stops, spread_method);
471
475
void radial_gradient(double cx, double cy, double r,
473
477
std::vector<kiva::gradient_stop> stops,
476
481
typedef std::pair<double, double> point_type;
477
482
std::vector<point_type> points;