Re: Resizing an image



 Hi,

 I have the following problem:

 I have created a table, in which one of the table cells is
 a drawable object; which is loaded with a pixmap image. My goal
 is to resize the image, as the table is resized. I am thinking
 of the following steps:

 - get the new table cell size after resizing the table
 - change the drawable size accordingly and attch it to the table again
 - render image into a pixmap of the new size
 - redraw the pixmap on the resized drawable

 First question is if there is a better way to do this
 Second, how can we get table properties in general; I mean
 the size of the cells and etc.

 Thanks,
 Khashayar


                                        ////
                                      0(o o)0
===================================oOO==(_)==OOo========================
========================================================================
========================================================================
============================================Oooo========================
=====================================oooO===(   )=======================
====================================(   )====) /========================
                                     \ (    (_/
                                      \_)        
  





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]