Пример #1
0
 private void Scrollable1_Scroll(object sender, EventArgs e)
 {
     _scrollPosition = scrollable.ScrollPosition;
     drawable.Invalidate();
 }
Пример #2
0
        public PointF TransformPoint(Point p)
        {
            s.DrawingPointF v =
                s.Matrix3x2.TransformPoint(
                    this.Control,
                    p.ToWpf()); // implicit conversion from Vector2 to DrawingPointF

            return v.ToEto();
        }
Пример #3
0
 public static Eto.Drawing.PointF ScreenToLogical(this Eto.Drawing.Point point, swf.Screen sdscreen = null)
 {
     return(ScreenToLogical(point.ToSD(), sdscreen));
 }
Пример #4
0
		public PointF TransformPoint (Point point)
		{
			return control.Transform (point.ToWpf ()).ToEto ();
		}