void cvPolyLine( CvArr* img, CvPoint** pts, int* npts, int contours, int is_closed,CvScalar color, int thickness=1, int line_type=8, int shift=0 );
1 回答

慕森卡
TA貢獻1806條經驗 獲得超8個贊
cvPolyLine 繪制簡單或多樣的多邊形。
void cvPolyLine( CvArr* img, CvPoint** pts, int* npts, int contours, int is_closed,
CvScalar color, int thickness=1, int line_type=8, int shift=0 );
img 圖像。
pts 折線的頂點指針數組。
npts 折線的定點個數數組。也可以認為是pts指針數組的大小
contours 折線的線段數量。
is_closed 指出多邊形是否封閉。如果封閉,函數將起始點和結束點連線。
color 折線的顏色。
thickness 線條的粗細程度。
line_type 線段的類型。參見cvLine。
shift 頂點的小數點位數。
- 1 回答
- 0 關注
- 591 瀏覽
添加回答
舉報
0/150
提交
取消