public ViewportedHighlightCanvas()
     : base()
 {
     this._Viewport = null;
 }
Beispiel #2
0
 public ViewportPointConverter Within(double width, double height)
 {
     return this._pointConverter = new ViewportPointConverter(width, height);
 }
Beispiel #3
0
 public ViewportPointConverter Within(INotifySizeChange sizeChanged)
 {
     this._pointConverter = new ViewportPointConverter(sizeChanged.CurrentWidth, sizeChanged.CurrentHeight);
     sizeChanged.NewSizeAvailable += (s) => this._pointConverter.UpdateViewport(s.Width, s.Height);
     return this._pointConverter;
 }
Beispiel #4
0
 private void SetPointInformation(MoveableBodyPart center, MoveableBodyPart circumferencePoint)
 {
     this._pointConverter = null;
     this._center = center;
     this._circumferencePoint = circumferencePoint;
 }