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();
 }
Example #4
0
        ViewInfo CurrentViewInfo()
        {
            var viewInfo = new ViewInfo {
                                            Transformation = Transform.Clone(),
                                            leftMouseButtonWasPressed =
                                                MouseButtons == MouseButtons.Left,
                                        };

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