Lines Matching refs:top
90 clips[n].c.top = 0;
98 clips[n].c.top = 0;
103 if (win->top < 0) {
104 /* top */
106 clips[n].c.top = 0;
108 clips[n].c.height = -win->top;
111 if (win->top + win->height > sheight) {
114 clips[n].c.top = sheight - win->top;
116 clips[n].c.height = win->height - clips[n].c.top;
137 win->width, win->height, win->left, win->top, dx);
149 clips[i].c.left, clips[i].c.top);
192 if (line > clips[clip].c.top+clips[clip].c.height-1)
194 if (line < clips[clip].c.top) {
195 if (maxline > clips[clip].c.top-1)
196 maxline = clips[clip].c.top-1;
199 if (maxline > clips[clip].c.top+clips[clip].c.height-1)
200 maxline = clips[clip].c.top+clips[clip].c.height-1;