Home | History | Annotate | Download | only in src

Lines Matching full:bounds

17 /* Clip the dst to ensure it does not step outside of bounds */
18 static void rect_clip(VTermRect *dst, VTermRect *bounds)
20 if(dst->start_row < bounds->start_row) dst->start_row = bounds->start_row;
21 if(dst->start_col < bounds->start_col) dst->start_col = bounds->start_col;
22 if(dst->end_row > bounds->end_row) dst->end_row = bounds->end_row;
23 if(dst->end_col > bounds->end_col) dst->end_col = bounds->end_col;