mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
double Fl_Text_Display::x_to_col(double y) const
{
  if (!mColumnScale) {
    mColumnScale = string_width("Mitg", 4, 'A') / 4.0;
  }
  return (y/mColumnScale)+0.5;
}
/*
 Convert an x pixel position into a column number.
 */
Convert an x pixel position into a column number.
Convert an x pixel position into a column number .
double Fl_Text_Display::x_to_col(double y) const
{
  if (!mColumnScale) {
    mColumnScale = string_width("Mitg", 4, 'A') / 4.0;
  }
  return (y/mColumnScale)+0.5;
}
double Fl_Text_Display :: x_to_col ( double y ) const { if ( ! mColumnScale ) { mColumnScale = string_width ( " " , 4 , ' ' ) / 4.0 ; } return ( y / mColumnScale ) + 0.5 ; }
Convert an x pixel position into a column number.
Convert an x pixel position into a column number .