class Fox::FXExtentd

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE _wrap_new_FXExtentd(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[4];
  int ii;
  
  argc = nargs;
  if (argc > 4) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 0) {
    return _wrap_new_FXExtentd__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXExtentd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXExtentd__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVec2d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec2d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_FXExtentd__SWIG_2(nargs, args, self);
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_double(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_FXExtentd__SWIG_3(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXExtentd.new", 
    "    FXExtentd.new()\n"
    "    FXExtentd.new(FXExtentd const &ext)\n"
    "    FXExtentd.new(FXVec2d const &lo, FXVec2d const &hi)\n"
    "    FXExtentd.new(FXdouble xlo, FXdouble xhi, FXdouble ylo, FXdouble yhi)\n");
  
  return Qnil;
}

Public Instance Methods

[](i) → FXVec2d click to toggle source

Element accessor/slicing.

SWIGINTERN VALUE
_wrap_FXExtentd___getitem__(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d *result = 0 ;
  VALUE vresult = Qnil;
  
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","__getitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXVec2d *) &FXExtentd___getitem__((FXExtentd const *)arg1,arg2);
  vresult = FXRbGetRubyObj(result, "FXVec2d *");
  return vresult;
fail:
  return Qnil;
}
[]=(i, v) → FXVec2d click to toggle source

Element setter/slicing.

SWIGINTERN VALUE
_wrap_FXExtentd___setitem__(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXint arg2 ;
  FXVec2d *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXVec2d *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","__setitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXVec2d,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXVec2d &","__setitem__", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec2d &","__setitem__", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXVec2d * >(argp3);
  result = (FXVec2d *) &FXExtentd___setitem__(arg1,arg2,*arg3);
  vresult = FXRbGetRubyObj(result, "FXVec2d *");
  return vresult;
fail:
  return Qnil;
}
center(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_center(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","center", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = ((FXExtentd const *)arg1)->center();
  vresult = SWIG_NewPointerObj((new FXVec2d(static_cast< const FXVec2d& >(result))), SWIGTYPE_p_FXVec2d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
contains(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_contains(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXdouble arg2 ;
  FXdouble arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","contains", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","contains", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  result = (bool)((FXExtentd const *)arg1)->contains(arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
contains?(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXExtentd_containsq___(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXExtentd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec2d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXExtentd_containsq_____SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXExtentd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXExtentd, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXExtentd_containsq_____SWIG_1(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "FXExtentd.contains?", 
    "    bool FXExtentd.contains?(FXVec2d const &p)\n"
    "    bool FXExtentd.contains?(FXExtentd const &ext)\n");
  
  return Qnil;
}
corner(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_corner(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d result;
  VALUE vresult = Qnil;
  
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","corner", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = ((FXExtentd const *)arg1)->corner(arg2);
  vresult = SWIG_NewPointerObj((new FXVec2d(static_cast< const FXVec2d& >(result))), SWIGTYPE_p_FXVec2d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
diagonal(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_diagonal(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","diagonal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = ((FXExtentd const *)arg1)->diagonal();
  vresult = SWIG_NewPointerObj((new FXVec2d(static_cast< const FXVec2d& >(result))), SWIGTYPE_p_FXVec2d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
diameter(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_diameter(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","diameter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->diameter();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
empty? → bool click to toggle source

Check if FXExtentd is empty.

SWIGINTERN VALUE
_wrap_FXExtentd_emptyq___(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","empty", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (bool)((FXExtentd const *)arg1)->empty();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
height(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_height(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","height", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->height();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
include(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_include(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXdouble arg2 ;
  FXdouble arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  FXExtentd *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","include", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","include", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","include", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  result = (FXExtentd *) &(arg1)->include(arg2,arg3);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXExtentd, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
include!(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXExtentd_includeN___(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXExtentd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec2d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXExtentd_includeN_____SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXExtentd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXExtentd, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXExtentd_includeN_____SWIG_1(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "FXExtentd.include!", 
    "    FXExtentd FXExtentd.include!(FXVec2d const &v)\n"
    "    FXExtentd & FXExtentd.include!(FXExtentd const &ext)\n");
  
  return Qnil;
}
intersect_with(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_intersect_with(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXExtentd *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXExtentd result;
  VALUE vresult = Qnil;
  
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","intersect_with", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXExtentd,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXExtentd const &","intersect_with", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXExtentd const &","intersect_with", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXExtentd * >(argp2);
  result = FXExtentd_intersect_with((FXExtentd const *)arg1,(FXExtentd const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXExtentd(static_cast< const FXExtentd& >(result))), SWIGTYPE_p_FXExtentd, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
longest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_longest(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","longest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->longest();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
lower(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_lower_get(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d *result = 0 ;
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXVec2d *) & ((arg1)->lower);
  vresult = FXRbGetRubyObj(result, "FXVec2d *");
  return vresult;
fail:
  return Qnil;
}
lower=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_lower_set(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXVec2d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXVec2d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXVec2d const &","lower", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec2d const &","lower", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXVec2d * >(argp2);
  if (arg1) (arg1)->lower = *arg2;
  return Qnil;
fail:
  return Qnil;
}
overlap?(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_overlapq___(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXExtentd *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","overlap", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXExtentd,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXExtentd const &","overlap", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXExtentd const &","overlap", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXExtentd * >(argp2);
  result = (bool)FXExtentd_overlap((FXExtentd const *)arg1,(FXExtentd const &)*arg2);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
radius(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_radius(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","radius", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->radius();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
shortest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_shortest(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","shortest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->shortest();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
unite_with(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_unite_with(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXExtentd *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXExtentd result;
  VALUE vresult = Qnil;
  
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","unite_with", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXExtentd,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXExtentd const &","unite_with", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXExtentd const &","unite_with", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXExtentd * >(argp2);
  result = FXExtentd_unite_with((FXExtentd const *)arg1,(FXExtentd const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXExtentd(static_cast< const FXExtentd& >(result))), SWIGTYPE_p_FXExtentd, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
upper(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_upper_get(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec2d *result = 0 ;
  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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXVec2d *) & ((arg1)->upper);
  vresult = FXRbGetRubyObj(result, "FXVec2d *");
  return vresult;
fail:
  return Qnil;
}
upper=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_upper_set(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 0 ;
  FXVec2d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXVec2d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXVec2d const &","upper", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec2d const &","upper", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXVec2d * >(argp2);
  if (arg1) (arg1)->upper = *arg2;
  return Qnil;
fail:
  return Qnil;
}
width(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXExtentd_width(int argc, VALUE *argv, VALUE self) {
  FXExtentd *arg1 = (FXExtentd *) 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_FXExtentd, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXExtentd const *","width", 1, self )); 
  }
  arg1 = reinterpret_cast< FXExtentd * >(argp1);
  result = (FXdouble)((FXExtentd const *)arg1)->width();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}