diff libinterp/corefcn/gl2ps-print.cc @ 30390:a61e1a0f6024 stable

maint: style check C++ files in libinterp/ ahead of 7.1 release. * Cell.cc, __eigs__.cc, __ichol__.cc, __ilu__.cc, __magick_read__.cc, __qp__.cc, bitfcns.cc, bsxfun.cc, c-file-ptr-stream.h, ccolamd.cc, cellfun.cc, data.cc, debug.cc, defun-int.h, dlmread.cc, event-manager.cc, fftn.cc, file-io.cc, ft-text-renderer.cc, gl2ps-print.cc, graphics.cc, graphics.in.h, gzfstream.cc, gzfstream.h, jsondecode.cc, jsonencode.cc, latex-text-renderer.cc, ls-mat5.cc, lu.cc, mex.cc, oct-stream.cc, oct-strstrm.cc, ordqz.cc, pager.h, pr-output.cc, qz.cc, schur.cc, sparse-xdiv.cc, sparse-xpow.cc, sparse.cc, stack-frame.h, strfns.cc, svd.cc, symrcm.cc, symscope.h, sysdep.cc, text-engine.h, text-renderer.h, tril.cc, variables.h, xdiv.h, __glpk__.cc, __init_fltk__.cc, __init_gnuplot__.cc, __voronoi__.cc, audiodevinfo.cc, cdef-class.cc, cdef-class.h, cdef-manager.cc, cdef-manager.h, cdef-method.cc, cdef-object.cc, ov-base-diag.cc, ov-base-diag.h, ov-base-int.cc, ov-base-int.h, ov-base-mat.cc, ov-base-mat.h, ov-base-scalar.h, ov-base-sparse.cc, ov-base-sparse.h, ov-base.h, ov-bool-mat.cc, ov-cell.cc, ov-cell.h, ov-class.cc, ov-class.h, ov-dld-fcn.cc, ov-intx.h, ov-lazy-idx.cc, ov-lazy-idx.h, ov-mex-fcn.h, ov-perm.cc, ov-perm.h, ov-range.cc, ov-re-mat.cc, ov-re-mat.h, ov-str-mat.h, ov-struct.cc, ov-typeinfo.h, ov-usr-fcn.cc, ov.h, parse.h, pt-cell.cc, pt-stmt.cc, pt-tm-const.cc, pt-walk.cc: Style check C++ files in libinterp/ ahead of 7.1 release.
author Rik <rik@octave.org>
date Sun, 28 Nov 2021 21:52:08 -0800
parents f43902a87bf1
children fe6d1711feea 796f54d4ddbf
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-print.cc	Mon Nov 29 11:15:15 2021 +0900
+++ b/libinterp/corefcn/gl2ps-print.cc	Sun Nov 28 21:52:08 2021 -0800
@@ -497,7 +497,7 @@
 
         // In EPS terminal read the header line by line and insert a
         // new procedure
-        const char* fcn = "/SRX  { gsave FCT moveto rotate xshow grestore } BD\n";
+        const char *fcn = "/SRX  { gsave FCT moveto rotate xshow grestore } BD\n";
         bool header_found = ! (m_term.find ("eps") != std::string::npos
                                || m_term.find ("svg") != std::string::npos);
 
@@ -1315,7 +1315,7 @@
 
     ColumnVector vp_lim_min
       = m_xform.untransform (std::numeric_limits <float>::epsilon (),
-                           std::numeric_limits <float>::epsilon ());
+                             std::numeric_limits <float>::epsilon ());
     ColumnVector vp_lim_max = m_xform.untransform (vp(2), vp(3));
 
     if (vp_lim_min(0) > vp_lim_max(0))
@@ -1383,9 +1383,9 @@
                     else
                       jj = w - j - 1;
 
-                    a[idx]   = xcdata(ii,jj,0);
-                    a[idx+1] = xcdata(ii,jj,1);
-                    a[idx+2] = xcdata(ii,jj,2);
+                    a[idx]   = xcdata(ii, jj, 0);
+                    a[idx+1] = xcdata(ii, jj, 1);
+                    a[idx+2] = xcdata(ii, jj, 2);
                   }
               }
 
@@ -1413,9 +1413,9 @@
                     else
                       jj = w - j - 1;
 
-                    a[idx]   = xcdata(ii,jj,0);
-                    a[idx+1] = xcdata(ii,jj,1);
-                    a[idx+2] = xcdata(ii,jj,2);
+                    a[idx]   = xcdata(ii, jj, 0);
+                    a[idx+1] = xcdata(ii, jj, 1);
+                    a[idx+2] = xcdata(ii, jj, 2);
                   }
               }
 
@@ -1443,9 +1443,9 @@
                     else
                       jj = w - j - 1;
 
-                    a[idx]   = xcdata(ii,jj,0);
-                    a[idx+1] = xcdata(ii,jj,1);
-                    a[idx+2] = xcdata(ii,jj,2);
+                    a[idx]   = xcdata(ii, jj, 0);
+                    a[idx+1] = xcdata(ii, jj, 1);
+                    a[idx+2] = xcdata(ii, jj, 2);
                   }
               }
 
@@ -1473,9 +1473,9 @@
                     else
                       jj = w - j - 1;
 
-                    a[idx]   = xcdata(ii,jj,0);
-                    a[idx+1] = xcdata(ii,jj,1);
-                    a[idx+2] = xcdata(ii,jj,2);
+                    a[idx]   = xcdata(ii, jj, 0);
+                    a[idx+1] = xcdata(ii, jj, 1);
+                    a[idx+2] = xcdata(ii, jj, 2);
                   }
               }