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

*** empty log message ***

parent 0e9b0913
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ public :
// print options
struct{
int format;
int eps_quality;
int eps_quality, eps_background;
int jpeg_quality;
int gif_dither, gif_sort, gif_interlace, gif_transparent;
char *font;
......
......@@ -489,6 +489,8 @@ StringXNumber PrintOptions_Number[] = {
"Print format" },
{ F|O, "EpsQuality" , opt_print_eps_quality , 1 ,
"Postscript quality (1=simple sort, 2=recursive sort)" },
{ F|O, "EpsBackground" , opt_print_eps_background , 1 ,
"Save image background in postscript output" },
{ F|O, "JpegQuality" , opt_print_jpeg_quality , 85 ,
"JPEG quality (between 1 and 100)" },
{ F|O, "GifDither" , opt_print_gif_dither , 0 ,
......
// $Id: Options.cpp,v 1.25 2001-05-25 11:03:38 geuzaine Exp $
// $Id: Options.cpp,v 1.26 2001-06-06 08:47:48 geuzaine Exp $
#include "Gmsh.h"
#include "GmshUI.h"
......@@ -1943,6 +1943,11 @@ double opt_print_eps_quality(OPT_ARGS_NUM){
CTX.print.eps_quality = (int)val;
return CTX.print.eps_quality;
}
double opt_print_eps_background(OPT_ARGS_NUM){
if(action & GMSH_SET)
CTX.print.eps_background = (int)val;
return CTX.print.eps_background;
}
double opt_print_jpeg_quality(OPT_ARGS_NUM){
if(action & GMSH_SET)
CTX.print.jpeg_quality = (int)val;
......
......@@ -227,6 +227,7 @@ double opt_view_arrow_type(OPT_ARGS_NUM);
double opt_view_arrow_location(OPT_ARGS_NUM);
double opt_print_format(OPT_ARGS_NUM);
double opt_print_eps_quality(OPT_ARGS_NUM);
double opt_print_eps_background(OPT_ARGS_NUM);
double opt_print_jpeg_quality(OPT_ARGS_NUM);
double opt_print_gif_dither(OPT_ARGS_NUM);
double opt_print_gif_sort(OPT_ARGS_NUM);
......
// $Id: CreateFile.cpp,v 1.18 2001-05-22 08:30:26 geuzaine Exp $
// $Id: CreateFile.cpp,v 1.19 2001-06-06 08:47:48 geuzaine Exp $
#include "Gmsh.h"
#include "GmshUI.h"
......@@ -206,7 +206,8 @@ void CreateOutputFile (char *name, int format) {
size3d += 2048*2048 ;
gl2psBeginPage(CTX.base_filename, "Gmsh",
(CTX.print.eps_quality == 1 ? GL2PS_SIMPLE_SORT : GL2PS_BSP_SORT),
GL2PS_SIMPLE_LINE_OFFSET | GL2PS_DRAW_BACKGROUND,
GL2PS_SIMPLE_LINE_OFFSET |
(CTX.print.eps_background ? GL2PS_DRAW_BACKGROUND : 0),
GL_RGBA, 0, NULL, size3d, fp);
CTX.stream = TO_FILE ;
FillBuffer();
......
$Id: BUGS,v 1.2 2001-05-28 07:33:06 geuzaine Exp $
$Id: BUGS,v 1.3 2001-06-06 08:47:48 geuzaine Exp $
* Splines are bugged since version 1. Don't use them.
* Si la coherence des surfaces n'est pas recouvree en une etape, et
qu'on fait une seconde passe qui marche, les volumes ne sont pas
......
This diff is collapsed.
......@@ -46,7 +46,7 @@ cat << EOM
page requests since<br>1998/05/24<p>
ENDSCRIPT--->
<!---BEGINDATE$Date: 2001-06-05 09:52:06 $ENDDATE--->
<!---BEGINDATE$Date: 2001-06-06 08:47:48 $ENDDATE--->
Copyright &copy; 1998-2001<br>
Jean-François Remacle and
......@@ -392,10 +392,8 @@ Some pictures made with Gmsh:
<li> 3D mesh of an
<A href="/gmsh/gallery/bigelec4.gif">electrical component</A>
(courtesy S.K. Choi).
<li> First example in the tutorial:
<A href="/gmsh/gallery/ex01-2.gif">pict1</A>,
<A href="/gmsh/gallery/ex01-3.gif">pict2</A>,
<A href="/gmsh/gallery/ex01-4.gif">pict3</A>.
<li> Part of a <A href="/gmsh/gallery/shoulder.gif">shoulder bone</a>
(Javad Fatemi).
<li> A mechanical part in the demo files:
<A href="/gmsh/gallery/ex09-0.gif">pict1</A>,
<A href="/gmsh/gallery/ex09-1.gif">pict2</A>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment