메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
IsNumber ( float x ) : bool |
public static Clamp ( double x, double min, double max ) : double | ||
x | double | |
min | double | |
max | double | |
리턴 | double |
public static Clamp ( float x, float min, float max ) : float | ||
x | float | |
min | float | |
max | float | |
리턴 | float |
public static Clamp ( int x, int min, int max ) : int | ||
x | int | |
min | int | |
max | int | |
리턴 | int |
public static FastDivideShortByByte ( ushort n, byte d ) : int | ||
n | ushort | |
d | byte | |
리턴 | int |
public static FastScaleByteByByte ( byte a, byte b ) : byte | ||
a | byte | |
b | byte | |
리턴 | byte |
public static GetBilinearSampleClamped ( ISurface src, float x, float y ) : |
||
src | ISurface | |
x | float | |
y | float | |
리턴 |
public static GetBilinearSampleWrapped ( ISurface src, |
||
src | ISurface | |
srcDataPtr | ||
srcWidth | int | |
srcHeight | int | |
x | float | |
y | float | |
리턴 |
public static GetBilinearSampleWrapped ( ISurface src, float x, float y ) : |
||
src | ISurface | |
x | float | |
y | float | |
리턴 |
public static GetBlendModeOp ( BlendMode mode ) : |
||
mode | BlendMode | |
리턴 |
public static GetRegionBounds ( |
||
rects | ||
startIndex | int | |
length | int | |
리턴 |
public static GetRgssOffsets ( |
||
samplesArray | ||
sampleCount | int | |
quality | int | |
리턴 | void |
public static Lerp ( |
||
from | ||
to | ||
frac | float | |
리턴 |
public static Lerp ( double from, double to, double frac ) : double | ||
from | double | |
to | double | |
frac | double | |
리턴 | double |