C# 클래스 OpenSim.Region.CoreModules.World.Warp3DMap.ImageUtils

파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

공개 메소드들

메소드 설명
Bilinear ( float v00, float v01, float v10, float v11, float xPercent, float yPercent ) : float

Performs bilinear interpolation between four values

ResizeImage ( Image image, int width, int height ) : Bitmap

Performs a high quality image resize

메소드 상세

Bilinear() 공개 정적인 메소드

Performs bilinear interpolation between four values
public static Bilinear ( float v00, float v01, float v10, float v11, float xPercent, float yPercent ) : float
v00 float First, or top left value
v01 float Second, or top right value
v10 float Third, or bottom left value
v11 float Fourth, or bottom right value
xPercent float Interpolation value on the X axis, between 0.0 and 1.0
yPercent float Interpolation value on fht Y axis, between 0.0 and 1.0
리턴 float

ResizeImage() 공개 정적인 메소드

Performs a high quality image resize
public static ResizeImage ( Image image, int width, int height ) : Bitmap
image Image Image to resize
width int New width
height int New height
리턴 System.Drawing.Bitmap