Rotate and enlarge some images (#262)
authorAlpar Juttner <alpar@cs.elte.hu>
Wed, 15 Apr 2009 07:05:32 +0100
changeset 634114920bd21ef
parent 633 7c12061bd271
child 635 58f70400e139
Rotate and enlarge some images (#262)
doc/Makefile.am
doc/images/bipartite_partitions.eps
doc/images/connected_components.eps
doc/images/edge_biconnected_components.eps
doc/images/node_biconnected_components.eps
doc/images/strongly_connected_components.eps
     1.1 --- a/doc/Makefile.am	Wed Apr 15 04:26:13 2009 +0200
     1.2 +++ b/doc/Makefile.am	Wed Apr 15 07:05:32 2009 +0100
     1.3 @@ -14,21 +14,24 @@
     1.4  	doc/CMakeLists.txt
     1.5  
     1.6  DOC_EPS_IMAGES18 = \
     1.7 +	grid_graph.eps \
     1.8 +	nodeshape_0.eps \
     1.9 +	nodeshape_1.eps \
    1.10 +	nodeshape_2.eps \
    1.11 +	nodeshape_3.eps \
    1.12 +	nodeshape_4.eps
    1.13 +
    1.14 +DOC_EPS_IMAGES27 = \
    1.15  	bipartite_matching.eps \
    1.16  	bipartite_partitions.eps \
    1.17  	connected_components.eps \
    1.18  	edge_biconnected_components.eps \
    1.19 -	grid_graph.eps \
    1.20  	node_biconnected_components.eps \
    1.21 -	nodeshape_0.eps \
    1.22 -	nodeshape_1.eps \
    1.23 -	nodeshape_2.eps \
    1.24 -	nodeshape_3.eps \
    1.25 -	nodeshape_4.eps \
    1.26  	strongly_connected_components.eps
    1.27  
    1.28  DOC_EPS_IMAGES = \
    1.29 -	$(DOC_EPS_IMAGES18)
    1.30 +	$(DOC_EPS_IMAGES18) \
    1.31 +	$(DOC_EPS_IMAGES27)
    1.32  
    1.33  DOC_PNG_IMAGES = \
    1.34  	$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
    1.35 @@ -51,6 +54,17 @@
    1.36  	  exit 1; \
    1.37  	fi
    1.38  
    1.39 +$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
    1.40 +	-mkdir doc/gen-images
    1.41 +	if test ${gs_found} = yes; then \
    1.42 +	  $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
    1.43 +	else \
    1.44 +	  echo; \
    1.45 +	  echo "Ghostscript not found."; \
    1.46 +	  echo; \
    1.47 +	  exit 1; \
    1.48 +	fi
    1.49 +
    1.50  html-local: $(DOC_PNG_IMAGES)
    1.51  	if test ${doxygen_found} = yes; then \
    1.52  	  cd doc; \
     2.1 --- a/doc/images/bipartite_partitions.eps	Wed Apr 15 04:26:13 2009 +0200
     2.2 +++ b/doc/images/bipartite_partitions.eps	Wed Apr 15 07:05:32 2009 +0100
     2.3 @@ -1,8 +1,7 @@
     2.4  %!PS-Adobe-2.0 EPSF-2.0
     2.5  %%Creator: LEMON, graphToEps()
     2.6  %%CreationDate: Tue Nov 15 16:51:43 2005
     2.7 -%%BoundingBox: 0 0 596 842
     2.8 -%%DocumentPaperSizes: a4
     2.9 +%%BoundingBox: 0 0 842 596
    2.10  %%EndComments
    2.11  /lb { setlinewidth setrgbcolor newpath moveto
    2.12        4 2 roll 1 index 1 index curveto stroke } bind def
    2.13 @@ -46,6 +45,8 @@
    2.14           neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    2.15  
    2.16  gsave
    2.17 +90 rotate
    2.18 +0 -842 translate
    2.19  71.6378 15 translate
    2.20  0.389093 dup scale
    2.21  90 rotate
     3.1 --- a/doc/images/connected_components.eps	Wed Apr 15 04:26:13 2009 +0200
     3.2 +++ b/doc/images/connected_components.eps	Wed Apr 15 07:05:32 2009 +0100
     3.3 @@ -1,8 +1,7 @@
     3.4  %!PS-Adobe-2.0 EPSF-2.0
     3.5  %%Creator: LEMON, graphToEps()
     3.6  %%CreationDate: Fri Nov  4 13:47:12 2005
     3.7 -%%BoundingBox: 0 0 596 842
     3.8 -%%DocumentPaperSizes: a4
     3.9 +%%BoundingBox: 0 0 842 596
    3.10  %%EndComments
    3.11  /lb { setlinewidth setrgbcolor newpath moveto
    3.12        4 2 roll 1 index 1 index curveto stroke } bind def
    3.13 @@ -46,6 +45,8 @@
    3.14           neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    3.15  
    3.16  gsave
    3.17 +90 rotate
    3.18 +0 -842 translate
    3.19  71.0944 15 translate
    3.20  0.434694 dup scale
    3.21  90 rotate
     4.1 --- a/doc/images/edge_biconnected_components.eps	Wed Apr 15 04:26:13 2009 +0200
     4.2 +++ b/doc/images/edge_biconnected_components.eps	Wed Apr 15 07:05:32 2009 +0100
     4.3 @@ -1,8 +1,7 @@
     4.4  %!PS-Adobe-2.0 EPSF-2.0
     4.5  %%Creator: LEMON, graphToEps()
     4.6  %%CreationDate: Fri Nov  4 13:47:12 2005
     4.7 -%%BoundingBox: 0 0 596 842
     4.8 -%%DocumentPaperSizes: a4
     4.9 +%%BoundingBox: 0 0 842 596
    4.10  %%EndComments
    4.11  /lb { setlinewidth setrgbcolor newpath moveto
    4.12        4 2 roll 1 index 1 index curveto stroke } bind def
    4.13 @@ -46,6 +45,8 @@
    4.14           neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    4.15  
    4.16  gsave
    4.17 +90 rotate
    4.18 +0 -842 translate
    4.19  71.0944 15 translate
    4.20  0.434694 dup scale
    4.21  90 rotate
     5.1 --- a/doc/images/node_biconnected_components.eps	Wed Apr 15 04:26:13 2009 +0200
     5.2 +++ b/doc/images/node_biconnected_components.eps	Wed Apr 15 07:05:32 2009 +0100
     5.3 @@ -1,8 +1,7 @@
     5.4  %!PS-Adobe-2.0 EPSF-2.0
     5.5  %%Creator: LEMON, graphToEps()
     5.6  %%CreationDate: Fri Nov  4 13:47:12 2005
     5.7 -%%BoundingBox: 0 0 596 842
     5.8 -%%DocumentPaperSizes: a4
     5.9 +%%BoundingBox: 0 0 842 596
    5.10  %%EndComments
    5.11  /lb { setlinewidth setrgbcolor newpath moveto
    5.12        4 2 roll 1 index 1 index curveto stroke } bind def
    5.13 @@ -46,6 +45,8 @@
    5.14           neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    5.15  
    5.16  gsave
    5.17 +90 rotate
    5.18 +0 -842 translate
    5.19  71.0944 15 translate
    5.20  0.434694 dup scale
    5.21  90 rotate
     6.1 --- a/doc/images/strongly_connected_components.eps	Wed Apr 15 04:26:13 2009 +0200
     6.2 +++ b/doc/images/strongly_connected_components.eps	Wed Apr 15 07:05:32 2009 +0100
     6.3 @@ -1,8 +1,7 @@
     6.4  %!PS-Adobe-2.0 EPSF-2.0
     6.5  %%Creator: LEMON, graphToEps()
     6.6  %%CreationDate: Fri Nov  4 13:47:12 2005
     6.7 -%%BoundingBox: 0 0 596 842
     6.8 -%%DocumentPaperSizes: a4
     6.9 +%%BoundingBox: 0 0 842 596
    6.10  %%EndComments
    6.11  /lb { setlinewidth setrgbcolor newpath moveto
    6.12        4 2 roll 1 index 1 index curveto stroke } bind def
    6.13 @@ -46,6 +45,8 @@
    6.14           neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    6.15  
    6.16  gsave
    6.17 +90 rotate
    6.18 +0 -842 translate
    6.19  77.1122 15 translate
    6.20  0.585745 dup scale
    6.21  90 rotate