5 #######################################################################
6 # Visualization - the same text is rendered with shift at second time
7 #######################################################################
9 vfont add [locate_data_file DejaVuSans.ttf] SansFont
14 vdrawtext text0 "This program" -pos 0 0 0 -color GREEN -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font SansFont
16 vdrawtext text1 "This program" -pos 0 0 0 -color RED -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font SansFont
22 set G 0.9843137264251709
25 if {"[vreadpixel $x $y rgb]" == "$R $G $B" } {
26 puts "Error : color is bad"
28 puts "OK : color is good"
31 checkview -screenshot -3d -path ${imagedir}/${test_image}.png