blob: 663b816d834043b02b4e0472bd0c11d59e99a646 (
plain)
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
|
// <-- Non-regression test for bug 1720 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1720
//
// <-- Short Description -->
// Scilab 4.0-RC1
// Different default behavior of xfrect and xfarc
// xfrec does not draw the limit of the rectangle
// xfarc draws the limit of the circle
//
// I don't know which is right and which is wrong, but there is an obvious
// inconsistency between the two behaviors
//
// Jacques-Deric
// Copyright INRIA
// Scilab Project - Jean-Baptiste Silvy
// Copyright INRIA 2006
// Date : 11 janvier 2006
hf = scf(1) ;
hf.figure_name = "4.13.22A1";
ha = hf.children;
ha.axes_visible = "on";
ha.box = "on";
xfrect (0,0.5,0.5,0.5);
hr = gce();
hr.background = 5;
xfarc (0.5,1,0.5,0.5,0,23040);
hc = gce();
hc.background = 6;
// check that xfarc fill the arc and don't draw the limit
if ( hc.line_mode == 'off' ) then
affich_result(%T,1720);
else
affich_result(%F,1720);
end
|