mod/maxgui.mod/fltkmaxgui.mod/src/fl_rect.cxx
static int clip_x (int x) {

  int kmin = -fl_line_width_;
  int kmax = SHRT_MAX - fl_line_width_;

  if (x < kmin)
    x = kmin;
  else if (x > kmax)
    x = kmax;
  return x;
}
/*
  clip_x() returns a coordinate value clipped to the 16-bit coordinate
  space (see above). This can be used to draw horizontal and vertical
  lines that can be handled by X11. Each single coordinate value can
  be clipped individually, and the result can be used directly, e.g.
  in fl_xyline() and fl_yxline(). Note that this can't be used for
  arbitrary lines (not horizontal or vertical).
*/
clip_x() returns a coordinate value clipped to the 16-bit coordinate
space . This can be used to draw horizontal and vertical
lines that can be handled by X11. Each single coordinate value can
be clipped individually, and the result can be used directly, e.g.
clip_x () returns a coordinate value clipped to the 16 - bit coordinate space . This can be used to draw horizontal and vertical lines that can be handled by X11 . Each single coordinate value can be clipped individually and the result can be used directly e . g .
static int clip_x (int x) {
  int kmin = -fl_line_width_;
  int kmax = SHRT_MAX - fl_line_width_;
  if (x < kmin)
    x = kmin;
  else if (x > kmax)
    x = kmax;
  return x;
}
static int clip_x ( int x ) { int kmin = - fl_line_width_ ; int kmax = SHRT_MAX - fl_line_width_ ; if ( x < kmin ) x = kmin ; else if ( x > kmax ) x = kmax ; return x ; }
clip_x() returns a coordinate value clipped to the 16-bit coordinate
space (see above).
clip_x () returns a coordinate value clipped to the 16 - bit coordinate space ( see above ) .