File: bug22332

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (41 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
puts "============"
puts "OCC22332"
puts "============"
puts ""

######################################################
# 
######################################################

set BUGNUMBER OCC22332

vinit
vclear
box b 100 100 100
vsetdispmode b 1
vdisplay b
vtrihedron tri
vfit
 
vmoveto 0 0

# TEST LINEWIDTH
# draw a 10px horizontal line at (10,10) - (400,10)
vlayerline 10 10 400 10 10

checkcolor 15 5 1 0 0
checkcolor 15 13 1 0 0
checkcolor 15 14 0 0 0

# TEST LINETYPE
# draw a slashed 10px horizontal line at (10,10) - (400,10)
vlayerline 10 10 400 10 10 1

checkcolor 23 10 1 0 0
checkcolor 25 10 1 0 0
checkcolor 26 10 0 0 0
checkcolor 30 10 0 0 0
checkcolor 32 10 1 0 0

set only_screen 1