class Fox::FXDCPrint

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXDCPrint(int argc, VALUE *argv, VALUE self) {
  FXApp *arg1 = (FXApp *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXDCPrint *result = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXDCPrint", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXApp * >(argp1);
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXDCPrint *)new_FXDCPrint(arg1);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}

Public Instance Methods

beginPage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_beginPage(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXuint arg2 = (FXuint) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","beginPage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  result = (FXbool)(arg1)->beginPage(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
Also aliased as: beginPage0
beginPage0(*args)
Alias for: beginPage
beginPrint(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_beginPrint(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPrinter *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXbool 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","beginPrint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXPrinter,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXPrinter &","beginPrint", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXPrinter &","beginPrint", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXPrinter * >(argp2);
  result = (FXbool)(arg1)->beginPrint(*arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
Also aliased as: beginPrint0
beginPrint0(*args)
Alias for: beginPrint
clearClipMask(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_clearClipMask(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","clearClipMask", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  FXDCPrint_clearClipMask(arg1);
  return Qnil;
fail:
  return Qnil;
}
clearClipRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_clearClipRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","clearClipRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  FXDCPrint_clearClipRectangle(arg1);
  return Qnil;
fail:
  return Qnil;
}
clipChildren(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_clipChildren(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXbool 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","clipChildren", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDCPrint_clipChildren(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
drawArc(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawArc(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawArc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXDCPrint_drawArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawArcs(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawArcs(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXArc *arg2 = (FXArc *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawArcs", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXArc[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXArc *pArc;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
      arg2[i] = *pArc;
    }
  }
  FXDCPrint_drawArcs(arg1,(FXArc const *)arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
drawArea(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXDCPrint_drawArea(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[11];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 11) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDrawable, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0;
        }
        if (_v) {
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            {
              _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0;
            }
            if (_v) {
              {
                _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0;
              }
              if (_v) {
                {
                  _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0;
                }
                if (_v) {
                  {
                    _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0;
                  }
                  if (_v) {
                    return _wrap_FXDCPrint_drawArea__SWIG_0(nargs, args, self);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 10) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDrawable, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0;
        }
        if (_v) {
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            {
              _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0;
            }
            if (_v) {
              {
                _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0;
              }
              if (_v) {
                {
                  _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0;
                }
                if (_v) {
                  {
                    _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0;
                  }
                  if (_v) {
                    {
                      _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0;
                    }
                    if (_v) {
                      {
                        _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0;
                      }
                      if (_v) {
                        return _wrap_FXDCPrint_drawArea__SWIG_1(nargs, args, self);
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 11, "drawArea", 
    "    void drawArea(FXDrawable const *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy)\n"
    "    void drawArea(FXDrawable const *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy, FXint dw, FXint dh)\n");
  
  return Qnil;
}
drawBitmap(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawBitmap(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawBitmap", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap const *","drawBitmap", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  FXDCPrint_drawBitmap(arg1,(FXBitmap const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
drawEllipse(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawEllipse(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawEllipse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDCPrint_drawEllipse(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
drawFocusRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawFocusRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawFocusRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDCPrint_drawFocusRectangle(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
drawHashBox(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawHashBox(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 = (FXint) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawHashBox", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  if (argc > 4) {
    arg6 = NUM2INT(argv[4]);
  }
  FXDCPrint_drawHashBox(arg1,arg2,arg3,arg4,arg5,arg6);
  return Qnil;
fail:
  return Qnil;
}
drawIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawIcon(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon const *","drawIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  FXDCPrint_drawIcon(arg1,(FXIcon const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
drawIconShaded(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawIconShaded(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawIconShaded", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon const *","drawIconShaded", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  FXDCPrint_drawIconShaded(arg1,(FXIcon const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
drawIconSunken(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawIconSunken(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawIconSunken", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon const *","drawIconSunken", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  FXDCPrint_drawIconSunken(arg1,(FXIcon const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
drawImage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawImage(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXImage *arg2 = (FXImage *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawImage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage const *","drawImage", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXImage * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  FXDCPrint_drawImage(arg1,(FXImage const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
drawImageText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawImageText(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXchar *arg4 = (FXchar *) 0 ;
  FXuint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawImageText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  {
    Check_Type(argv[2], T_STRING);
    arg4 = StringValuePtr(argv[2]);
    arg5 = RSTRING_LEN(argv[2]);
  }
  FXDCPrint_drawImageText(arg1,arg2,arg3,(char const *)arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
drawLine(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawLine(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawLine", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDCPrint_drawLine(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
drawLineSegments(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawLineSegments(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXSegment *arg2 = (FXSegment *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawLineSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXSegment[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXSegment *pSeg;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXSegment, pSeg);
      arg2[i] = *pSeg;
    }
  }
  FXDCPrint_drawLineSegments(arg1,(FXSegment const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawLines(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawLines(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawLines", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_drawLines(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawLinesRel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawLinesRel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawLinesRel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_drawLinesRel(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawPoint(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawPoint(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawPoint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXDCPrint_drawPoint(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
drawPoints(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawPoints(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawPoints", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_drawPoints(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawPointsRel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawPointsRel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawPointsRel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_drawPointsRel(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDCPrint_drawRectangle(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
drawRectangles(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawRectangles(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXRectangle *arg2 = (FXRectangle *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawRectangles", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXRectangle[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXRectangle *pRect;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
      arg2[i] = *pRect;
    }
  }
  FXDCPrint_drawRectangles(arg1,(FXRectangle const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
drawRoundRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawRoundRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawRoundRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXDCPrint_drawRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_drawText(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXchar *arg4 = (FXchar *) 0 ;
  FXuint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","drawText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  {
    Check_Type(argv[2], T_STRING);
    arg4 = StringValuePtr(argv[2]);
    arg5 = RSTRING_LEN(argv[2]);
  }
  FXDCPrint_drawText(arg1,arg2,arg3,(char const *)arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
endPage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_endPage(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","endPage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  result = (FXbool)(arg1)->endPage();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
endPrint(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_endPrint(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","endPrint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  result = (FXbool)(arg1)->endPrint();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
fillArc(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillArc(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillArc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXDCPrint_fillArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
fillArcs(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillArcs(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXArc *arg2 = (FXArc *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillArcs", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXArc[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXArc *pArc;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
      arg2[i] = *pArc;
    }
  }
  FXDCPrint_fillArcs(arg1,(FXArc const *)arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
fillChord(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillChord(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillChord", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXDCPrint_fillChord(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
fillChords(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillChords(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXArc *arg2 = (FXArc *) 0 ;
  FXuint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillChords", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXArc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXArc const *","fillChords", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXArc * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  FXDCPrint_fillChords(arg1,(FXArc const *)arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
fillComplexPolygon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillComplexPolygon(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillComplexPolygon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillComplexPolygon(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillComplexPolygonRel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillComplexPolygonRel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillComplexPolygonRel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillComplexPolygonRel(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillConcavePolygon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillConcavePolygon(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillConcavePolygon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillConcavePolygon(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillConcavePolygonRel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillConcavePolygonRel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillConcavePolygonRel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillConcavePolygonRel(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillPolygon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillPolygon(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillPolygon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillPolygon(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillPolygonRel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillPolygonRel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXPoint *arg2 = (FXPoint *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillPolygonRel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXPoint[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXPoint *pPoint;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
      arg2[i] = *pPoint;
    }
  }
  FXDCPrint_fillPolygonRel(arg1,(FXPoint const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDCPrint_fillRectangle(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
fillRectangles(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillRectangles(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXRectangle *arg2 = (FXRectangle *) 0 ;
  FXuint arg3 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillRectangles", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  {
    Check_Type(argv[0], T_ARRAY);
    arg2 = new FXRectangle[RARRAY_LEN(argv[0])];
    arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
    for (FXuint i = 0; i < arg3; i++) {
      FXRectangle *pRect;
      Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
      arg2[i] = *pRect;
    }
  }
  FXDCPrint_fillRectangles(arg1,(FXRectangle const *)arg2,arg3);
  {
    delete [] arg2;
  }
  return Qnil;
fail:
  {
    delete [] arg2;
  }
  return Qnil;
}
fillRoundRectangle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_fillRoundRectangle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","fillRoundRectangle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXDCPrint_fillRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
readPixel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_readPixel(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","readPixel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (FXColor)FXDCPrint_readPixel(arg1,arg2,arg3);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
setBackground(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setBackground(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXColor 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setBackground", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXDCPrint_setBackground(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setClipMask(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setClipMask(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  FXint arg3 = (FXint) 0 ;
  FXint arg4 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setClipMask", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setClipMask", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  if (argc > 1) {
    arg3 = NUM2INT(argv[1]);
  }
  if (argc > 2) {
    arg4 = NUM2INT(argv[2]);
  }
  FXDCPrint_setClipMask(arg1,arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}
setClipRectangle(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXDCPrint_setClipRectangle(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[6];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 6) 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_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRectangle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXDCPrint_setClipRectangle__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
      }
      if (_v) {
        {
          _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0;
        }
        if (_v) {
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            {
              _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0;
            }
            if (_v) {
              return _wrap_FXDCPrint_setClipRectangle__SWIG_0(nargs, args, self);
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 6, "setClipRectangle", 
    "    void setClipRectangle(FXint x, FXint y, FXint w, FXint h)\n"
    "    void setClipRectangle(FXRectangle const &rectangle)\n");
  
  return Qnil;
}
setClipRegion(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setClipRegion(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXRegion *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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setClipRegion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setClipRegion", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setClipRegion", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXDCPrint_setClipRegion(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
setContentRange(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setContentRange(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setContentRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  result = (FXbool)(arg1)->setContentRange(arg2,arg3,arg4,arg5);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
setDashes(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setDashes(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXuint arg2 ;
  FXchar *arg3 = (FXchar *) 0 ;
  FXuint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setDashes", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  {
    Check_Type(argv[1], T_ARRAY);
    arg3 = new FXchar[RARRAY_LEN(argv[1])];
    arg4 = static_cast<FXuint>( RARRAY_LEN(argv[1]) );
    for (FXuint i = 0; i < arg4; i++) {
      arg3[i] = NUM2INT(rb_ary_entry(argv[1], i));
    }
  }
  FXDCPrint_setDashes(arg1,arg2,(char const *)arg3,arg4);
  {
    delete [] arg3;
  }
  return Qnil;
fail:
  {
    delete [] arg3;
  }
  return Qnil;
}
setFillRule(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setFillRule(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXFillRule arg2 = (FXFillRule) RULE_EVEN_ODD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setFillRule", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXFillRule","setFillRule", 2, argv[0] ));
    } 
    arg2 = static_cast< FXFillRule >(val2);
  }
  FXDCPrint_setFillRule(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFillStyle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setFillStyle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXFillStyle arg2 = (FXFillStyle) FILL_SOLID ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setFillStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXFillStyle","setFillStyle", 2, argv[0] ));
    } 
    arg2 = static_cast< FXFillStyle >(val2);
  }
  FXDCPrint_setFillStyle(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFont(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setFont(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  FXDCPrint_setFont(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setForeground(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setForeground(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXColor 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_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setForeground", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXDCPrint_setForeground(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFunction(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setFunction(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXFunction arg2 = (FXFunction) BLT_SRC ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setFunction", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXFunction","setFunction", 2, argv[0] ));
    } 
    arg2 = static_cast< FXFunction >(val2);
  }
  FXDCPrint_setFunction(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setLineCap(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setLineCap(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXCapStyle arg2 = (FXCapStyle) CAP_BUTT ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setLineCap", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXCapStyle","setLineCap", 2, argv[0] ));
    } 
    arg2 = static_cast< FXCapStyle >(val2);
  }
  FXDCPrint_setLineCap(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setLineJoin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setLineJoin(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXJoinStyle arg2 = (FXJoinStyle) JOIN_MITER ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setLineJoin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXJoinStyle","setLineJoin", 2, argv[0] ));
    } 
    arg2 = static_cast< FXJoinStyle >(val2);
  }
  FXDCPrint_setLineJoin(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setLineStyle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setLineStyle(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXLineStyle arg2 = (FXLineStyle) LINE_SOLID ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setLineStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    ecode2 = SWIG_AsVal_int(argv[0], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXLineStyle","setLineStyle", 2, argv[0] ));
    } 
    arg2 = static_cast< FXLineStyle >(val2);
  }
  FXDCPrint_setLineStyle(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setLineWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setLineWidth(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXuint arg2 = (FXuint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setLineWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  FXDCPrint_setLineWidth(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setStipple(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXDCPrint_setStipple(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[5];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 5) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if ((argc >= 2) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);
        }
        {
          _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0;
        }
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);
          }
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  if ((argc >= 2) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);
        }
        {
          _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0;
        }
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);
          }
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 5, "setStipple", 
    "    void setStipple(FXBitmap *bitmap, FXint dx, FXint dy)\n"
    "    void setStipple(FXStipplePattern pat, FXint dx, FXint dy)\n");
  
  return Qnil;
}
setTile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDCPrint_setTile(int argc, VALUE *argv, VALUE self) {
  FXDCPrint *arg1 = (FXDCPrint *) 0 ;
  FXImage *arg2 = (FXImage *) 0 ;
  FXint arg3 = (FXint) 0 ;
  FXint arg4 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDCPrint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDCPrint *","setTile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDCPrint * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","setTile", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXImage * >(argp2);
  if (argc > 1) {
    arg3 = NUM2INT(argv[1]);
  }
  if (argc > 2) {
    arg4 = NUM2INT(argv[2]);
  }
  FXDCPrint_setTile(arg1,arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}