|
|
@ -106,7 +106,7 @@ namespace Avalonia.Platform |
|
|
/// <param name="stream">The stream to read the bitmap from.</param>
|
|
|
/// <param name="stream">The stream to read the bitmap from.</param>
|
|
|
/// <param name="width">The desired width of the resulting bitmap.</param>
|
|
|
/// <param name="width">The desired width of the resulting bitmap.</param>
|
|
|
/// <param name="interpolationMode">The <see cref="BitmapInterpolationMode"/> to use should resizing be required.</param>
|
|
|
/// <param name="interpolationMode">The <see cref="BitmapInterpolationMode"/> to use should resizing be required.</param>
|
|
|
/// <returns>An <see cref="IBitmapImpl"/>.</returns>
|
|
|
/// <returns>An <see cref="IWriteableBitmapImpl"/>.</returns>
|
|
|
IWriteableBitmapImpl LoadWriteableBitmapToWidth(Stream stream, int width, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality); |
|
|
IWriteableBitmapImpl LoadWriteableBitmapToWidth(Stream stream, int width, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
@ -119,14 +119,14 @@ namespace Avalonia.Platform |
|
|
IWriteableBitmapImpl LoadWriteableBitmapToHeight(Stream stream, int height, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality); |
|
|
IWriteableBitmapImpl LoadWriteableBitmapToHeight(Stream stream, int height, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Loads a WriteableBitmap implementation from a file..
|
|
|
/// Loads a WriteableBitmap implementation from a file.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="fileName">The filename of the bitmap.</param>
|
|
|
/// <param name="fileName">The filename of the bitmap.</param>
|
|
|
/// <returns>An <see cref="IBitmapImpl"/>.</returns>
|
|
|
/// <returns>An <see cref="IBitmapImpl"/>.</returns>
|
|
|
IWriteableBitmapImpl LoadWriteableBitmap(string fileName); |
|
|
IWriteableBitmapImpl LoadWriteableBitmap(string fileName); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Loads a WriteableBitmap implementation from a file..
|
|
|
/// Loads a WriteableBitmap implementation from a file.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="stream">The stream to read the bitmap from.</param>
|
|
|
/// <param name="stream">The stream to read the bitmap from.</param>
|
|
|
/// <returns>An <see cref="IBitmapImpl"/>.</returns>
|
|
|
/// <returns>An <see cref="IBitmapImpl"/>.</returns>
|
|
|
|