Halcon快速入门笔记15

*设定region显示样式

*轮廓模式

dev_set_draw (‘margin’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*填充模式

dev_set_draw (‘fill’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*

*设定窗口颜色

dev_set_color (‘yellow’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*

*设定线宽

dev_set_line_width (5)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*/

*显示文本

dev_clear_window ()

set_tposition (3600, 200, 200)

write_string (3600, ‘hello’)

read_image (Image, ‘fabrik’)

set_display_font (3600, 30, ‘mono’, ‘true’, ‘false’)

disp_message (3600, ‘hello world’, ‘window’, 100, 100, ‘black’, ‘true’)

disp_message (3600, ‘hello world’, ‘image’, 100, 100, ‘black’, ‘true’)

posted @ 2022-10-11 01:18  视觉人机器视觉  阅读(41)  评论(0)    收藏  举报  来源