Jumar Macato
5 years ago
No known key found for this signature in database
GPG Key ID: B19884DAC3A5BF3F
2 changed files with
4 additions and
4 deletions
-
src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs
-
src/Windows/Avalonia.Direct2D1/Media/DrawingContextImpl.cs
|
|
|
@ -257,7 +257,7 @@ namespace Avalonia.Rendering.SceneGraph |
|
|
|
/// <inheritdoc/>
|
|
|
|
public void PopBitmapBlendMode() |
|
|
|
{ |
|
|
|
var next = NextDrawAs<OpacityNode>(); |
|
|
|
var next = NextDrawAs<BitmapBlendModeNode>(); |
|
|
|
|
|
|
|
if (next == null || !next.Item.Equals(null)) |
|
|
|
{ |
|
|
|
@ -377,7 +377,7 @@ namespace Avalonia.Rendering.SceneGraph |
|
|
|
/// <inheritdoc/>
|
|
|
|
public void PushBitmapBlendMode(BitmapBlendingMode blendingMode) |
|
|
|
{ |
|
|
|
var next = NextDrawAs<OpacityNode>(); |
|
|
|
var next = NextDrawAs<BitmapBlendModeNode>(); |
|
|
|
|
|
|
|
if (next == null || !next.Item.Equals(blendingMode)) |
|
|
|
{ |
|
|
|
|
|
|
|
@ -559,12 +559,12 @@ namespace Avalonia.Direct2D1.Media |
|
|
|
|
|
|
|
public void PushBitmapBlendMode(BitmapBlendingMode blendingMode) |
|
|
|
{ |
|
|
|
// Stubs for now
|
|
|
|
// TODO: Stubs for now
|
|
|
|
} |
|
|
|
|
|
|
|
public void PopBitmapBlendMode() |
|
|
|
{ |
|
|
|
// Stubs for now
|
|
|
|
// TODO: Stubs for now
|
|
|
|
} |
|
|
|
|
|
|
|
public void PushOpacityMask(IBrush mask, Rect bounds) |
|
|
|
|