* BUG: Remove the Image.Resize method that cannot work. Let use the resize
  method from the gb.image component.


git-svn-id: svn://localhost/gambas/trunk@2272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2009-08-25 23:34:19 +00:00
parent e15a08d817
commit 2b6b5ff417

View file

@ -104,13 +104,13 @@ BEGIN_METHOD(CIMAGE_load, GB_STRING path)
END_METHOD END_METHOD
BEGIN_METHOD(CIMAGE_resize, GB_INTEGER width; GB_INTEGER height) /*BEGIN_METHOD(CIMAGE_resize, GB_INTEGER width; GB_INTEGER height)
check_image(THIS); check_image(THIS);
take_image(THIS, IMAGEID); take_image(THIS, IMAGEID);
IMAGEID->Resize(VARG(width), VARG(height)); IMAGEID->Resize(VARG(width), VARG(height));
END_METHOD END_METHOD*/
/***************************************************************************/ /***************************************************************************/
@ -120,7 +120,5 @@ GB_DESC CImage[] =
GB_STATIC_METHOD("Load", "Image", CIMAGE_load, "(Path)s"), GB_STATIC_METHOD("Load", "Image", CIMAGE_load, "(Path)s"),
GB_METHOD("Resize", NULL, CIMAGE_resize, "(Width)i(Height)i"),
GB_END_DECLARE GB_END_DECLARE
}; };