public void SetGradientWrap(LinearGradientBrush widget, GradientWrapMode gradientWrap) { var gradient = ((Cairo.LinearGradient)widget.ControlObject); // gradient.Extend = gradientWrap.ToCairo (); cairo_pattern_set_extend(gradient.Pointer, gradientWrap.ToCairo()); }
public void SetGradientWrap (LinearGradientBrush widget, GradientWrapMode gradientWrap) { var gradient = ((Cairo.LinearGradient)widget.ControlObject); // gradient.Extend = gradientWrap.ToCairo (); cairo_pattern_set_extend (gradient.Pointer, gradientWrap.ToCairo ()); }
public void SetGradientWrap(RadialGradientBrush widget, GradientWrapMode gradientWrap) { var gradient = ((Cairo.RadialGradient)widget.ControlObject); gradient.Extend = gradientWrap.ToCairo(); }
public void SetGradientWrap (LinearGradientBrush widget, GradientWrapMode gradientWrap) { var gradient = ((Cairo.LinearGradient)widget.ControlObject); gradient.Extend = gradientWrap.ToCairo (); }