|
@@ -183,7 +183,7 @@ namespace Avalonia
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Multiplies a rectangle by a vector.
|
|
|
|
|
|
|
+ /// Multiplies a rectangle by a scaling vector.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <param name="rect">The rectangle.</param>
|
|
/// <param name="rect">The rectangle.</param>
|
|
|
/// <param name="scale">The vector scale.</param>
|
|
/// <param name="scale">The vector scale.</param>
|
|
@@ -197,17 +197,6 @@ namespace Avalonia
|
|
|
rect.Height * scale.Y);
|
|
rect.Height * scale.Y);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- /// Transforms a rectangle by a matrix and returns the axis-aligned bounding box.
|
|
|
|
|
- /// </summary>
|
|
|
|
|
- /// <param name="rect">The rectangle.</param>
|
|
|
|
|
- /// <param name="matrix">The matrix.</param>
|
|
|
|
|
- /// <returns>The axis-aligned bounding box.</returns>
|
|
|
|
|
- public static Rect operator *(Rect rect, Matrix matrix)
|
|
|
|
|
- {
|
|
|
|
|
- return new Rect(rect.TopLeft * matrix, rect.BottomRight * matrix);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Divides a rectangle by a vector.
|
|
/// Divides a rectangle by a vector.
|
|
|
/// </summary>
|
|
/// </summary>
|