Scale an image to an arbitrary size.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void ScaleImage(
int format,
int widthin,
int heightin,
int typein,
int[] datain,
int widthout,
int heightout,
int typeout,
int[] dataout
)
参数
- format
- 类型:SystemInt32
Specifies the format of the pixel data. - widthin
- 类型:SystemInt32
Specify the width of the source image that is scaled. - heightin
- 类型:SystemInt32
Specify the height of the source image that is scaled. - typein
- 类型:SystemInt32
Specifies the data type for dataIn. - datain
- 类型:SystemInt32
Specifies a pointer to the source image. - widthout
- 类型:SystemInt32
Specify the width of the destination image. - heightout
- 类型:SystemInt32
Specify the height of the destination image. - typeout
- 类型:SystemInt32
Specifies the data type for dataOut. - dataout
- 类型:SystemInt32
Specifies a pointer to the destination image.
参见