Skip to content
Snippets Groups Projects
Commit 7e5d228e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

revert default linewidth to 1.0

parent fa118519
No related branches found
No related tags found
No related merge requests found
......@@ -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" },
......
// $Id: Axes.cpp,v 1.12 2001-11-19 14:40:25 geuzaine Exp $
// $Id: Axes.cpp,v 1.13 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);
......
// $Id: Graph2D.cpp,v 1.14 2001-11-19 14:40:25 geuzaine Exp $
// $Id: Graph2D.cpp,v 1.15 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment