or : evas_object_image_file_set 1 time and then when you rezise : evas_object_resize
2010/5/24 Vincent Torri <vto...@univ-evry.fr> > > > On Mon, 24 May 2010, whtuhtc tu wrote: > > > Hi, > > > > If I want to check if the image file is rescaled by EFL, where can I log > or > > print a message to reminder me? > > To resize the image itself: > > evas_object_image_size_set(o, width, height); > evas_object_image_fill_set(o, 0, 0, width, height); > > To resize the Evas_Object that will display the image: > > evas_object_resize(o, width, height); > > So, if you do: > > evas_object_image_size_set(o, 2 * width, 2 * height); > evas_object_image_fill_set(o, 0, 0, 2 * width, 2 * height); > evas_object_resize(o, width, height); > > the image will have twice its width and height, but you will only see a > quarter of it. > > Vincent > > > Are there only evas_object_resize and evas_object_image_fill_set used to > > rescaled image file? > > > > > > Thanks in advance. > > > > whtuhtc > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Regards. ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel