Méthode | Description | |
---|---|---|
Clamp ( double x, double min, double max ) : double | ||
Clamp ( float x, float min, float max ) : float | ||
Clamp ( int x, int min, int max ) : int | ||
ClampToByte ( double x ) : byte | ||
ClampToByte ( float x ) : byte | ||
ClampToByte ( int x ) : byte | ||
FastDivideShortByByte ( ushort n, byte d ) : int | ||
FastScaleByteByByte ( byte a, byte b ) : byte | ||
GetBilinearSampleClamped ( ISurface src, float x, float y ) : |
||
GetBilinearSampleWrapped ( ISurface src, |
||
GetBilinearSampleWrapped ( ISurface src, float x, float y ) : |
||
GetBlendModeOp ( BlendMode mode ) : |
||
GetRegionBounds ( |
Allows you to find the bounding box for a "region" that is described as an array of bounding boxes.
|
|
GetRgssOffsets ( |
||
Lerp ( |
||
Lerp ( double from, double to, double frac ) : double |
Méthode | Description | |
---|---|---|
IsNumber ( float x ) : bool |
public static Clamp ( double x, double min, double max ) : double | ||
x | double | |
min | double | |
max | double | |
Résultat | double |
public static Clamp ( float x, float min, float max ) : float | ||
x | float | |
min | float | |
max | float | |
Résultat | float |
public static Clamp ( int x, int min, int max ) : int | ||
x | int | |
min | int | |
max | int | |
Résultat | int |
public static ClampToByte ( double x ) : byte | ||
x | double | |
Résultat | byte |
public static ClampToByte ( float x ) : byte | ||
x | float | |
Résultat | byte |
public static FastDivideShortByByte ( ushort n, byte d ) : int | ||
n | ushort | |
d | byte | |
Résultat | int |
public static FastScaleByteByByte ( byte a, byte b ) : byte | ||
a | byte | |
b | byte | |
Résultat | byte |
public static GetBilinearSampleClamped ( ISurface src, float x, float y ) : |
||
src | ISurface | |
x | float | |
y | float | |
Résultat |
public static GetBilinearSampleWrapped ( ISurface src, |
||
src | ISurface | |
srcDataPtr | ||
srcWidth | int | |
srcHeight | int | |
x | float | |
y | float | |
Résultat |
public static GetBilinearSampleWrapped ( ISurface src, float x, float y ) : |
||
src | ISurface | |
x | float | |
y | float | |
Résultat |
public static GetBlendModeOp ( BlendMode mode ) : |
||
mode | BlendMode | |
Résultat |
public static GetRegionBounds ( |
||
rects | ||
startIndex | int | |
length | int | |
Résultat |
public static GetRgssOffsets ( |
||
samplesArray | ||
sampleCount | int | |
quality | int | |
Résultat | void |
public static Lerp ( |
||
from | ||
to | ||
frac | float | |
Résultat |
public static Lerp ( double from, double to, double frac ) : double | ||
from | double | |
to | double | |
frac | double | |
Résultat | double |