예제 #1
0
 public void SetClip(IGraphicsPath path)
 {
     ResetClip();
     clipPath   = path.Clone();           // require a clone so changes to path don't affect current clip
     clipBounds = clipPath.ToWpf().Bounds.ToEtoF();
     ApplyClip();
 }
예제 #2
0
 public void SetClip(IGraphicsPath path)
 {
     TransformStack.PopAll();
     ResetClip();
     clipPath   = path.Clone().ToWpf();           // require a clone so changes to path don't affect current clip
     clipBounds = clipPath.Bounds.ToEtoF();
     ApplyClip();
     TransformStack.PushAll();
 }
 public void SetClip(IGraphicsPath path)
 {
     RewindTransform();
     RewindClip();
     clipBounds = null;
     clipPath   = path.Clone();
     clipPath.Transform(currentTransform.ToEto());
     ApplyClip();
     ApplyTransform();
 }
예제 #4
0
 public void SetClip(IGraphicsPath path)
 {
     ReverseTransform();
     ResetClip();
     path = path.Clone();
     path.Transform(currentTransform.ToEto());
     clipPath   = path;
     clipBounds = path.Bounds;
     ApplyClip();
     ApplyTransform();
 }
예제 #5
0
 public void SetClip(IGraphicsPath path)
 {
     RewindTransform();
     RewindClip();
     path = path.Clone();
     if (transforms != null && transforms.Current != null)
     {
         path.Transform(transforms.Current);
     }
     clipPath   = path.ToWpf(); // require a clone so changes to path don't affect current clip
     clipBounds = clipPath.Bounds.ToEtoF();
     ApplyClip();
     ApplyTransform();
 }
예제 #6
0
 public void SetClip(IGraphicsPath path)
 {
     ResetClip();
     clipPath = path.Clone();
     ReplayClip();
 }
예제 #7
0
		public void SetClip(IGraphicsPath path)
		{
			RewindTransform();
			RewindClip();
			clipBounds = null;
			clipPath = path.Clone();
			clipPath.Transform(currentTransform.ToEto());
			ApplyClip();
			ApplyTransform();
		}
예제 #8
0
		public void SetClip(IGraphicsPath path)
		{
			ResetClip();
			clipPath = path.Clone();
			ReplayClip();
		}