private void Scrollable1_Scroll(object sender, EventArgs e) { _scrollPosition = scrollable.ScrollPosition; drawable.Invalidate(); }
public PointF TransformPoint(Point p) { s.DrawingPointF v = s.Matrix3x2.TransformPoint( this.Control, p.ToWpf()); // implicit conversion from Vector2 to DrawingPointF return v.ToEto(); }
public static Eto.Drawing.PointF ScreenToLogical(this Eto.Drawing.Point point, swf.Screen sdscreen = null) { return(ScreenToLogical(point.ToSD(), sdscreen)); }
public PointF TransformPoint (Point point) { return control.Transform (point.ToWpf ()).ToEto (); }