Re: Resizing an image
- From: Khashayar Rohanimanesh <khash cse msu edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: Resizing an image
- Date: Tue, 31 Oct 2000 15:00:34 -0500 (EST)
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]