internal void AddNewViewInfo(ViewInfo viewInfo)
    {

      if (current.viewInfo == null || current.viewInfo != viewInfo)
      {

        //                    Log.W(viewInfo);

        ViewInfoHolder n = new ViewInfoHolder(viewInfo);
        current.next = n;
        n.prev = current;
        current = n;
      }

    }
 void SetViewFromViewInfo(ViewInfo viewInfo)
 {
     Transform = viewInfo.Transformation.Clone();
     panel.Invalidate();
 }
 void SetViewFromViewInfo(ViewInfo viewInfo) {
     Transform = viewInfo.Transformation.Clone();
     panel.Invalidate();
 }
예제 #4
0
        ViewInfo CurrentViewInfo()
        {
            var viewInfo = new ViewInfo {
                                            Transformation = Transform.Clone(),
                                            leftMouseButtonWasPressed =
                                                MouseButtons == MouseButtons.Left,
                                        };

            return viewInfo;
        }
 internal ViewInfoHolder(ViewInfo vi) { this.viewInfo = vi; }
예제 #6
0
 internal ViewInfoHolder(ViewInfo vi)
 {
     this.viewInfo = vi;
 }