0022898: IGES import fails in german environment
[occt.git] / tests / bugs / vis / bug21747_14
CommitLineData
3bea4c16 1puts "============"
2puts "OCC21747"
3puts "Customer : TATA"
4puts "============"
5puts ""
6#######################################################################
7# Implementation of gradient background style
8#
9# vsetgradientbg: vsetgradientbg R1 G1 B1 R2 G2 B2 Type
10# R1\G1\B1 - First color [0..255]
11# R2\G2\B2 - Second color [0..255]
12# Type 0 to 8
13# 0 = NONE,
14# 1 = HORIZONTAL,
15# 2 = VERTICAL,
16# 3 = DIAGONAL1,
17# 4 = DIAGONAL2,
18# 5 = CORNER1,
19# 6 = CORNER2,
20# 7 = CORNER3,
21# 8 = CORNER4
22#######################################################################
23
24set BugNumber OCC21747
25
26vinit
27
28set R1 0
29set G1 0
30set B1 255
31set R2 255
32set G2 0
33set B2 0
34set Type 5
35
36puts "${BugNumber}"
37puts "Type=CORNER1, Color from BLUE to RED, Direction from LEFT TOP CORNER"
38puts "R1=${R1} G1=${G1} B1=${B1} R2=${R2} G2=${G2} B2=${B2} Type=${Type}"
39
40vsetgradientbg ${R1} ${G1} ${B1} ${R2} ${G2} ${B2} ${Type}
41
42set only_screen 1