Exemplo n.º 1
0
 private void Scrollable1_Scroll(object sender, EventArgs e)
 {
     _scrollPosition = scrollable.ScrollPosition;
     drawable.Invalidate();
 }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 public static Eto.Drawing.PointF ScreenToLogical(this Eto.Drawing.Point point, swf.Screen sdscreen = null)
 {
     return(ScreenToLogical(point.ToSD(), sdscreen));
 }
Exemplo n.º 4
0
		public PointF TransformPoint (Point point)
		{
			return control.Transform (point.ToWpf ()).ToEto ();
		}