void avic_lineAvicMat img AvicPoint pt1 AvicPoint pt2 AvicScalar color int thickness int lineType avic_assertimg != NULL && img-dataptr != NULL src should not be NULLn; avic_assertpt1x = 0 && pt1y = 0
该段代码的作用是在图像上绘制一条线段。参数包括图像指针、起始点和结束点的坐标、线段的颜色、线段的厚度和线段的类型。函数通过调用ThickLine函数来实现绘制线段的功能。
原文地址: http://www.cveoy.top/t/topic/iRZN 著作权归作者所有。请勿转载和采集!