|
|
|
@ -11,7 +11,10 @@ namespace Avalonia.Rendering.SceneGraph |
|
|
|
{ |
|
|
|
public DrawOperation(Rect bounds, Matrix transform) |
|
|
|
{ |
|
|
|
bounds = bounds.Normalize(); |
|
|
|
|
|
|
|
bounds = bounds.TransformToAABB(transform); |
|
|
|
|
|
|
|
Bounds = new Rect( |
|
|
|
new Point(Math.Floor(bounds.X), Math.Floor(bounds.Y)), |
|
|
|
new Point(Math.Ceiling(bounds.Right), Math.Ceiling(bounds.Bottom))); |
|
|
|
|