Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - RotateDIB
Search - RotateDIB - List
用vc实现图像的旋转 该函数用来以图像中心为中心旋转DIB图像,返回新生成DIB的句柄。 调用该函数会自动扩大图像以显示所有的象素。函数中采用最邻近插值算法进行插值。
Date : 2008-10-13 Size : 2.33kb User : momogxx


Date : 2025-07-11 Size : 2kb User : momogxx

/************************************************************************* * 函数名称: * RotateDIB2() * 参数: * LPSTR lpDIB - 指向源DIB的指针 * int iRotateAngle - 旋转的角度(0-360度) * 返回值: * HGLOBAL - 旋转成功返回新DIB句柄,否则返回NULL。 * 说明: * 该函数用来以图像中心为中心旋转DIB图像,返回新生成DIB的句柄。 * 调用该函数会自动扩大图像以显示所有的象素。函数中采用双线性插 * 值算法进行插值。 ************************************************************************/-/************************************************************************** Function Name:* RotateDIB2 ()* parameters:* LPSTR lpDIB- point to the source DIB pointer* int iRotateAngle- rotating angle (0-360 degrees)* Return Value:* HGLOBAL- rotating the successful return of new DIB handle, otherwise returns NULL.* Note:* This function is used to rotate the image center as the center of DIB image, return to the new generation DIB handle.* Call the function will automatically expand to display all the pixels of the image. Function, the bilinear interpolation algorithm* interpolation value.************************************************************************/
Date : 2025-07-11 Size : 2kb User : mfm101

/************************************************************************* * 函数名称: * RotateDIB() * 参数: * LPSTR lpDIB - 指向源DIB的指针 * int iRotateAngle - 旋转的角度(0-360度) * 返回值: * HGLOBAL - 旋转成功返回新DIB句柄,否则返回NULL。 * 说明: * 该函数用来以图像中心为中心旋转DIB图像,返回新生成DIB的句柄。 * 调用该函数会自动扩大图像以显示所有的象素。函数中采用最邻近插 * 值算法进行插值。 ************************************************************************/-/************************************************************************** Function Name:* RotateDIB ()* parameters:* LPSTR lpDIB- point to the source DIB pointer* int iRotateAngle- rotating angle (0-360 degrees)* Return Value:* HGLOBAL- rotating the successful return of new DIB handle, otherwise returns NULL.* Note:* This function is used to rotate the image center as the center of DIB image, return to the new generation DIB handle.* Call the function will automatically expand to display all the pixels of the image. Function value using the nearest interpolation algorithm* interpolation.************************************************************************/
Date : 2025-07-11 Size : 2kb User : mfm101
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.