Esempio n. 1
0
        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 ());
		}
Esempio n. 3
0
        public void SetGradientWrap(RadialGradientBrush widget, GradientWrapMode gradientWrap)
        {
            var gradient = ((Cairo.RadialGradient)widget.ControlObject);

            gradient.Extend = gradientWrap.ToCairo();
        }
Esempio n. 4
0
		public void SetGradientWrap (LinearGradientBrush widget, GradientWrapMode gradientWrap)
		{
			var gradient = ((Cairo.LinearGradient)widget.ControlObject);
			gradient.Extend = gradientWrap.ToCairo ();
		}