Browse Source

Fix Skia stream geometry bounds calculation.

scenegraph-after-breakage
Steven Kirk 9 years ago
parent
commit
5b62cef95f
  1. 2
      src/Skia/Avalonia.Skia/StreamGeometryImpl.cs

2
src/Skia/Avalonia.Skia/StreamGeometryImpl.cs

@ -21,7 +21,7 @@ namespace Avalonia.Skia
public Rect GetRenderBounds(double strokeThickness)
{
// TODO: Calculate properly.
return Bounds.Inflate(strokeThickness);
return Bounds.TransformToAABB(Transform).Inflate(strokeThickness);
}
public Rect Bounds { get; private set; }

Loading…
Cancel
Save