1. 程式人生 > >函式頭註釋

函式頭註釋

註釋:簡要,引數,返回值,備註

//-----------------------------------------------------------------------
// Summary:
//     copy image data by given rectangle.
// Parameters:
//     strOut - output image file path
//     strFirst - first source image path
//     strSecond - second source image path
//     bHori - TRUE(horizontal direction), FALSE(vertical direction)
// Returns:
//     TRUE:combine successful, FALSE for otherwise.
// Remarks:
//     none
//-----------------------------------------------------------------------
CVALGO_API BOOL CombineImg(string& strOut, string strFirst, string strSecond, BOOL bHori);