/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ /* * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc. * All Rights Reserved. */ /* from OpenSolaris "tt.c 1.3 05/06/02 SMI" SVr4.0 1.1 */ /* * Portions Copyright (c) 2005 Gunnar Ritter, Freiburg i. Br., Germany * * Sccsid @(#)tt.c 1.3 (gritter) 7/23/05 */ /* tt.c: subroutines for drawing horizontal lines */ # include "t..c" # include int ctype(int il, int ic) { if (instead[il]) return(0); if (fullbot[il]) return(0); il = stynum[il]; return(style[il][ic]); } int min(int a, int b) { return(arcol : pc->col); if (s==0 || (point((intptr_t)s) && *s==0)) return(1); if (vspen(s)) return(1); if ((t=barent( s))) return(t); return(0); }