Edit

SKImage.ScalePixels Method

Definition

Overloads

Name Description
ScalePixels(SKPixmap, SKSamplingOptions)

Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ.

ScalePixels(SKPixmap, SKSamplingOptions, SKImageCachingHint)

Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ.

ScalePixels(SKPixmap, SKSamplingOptions)

Copies the pixels from this image into the destination pixmap, scaling the image if the dimensions differ.

public bool ScalePixels(SkiaSharp.SKPixmap dst, SkiaSharp.SKSamplingOptions sampling);

Parameters

dst
SKPixmap

The destination pixmap.

sampling
SKSamplingOptions

The sampling options to use when scaling.

Returns

Returns true on success; otherwise false.

Applies to

ScalePixels(SKPixmap, SKSamplingOptions, 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.SKSamplingOptions sampling, SkiaSharp.SKImageCachingHint cachingHint);

Parameters

dst
SKPixmap

The destination pixmap.

sampling
SKSamplingOptions

The sampling options to use when scaling.

cachingHint
SKImageCachingHint

The caching hint to use for intermediate results.

Returns

Returns true on success; otherwise false.

Applies to