Browse Source

Merge pull request #11971 from ptasev/pt/minor-xml-doc-fix

Fixed a small xml doc mistake
release/11.0.0-rc2.1
Max Katz 3 years ago
committed by GitHub
parent
commit
8890c4e6d4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/Avalonia.Base/Platform/IDrawingContextImpl.cs

12
src/Avalonia.Base/Platform/IDrawingContextImpl.cs

@ -140,7 +140,7 @@ namespace Avalonia.Platform
void PopOpacity(); void PopOpacity();
/// <summary> /// <summary>
/// Pushes an opacity mask /// Pushes an opacity mask.
/// </summary> /// </summary>
void PushOpacityMask(IBrush mask, Rect bounds); void PushOpacityMask(IBrush mask, Rect bounds);
@ -161,9 +161,7 @@ namespace Avalonia.Platform
void PopGeometryClip(); void PopGeometryClip();
/// <summary> /// <summary>
/// Get Fetaure from type /// Attempts to get an optional feature from the drawing context implementation.
/// <summary>
/// Attempts to get an optional feature from the drawing context implementation
/// </summary> /// </summary>
object? GetFeature(Type t); object? GetFeature(Type t);
} }
@ -177,7 +175,7 @@ namespace Avalonia.Platform
public static class DrawingContextImplExtensions public static class DrawingContextImplExtensions
{ {
/// <summary> /// <summary>
/// Attempts to get an optional feature from the drawing context implementation /// Attempts to get an optional feature from the drawing context implementation.
/// </summary> /// </summary>
public static T? GetFeature<T>(this IDrawingContextImpl context) where T : class => public static T? GetFeature<T>(this IDrawingContextImpl context) where T : class =>
(T?)context.GetFeature(typeof(T)); (T?)context.GetFeature(typeof(T));
@ -186,13 +184,13 @@ namespace Avalonia.Platform
public interface IDrawingContextLayerImpl : IRenderTargetBitmapImpl public interface IDrawingContextLayerImpl : IRenderTargetBitmapImpl
{ {
/// <summary> /// <summary>
/// Does optimized blit with Src blend mode /// Does optimized blit with Src blend mode.
/// </summary> /// </summary>
/// <param name="context"></param> /// <param name="context"></param>
void Blit(IDrawingContextImpl context); void Blit(IDrawingContextImpl context);
/// <summary> /// <summary>
/// Returns true if layer supports optimized blit /// Returns true if layer supports optimized blit.
/// </summary> /// </summary>
bool CanBlit { get; } bool CanBlit { get; }
} }

Loading…
Cancel
Save