Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
7e5d228e
Commit
7e5d228e
authored
23 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
revert default linewidth to 1.0
parent
fa118519
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/DefaultOptions.h
+5
-5
5 additions, 5 deletions
Common/DefaultOptions.h
Graphics/Axes.cpp
+5
-5
5 additions, 5 deletions
Graphics/Axes.cpp
Graphics/Graph2D.cpp
+5
-5
5 additions, 5 deletions
Graphics/Graph2D.cpp
with
15 additions
and
15 deletions
Common/DefaultOptions.h
+
5
−
5
View file @
7e5d228e
...
...
@@ -230,7 +230,7 @@ StringXNumber GeneralOptions_Number[] = {
"Y position of light source 5"
},
{
F
|
O
,
"Light5Z"
,
opt_general_light52
,
1
.
0
,
"Z position of light source 5"
},
{
F
|
O
,
"LineWidth"
,
opt_general_line_width
,
0
.
2
,
{
F
|
O
,
"LineWidth"
,
opt_general_line_width
,
1
.
0
,
"Display width of lines (in pixels)"
},
{
F
|
S
,
"MenuPositionX"
,
opt_general_menu_position0
,
800
.
,
...
...
@@ -340,7 +340,7 @@ StringXNumber GeometryOptions_Number[] = {
"Display curve numbers?"
},
{
F
|
O
,
"LineSelectWidth"
,
opt_geometry_line_sel_width
,
2
.
,
"Display width of selected lines (in pixels)"
},
{
F
|
O
,
"LineWidth"
,
opt_geometry_line_width
,
0
.
2
,
{
F
|
O
,
"LineWidth"
,
opt_geometry_line_width
,
1
.
0
,
"Display width of lines (in pixels)"
},
{
F
|
O
,
"Normals"
,
opt_geometry_normals
,
0
.
,
...
...
@@ -430,7 +430,7 @@ StringXNumber MeshOptions_Number[] = {
"Display mesh vertices on curves?"
},
{
F
|
O
,
"LinesNumbers"
,
opt_mesh_lines_num
,
0
.
,
"Display mesh line numbers?"
},
{
F
|
O
,
"LineWidth"
,
opt_mesh_line_width
,
0
.
2
,
{
F
|
O
,
"LineWidth"
,
opt_mesh_line_width
,
1
.
0
,
"Display width of lines (in pixels)"
},
{
F
|
O
,
"MinimumCirclePoints"
,
opt_mesh_min_circ_points
,
7
.
,
...
...
@@ -574,7 +574,7 @@ StringXNumber ViewOptions_Number[] = {
{
F
|
O
,
"Light"
,
opt_view_light
,
0
.
,
"Enable light sources?"
},
{
F
|
O
,
"LineWidth"
,
opt_view_line_width
,
0
.
2
,
{
F
|
O
,
"LineWidth"
,
opt_view_line_width
,
1
.
0
,
"Display width of lines (in pixels)"
},
{
F
,
"Max"
,
opt_view_max
,
-
1.e200
,
...
...
@@ -646,7 +646,7 @@ StringXNumber PrintOptions_Number[] = {
"Save image background in postscript output"
},
{
F
|
O
,
"EpsFontSize"
,
opt_print_eps_font_size
,
12
.
,
"Font size used for postscript printing"
},
{
F
|
O
,
"EpsLineWidthFactor"
,
opt_print_eps_line_width_factor
,
1
.
,
{
F
|
O
,
"EpsLineWidthFactor"
,
opt_print_eps_line_width_factor
,
0
.
2
,
"Width factor for lines in postscript output"
},
{
F
|
O
,
"EpsPointSizeFactor"
,
opt_print_eps_point_size_factor
,
1
.
,
"Size factor for points in postscript output"
},
...
...
This diff is collapsed.
Click to expand it.
Graphics/Axes.cpp
+
5
−
5
View file @
7e5d228e
// $Id: Axes.cpp,v 1.1
2
2001-11-
19 14:40:25
geuzaine Exp $
// $Id: Axes.cpp,v 1.1
3
2001-11-
22 11:23:52
geuzaine Exp $
#include
"Gmsh.h"
#include
"GmshUI.h"
...
...
@@ -23,8 +23,8 @@ void Draw_Axes (double s) {
b
=
.1
*
s
;
c
=
0.666
*
b
;
glLineWidth
(
0.2
);
gl2psLineWidth
(
0.2
*
CTX
.
print
.
eps_line_width_factor
);
glLineWidth
(
1.
);
gl2psLineWidth
(
1.
*
CTX
.
print
.
eps_line_width_factor
);
glColor4ubv
((
GLubyte
*
)
&
CTX
.
color
.
axes
);
glBegin
(
GL_LINES
);
...
...
@@ -117,8 +117,8 @@ void Draw_SmallAxes(void){
yx
=
l
*
CTX
.
rot
[
1
][
0
]
;
yy
=
l
*
CTX
.
rot
[
1
][
1
]
;
zx
=
l
*
CTX
.
rot
[
2
][
0
]
;
zy
=
l
*
CTX
.
rot
[
2
][
1
]
;
glLineWidth
(
0.2
);
gl2psLineWidth
(
0.2
*
CTX
.
print
.
eps_line_width_factor
);
glLineWidth
(
1.
);
gl2psLineWidth
(
1.
*
CTX
.
print
.
eps_line_width_factor
);
glColor4ubv
((
GLubyte
*
)
&
CTX
.
color
.
small_axes
);
glBegin
(
GL_LINES
);
...
...
This diff is collapsed.
Click to expand it.
Graphics/Graph2D.cpp
+
5
−
5
View file @
7e5d228e
// $Id: Graph2D.cpp,v 1.1
4
2001-11-
19 14:40:25
geuzaine Exp $
// $Id: Graph2D.cpp,v 1.1
5
2001-11-
22 11:23:52
geuzaine Exp $
#include
"Gmsh.h"
#include
"GmshUI.h"
...
...
@@ -145,8 +145,8 @@ static void Draw_Graph2D(Post_View *v,
glEnable
(
GL_LINE_STIPPLE
);
glLineStipple
(
1
,
0x1111
);
gl2psEnable
(
GL2PS_LINE_STIPPLE
);
glLineWidth
(
0.2
);
gl2psLineWidth
(
0.2
*
CTX
.
print
.
eps_line_width_factor
);
glLineWidth
(
1.
);
gl2psLineWidth
(
1.
*
CTX
.
print
.
eps_line_width_factor
);
glBegin
(
GL_LINES
);
glVertex2d
(
xtop
,
ytop
-
i
*
dy
);
glVertex2d
(
xtop
+
width
,
ytop
-
i
*
dy
);
...
...
@@ -227,8 +227,8 @@ static void Draw_Graph2D(Post_View *v,
glEnable
(
GL_LINE_STIPPLE
);
glLineStipple
(
1
,
0x1111
);
gl2psEnable
(
GL2PS_LINE_STIPPLE
);
glLineWidth
(
0.2
);
gl2psLineWidth
(
0.2
*
CTX
.
print
.
eps_line_width_factor
);
glLineWidth
(
1.
);
gl2psLineWidth
(
1.
*
CTX
.
print
.
eps_line_width_factor
);
glBegin
(
GL_LINES
);
glVertex2d
(
xtop
+
i
*
dx
,
ytop
);
glVertex2d
(
xtop
+
i
*
dx
,
ybot
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment