Skip to content

Commit 8890c4e

Browse files
authored
Merge pull request #11971 from ptasev/pt/minor-xml-doc-fix
Fixed a small xml doc mistake
2 parents f782bab + 3fe6604 commit 8890c4e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/Avalonia.Base/Platform/IDrawingContextImpl.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void DrawRectangle(IBrush? brush, IPen? pen, RoundedRect rect,
140140
void PopOpacity();
141141

142142
/// <summary>
143-
/// Pushes an opacity mask
143+
/// Pushes an opacity mask.
144144
/// </summary>
145145
void PushOpacityMask(IBrush mask, Rect bounds);
146146

@@ -161,9 +161,7 @@ void DrawRectangle(IBrush? brush, IPen? pen, RoundedRect rect,
161161
void PopGeometryClip();
162162

163163
/// <summary>
164-
/// Get Fetaure from type
165-
/// <summary>
166-
/// Attempts to get an optional feature from the drawing context implementation
164+
/// Attempts to get an optional feature from the drawing context implementation.
167165
/// </summary>
168166
object? GetFeature(Type t);
169167
}
@@ -177,7 +175,7 @@ public interface IDrawingContextImplWithEffects
177175
public static class DrawingContextImplExtensions
178176
{
179177
/// <summary>
180-
/// Attempts to get an optional feature from the drawing context implementation
178+
/// Attempts to get an optional feature from the drawing context implementation.
181179
/// </summary>
182180
public static T? GetFeature<T>(this IDrawingContextImpl context) where T : class =>
183181
(T?)context.GetFeature(typeof(T));
@@ -186,13 +184,13 @@ public static class DrawingContextImplExtensions
186184
public interface IDrawingContextLayerImpl : IRenderTargetBitmapImpl
187185
{
188186
/// <summary>
189-
/// Does optimized blit with Src blend mode
187+
/// Does optimized blit with Src blend mode.
190188
/// </summary>
191189
/// <param name="context"></param>
192190
void Blit(IDrawingContextImpl context);
193191

194192
/// <summary>
195-
/// Returns true if layer supports optimized blit
193+
/// Returns true if layer supports optimized blit.
196194
/// </summary>
197195
bool CanBlit { get; }
198196
}

0 commit comments

Comments
 (0)