class Fox::FXPSBounds

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXPSBounds(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (FXPSBounds *)new FXPSBounds();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Public Instance Methods

xmax(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_xmax_get(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","xmax", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  result = (FXdouble) ((arg1)->xmax);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
xmax=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_xmax_set(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","xmax", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","xmax", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->xmax = arg2;
  return Qnil;
fail:
  return Qnil;
}
xmin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_xmin_get(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","xmin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  result = (FXdouble) ((arg1)->xmin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
xmin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_xmin_set(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","xmin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","xmin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->xmin = arg2;
  return Qnil;
fail:
  return Qnil;
}
ymax(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_ymax_get(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","ymax", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  result = (FXdouble) ((arg1)->ymax);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
ymax=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_ymax_set(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","ymax", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","ymax", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->ymax = arg2;
  return Qnil;
fail:
  return Qnil;
}
ymin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_ymin_get(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","ymin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  result = (FXdouble) ((arg1)->ymin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
ymin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPSBounds_ymin_set(int argc, VALUE *argv, VALUE self) {
  FXPSBounds *arg1 = (FXPSBounds *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPSBounds, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPSBounds *","ymin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPSBounds * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","ymin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->ymin = arg2;
  return Qnil;
fail:
  return Qnil;
}