SKImage.ScalePixels Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ScalePixels(SKPixmap, SKFilterQuality) |
Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ. |
ScalePixels(SKPixmap, SKFilterQuality, SKImageCachingHint) |
Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ. |
ScalePixels(SKPixmap, SKFilterQuality)
Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ.
public bool ScalePixels (SkiaSharp.SKPixmap dst, SkiaSharp.SKFilterQuality quality);
Parameters
- dst
- SKPixmap
The pixmap describing the destination pixel buffer.
- quality
- SKFilterQuality
The quality of scaling to use.
Returns
Returns true
on success, or false
if the color type/alpha type could not be converted to the destination types.
Applies to
ScalePixels(SKPixmap, SKFilterQuality, SKImageCachingHint)
Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ.
public bool ScalePixels (SkiaSharp.SKPixmap dst, SkiaSharp.SKFilterQuality quality, SkiaSharp.SKImageCachingHint cachingHint);
Parameters
- dst
- SKPixmap
The pixmap describing the destination pixel buffer.
- quality
- SKFilterQuality
The quality of scaling to use.
- cachingHint
- SKImageCachingHint
Whether or not to cache intermediate results.
Returns
Returns true
on success, or false
if the color type/alpha type could not be converted to the destination types.