SKImage.ScalePixels Méthode

Définition

Surcharges

Nom Description
ScalePixels(SKPixmap, SKSamplingOptions)

Copie les pixels de cette image dans le pixmap de destination, mettant à l’échelle l’image si les dimensions diffèrent.

ScalePixels(SKPixmap, SKSamplingOptions, SKImageCachingHint)

Copie les pixels de cette image dans le pixmap de destination, mettant à l’échelle l’image si les dimensions diffèrent.

ScalePixels(SKPixmap, SKSamplingOptions)

Copie les pixels de cette image dans le pixmap de destination, mettant à l’échelle l’image si les dimensions diffèrent.

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

Paramètres

dst
SKPixmap

Pixmap de destination.

sampling
SKSamplingOptions

Options d’échantillonnage à utiliser lors de la mise à l’échelle.

Retours

Retourne true la réussite ; sinon false.

S’applique à

ScalePixels(SKPixmap, SKSamplingOptions, SKImageCachingHint)

Copie les pixels de cette image dans le pixmap de destination, mettant à l’échelle l’image si les dimensions diffèrent.

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

Paramètres

dst
SKPixmap

Pixmap de destination.

sampling
SKSamplingOptions

Options d’échantillonnage à utiliser lors de la mise à l’échelle.

cachingHint
SKImageCachingHint

Indicateur de mise en cache à utiliser pour les résultats intermédiaires.

Retours

Retourne true la réussite ; sinon false.

S’applique à