6 ###############################################
7 ##puts "Creating of 2D Rectangular ROTATED Grid WITHOUT Lines"
8 ##puts "(visual checking for this case is desirable)"
9 ###############################################
12 v2dgrid Rect 500 500 200 200 45 Points
13 if { [array get env os_type] != "" } {
16 if { [string compare $os "windows"] == 0 } {
33 set color [QAAISGetPixelColor2d ${x1} ${y1}]
34 regexp {RED +: +([-0-9.+eE]+)} $color full rd
35 regexp {GREEN +: +([-0-9.+eE]+)} $color full gr
36 regexp {BLUE +: +([-0-9.+eE]+)} $color full bl
38 set rd_int [expr int($rd * 1.e+05)]
39 set gr_int [expr int($gr * 1.e+05)]
40 set bl_int [expr int($bl * 1.e+05)]
42 if { ${rd_int} != ${rd_ch} || ${gr_int} != ${gr_ch} || ${bl_int} != ${bl_ch} } {
43 puts "Error : colors are not equal"
44 puts "Error : 2D Rectangular ROTATED Grid WITHOUT Lines was NOT CREATED properly"