From 41bf3ef07c28482a44a18482afb9e90fc593da0a Mon Sep 17 00:00:00 2001 From: Matthijs ter Woord Date: Fri, 4 Aug 2017 16:24:00 +0200 Subject: [PATCH] RelativePoint.Center should be used instead of .Middle --- docs/tutorial/from-wpf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/from-wpf.md b/docs/tutorial/from-wpf.md index 2db40cfd86..0eb6e80327 100644 --- a/docs/tutorial/from-wpf.md +++ b/docs/tutorial/from-wpf.md @@ -161,7 +161,7 @@ the same way that event class listeners are added](../spec/working-with-properti ## RenderTransforms and RenderTransformOrigin -RenderTransformOrigins are different in WPF and Avalonia: If you apply a `RenderTransform`, keep in mind that our default value for the RenderTransformOrigin is `RelativePoint.Middle`. In WPF the default value is `RelativePoint.TopLeft` (0, 0). In controls like Viewbox (currently being developed) the same code will lead to a different rendering behavior: +RenderTransformOrigins are different in WPF and Avalonia: If you apply a `RenderTransform`, keep in mind that our default value for the RenderTransformOrigin is `RelativePoint.Center`. In WPF the default value is `RelativePoint.TopLeft` (0, 0). In controls like Viewbox (currently being developed) the same code will lead to a different rendering behavior: In WPF: ![WPF](https://files.gitter.im/AvaloniaUI/Avalonia/cDrM/image.png)