Browse Source
Merge pull request #3955 from wieslawsoltes/Fix3954
Make DrawingContext.PushSetTransform method public
pull/3877/head
Dariusz Komosiński
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Visuals/Media/DrawingContext.cs
|
|
|
@ -350,7 +350,7 @@ namespace Avalonia.Media |
|
|
|
/// </summary>
|
|
|
|
/// <param name="matrix">The matrix</param>
|
|
|
|
/// <returns>A disposable used to undo the transformation.</returns>
|
|
|
|
PushedState PushSetTransform(Matrix matrix) |
|
|
|
public PushedState PushSetTransform(Matrix matrix) |
|
|
|
{ |
|
|
|
var oldMatrix = CurrentTransform; |
|
|
|
CurrentTransform = matrix; |
|
|
|
|