Exemplo n.º 1
0
fill fill::gradient(gradient_fill::type gradient_type)
{
    fill f;
    f.type_ = type::gradient;
    f.gradient_ = gradient_fill(gradient_type);
    return f;
}
Exemplo n.º 2
0
void CL_Draw::gradient_fill(CL_GraphicContext &gc, const CL_Rectf &rect, const CL_Gradient &gradient)
{
	gradient_fill(gc, rect.left, rect.top, rect.right, rect.bottom, gradient);
}
Exemplo n.º 3
0
void CL_Draw::gradient_fill(CL_GraphicContext &gc, const CL_Pointf &start, const CL_Pointf &end, const CL_Gradient &gradient)
{
	gradient_fill(gc, start.x, start.y, end.x, end.y, gradient);
}