Edit

SKPixmap.ScalePixels Method

Definition

Overloads

Name Description
ScalePixels(SKPixmap)

Scales pixels to the destination using default sampling.

ScalePixels(SKPixmap, SKSamplingOptions)

Scales pixels to the destination using the specified sampling options.

ScalePixels(SKPixmap)

Scales pixels to the destination using default sampling.

public bool ScalePixels(SkiaSharp.SKPixmap destination);

Parameters

destination
SKPixmap

The destination pixmap.

Returns

Returns true on success.

Applies to

ScalePixels(SKPixmap, SKSamplingOptions)

Scales pixels to the destination using the specified sampling options.

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

Parameters

destination
SKPixmap

The destination pixmap.

sampling
SKSamplingOptions

The sampling options for scaling.

Returns

Returns true on success.

Applies to