0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug24555
CommitLineData
6788f423 1puts "============"
2puts "OCC24555"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - the same text is rendered with shift at second time
7#######################################################################
8
6fb1a930 9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
6788f423 11vinit
12vclear
13vaxo
aaf8d6a9 14vdrawtext text0 "This program" -pos 0 0 0 -color GREEN -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font SansFont
6788f423 15
aaf8d6a9 16vdrawtext text1 "This program" -pos 0 0 0 -color RED -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font SansFont
6788f423 17
18set x 346
19set y 190
20
21set R 0
22set G 0.9843137264251709
23set B 0
24
ccadc126 25if {"[vreadpixel $x $y rgb]" == "$R $G $B" } {
6788f423 26 puts "Error : color is bad"
27} else {
28 puts "OK : color is good"
29}
30
5747059b 31checkview -screenshot -3d -path ${imagedir}/${test_image}.png