diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index 16afa79267914ff5a9cfbe794e4a28eea4ec244c..dccd6787845961b785cd3fda1c83d99d6d0f3722 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -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" }, diff --git a/Graphics/Axes.cpp b/Graphics/Axes.cpp index 97c9a19fc11825198da5602a1871cdd9e98c8761..79fa9bd0738cc4026de6198f9173e8896c3bc8fc 100644 --- a/Graphics/Axes.cpp +++ b/Graphics/Axes.cpp @@ -1,4 +1,4 @@ -// $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); diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp index 1c592bab4aa2d353b7ac846c78c27a193015aa67..dc3f612738652c2ee2a5db0f05a2583ba22bd846 100644 --- a/Graphics/Graph2D.cpp +++ b/Graphics/Graph2D.cpp @@ -1,4 +1,4 @@ -// $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);