Skip to content

Commit 2a95369

Browse files
committed
Fix some references
1 parent 44ea535 commit 2a95369

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

SkiaSharpAPI/SkiaSharp/SKBitmap.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
<summary>The <see cref="T:SkiaSharp.SKBitmap" /> specifies a raster bitmap.</summary>
1818
<remarks>
1919
<para>A bitmap has an integer width and height, and a format (color type), and a pointer to the actual pixels. Bitmaps can be drawn into a <see cref="T:SkiaSharp.SKCanvas" />, but they are also used to specify the target of a <see cref="T:SkiaSharp.SKCanvas" />' drawing operations.</para>
20-
<para>A <see cref="T:SkiaSharp.SKBitmap" /> exposes <see cref="M:SkiaSharp.SKBitmap.GetPixels" />, which lets a caller write its pixels. To retrieve a pointer to the raw image data of the bitmap, call the <see cref="M:SkiaSharp.SKBitmap.LockPixels" /> method, and then call the <see cref="M:SkiaSharp.SKBitmap.GetPixels" /> method to get a pointer to the image data. Once you no longer need to use the raw data pointer, call the <see cref="M:SkiaSharp.SKBitmap.UnlockPixels" /> method. The raw data is laid out in the format configured at the time that the bitmap was created.</para>
21-
<para>(Note: As of SkiaSharp 1.60.0, calls to <see cref="M:SkiaSharp.SKBitmap.LockPixels" /> and <see cref="M:SkiaSharp.SKBitmap.UnlockPixels" /> are no longer required, and they no longer exist as part of the API.)</para>
20+
<para>A <see cref="T:SkiaSharp.SKBitmap" /> exposes <see cref="M:SkiaSharp.SKBitmap.GetPixels" />, which lets a caller write its pixels. To retrieve a pointer to the raw image data of the bitmap, call the <see cref="M:SkiaSharp.SKBitmap.GetPixels" /> method to get a pointer to the image data. The raw data is laid out in the format configured at the time that the bitmap was created.</para>
2221
</remarks>
2322
</Docs>
2423
<Members>
@@ -1626,7 +1625,7 @@
16261625
<param name="x">The x-cordinate.</param>
16271626
<param name="y">The y-cordinate.</param>
16281627
<summary>Returns the color for the pixel at the specified location.</summary>
1629-
<returns>Alpha only color types return black with the appropriate alpha set. The value is undefined for <see cref="F:SkiaSharp.SKColorType.Unknown" />, if the coordinates are out of bounds, if the bitmap does not have any pixels, or has not be locked with <see cref="M:SkiaSharp.SKBitmap.LockPixels" />.</returns>
1628+
<returns>Alpha only color types return black with the appropriate alpha set. The value is undefined for <see cref="F:SkiaSharp.SKColorType.Unknown" />, if the coordinates are out of bounds, or if the bitmap does not have any pixels.</returns>
16301629
<remarks>In most cases this will require unpremultiplying the color.</remarks>
16311630
</Docs>
16321631
</Member>

SkiaSharpAPI/SkiaSharp/SKCanvas.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4082,7 +4082,8 @@ safely ignored.
40824082
</ReturnValue>
40834083
<Docs>
40844084
<summary>Gets a value indicating whether the current clip is empty.</summary>
4085-
<value><see langword="true" /> if the clip is empty; otherwise, <see langword="false" />.</value>
4085+
<value>
4086+
<see langword="true" /> if the clip is empty; otherwise, <see langword="false" />.</value>
40864087
<remarks />
40874088
</Docs>
40884089
</Member>
@@ -4103,7 +4104,8 @@ safely ignored.
41034104
</ReturnValue>
41044105
<Docs>
41054106
<summary>Gets a value indicating whether the current clip is a rectangle.</summary>
4106-
<value><see langword="true" /> if the clip is a rectangle; otherwise, <see langword="false" />.</value>
4107+
<value>
4108+
<see langword="true" /> if the clip is a rectangle; otherwise, <see langword="false" />.</value>
41074109
<remarks />
41084110
</Docs>
41094111
</Member>

SkiaSharpAPI/SkiaSharp/SKData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@
689689
</Parameters>
690690
<Docs>
691691
<param name="disposing">Specify true to release both managed and unmanaged resources, false to release only unmanaged resources.</param>
692-
<summary>Releases the resources associated with the data. If this <see cref="T:SkiaSharp.SKData" /> was created with one of the <see cref="M:SkiaSharp.SKData.FromMallocMemory(System.IntPtr,System.UInt64)" /> methods, then the operating system's "free" method will be called on the data.</summary>
692+
<summary>Releases the resources associated with the data.</summary>
693693
<remarks />
694694
</Docs>
695695
</Member>

SkiaSharpAPI/SkiaSharp/SKImage.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@
288288
</ReturnValue>
289289
<Parameters />
290290
<Docs>
291-
<summary>Encodes the image using the <see cref="F:SkiaSharp.SKImageEncodeFormat.Png" /> format.</summary>
291+
<summary>Encodes the image using the <see cref="F:SkiaSharp.SKEncodedImageFormat.Png" /> format.</summary>
292292
<returns>Returns the <see cref="T:SkiaSharp.SKData" /> wrapping the encoded image.</returns>
293-
<remarks>Use the overload that takes a <see cref="T:SkiaSharp.SKImageEncodeFormat" /> if you want to encode in a different format.</remarks>
293+
<remarks>Use the overload that takes a <see cref="T:SkiaSharp.SKEncodedImageFormat" /> if you want to encode in a different format.</remarks>
294294
</Docs>
295295
</Member>
296296
<Member MemberName="Encode">

SkiaSharpAPI/SkiaSharp/SKMatrix.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@
11931193
<param name="y">The y-component of the vector.</param>
11941194
<summary>Applies the matrix to a vector, ignoring translation.</summary>
11951195
<returns>Returns the mapped point.</returns>
1196-
<remarks>Mapping vectors ignores the translation component in the matrix. Use <see cref="M:SkiaSharp.SKMatrix.MapXY(System.Single,System.Single)" /> to take the translation into consideration.</remarks>
1196+
<remarks>Mapping vectors ignores the translation component in the matrix. Use <see cref="M:SkiaSharp.SKMatrix.MapPoint(SkiaSharp.SKPoint)" /> to take the translation into consideration.</remarks>
11971197
</Docs>
11981198
</Member>
11991199
<Member MemberName="MapVectors">

0 commit comments

Comments
 (0)