class Fox::FXArc
Arc
Public Class Methods
Source
SWIGINTERN VALUE
_wrap_new_FXArc(int argc, VALUE *argv, VALUE self) {
FXshort arg1 = (FXshort) 0 ;
FXshort arg2 = (FXshort) 0 ;
FXshort arg3 = (FXshort) 0 ;
FXshort arg4 = (FXshort) 0 ;
FXshort arg5 = (FXshort) 0 ;
FXshort arg6 = (FXshort) 0 ;
FXArc *result = 0 ;
if ((argc < 0) || (argc > 6)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
if (argc > 0) {
arg1 = NUM2INT(argv[0]);
}
if (argc > 1) {
arg2 = NUM2INT(argv[1]);
}
if (argc > 2) {
arg3 = NUM2INT(argv[2]);
}
if (argc > 3) {
arg4 = NUM2INT(argv[3]);
}
if (argc > 4) {
arg5 = NUM2INT(argv[4]);
}
if (argc > 5) {
arg6 = NUM2INT(argv[5]);
}
result = (FXArc *)new_FXArc(arg1,arg2,arg3,arg4,arg5,arg6);
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
Public Instance Methods
Source
SWIGINTERN VALUE
_wrap_FXArc_a_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","a", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->a);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
Start of the arc, relative to the three-o’clock position from the center, in units of degrees * 64 [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_a_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","a", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->a = arg2;
return Qnil;
fail:
return Qnil;
}
Start of the arc, relative to the three-o’clock position from the center, in units of degrees * 64 [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_b_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","b", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->b);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
Path and extent of the arc, relative to the three-o’clock position from the center, in units of degrees * 64 [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_b_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","b", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->b = arg2;
return Qnil;
fail:
return Qnil;
}
Path and extent of the arc, relative to the three-o’clock position from the center, in units of degrees * 64 [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_h_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","h", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->h);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
Height [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_h_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","h", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->h = arg2;
return Qnil;
fail:
return Qnil;
}
Height [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_w_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","w", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->w);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
Width [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_w_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","w", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->w = arg2;
return Qnil;
fail:
return Qnil;
}
Width [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_x_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","x", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->x);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
x-coordinate of center point [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_x_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","x", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->x = arg2;
return Qnil;
fail:
return Qnil;
}
x-coordinate of center point [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_y_get(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXshort 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","y", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
result = (FXshort) ((arg1)->y);
vresult = SWIG_From_short(static_cast< short >(result));
return vresult;
fail:
return Qnil;
}
y-coordinate of center point [Integer]
Source
SWIGINTERN VALUE
_wrap_FXArc_y_set(int argc, VALUE *argv, VALUE self) {
FXArc *arg1 = (FXArc *) 0 ;
FXshort arg2 ;
void *argp1 = 0 ;
int res1 = 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_FXArc, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArc *","y", 1, self ));
}
arg1 = reinterpret_cast< FXArc * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->y = arg2;
return Qnil;
fail:
return Qnil;
}
y-coordinate of center point [Integer]