# To subscribers of the xforms list from Jens Thoms Toerring <Jens.Toerring@physik.fu-berlin.de> :
On Mon, Mar 04, 2002 at 08:02:47AM -0500, jprinos@dehavilland.ca wrote:
> Sorry, I don't have my XForms manual in front of me.
> What does:
> flimage_getmem( im );
> do again? If I remember correctly, it allocates memory for the image size
> and type.
As far as I understand the manual it does. I don't know if I really need
it with flimage_from_pixmap() (as far as I can see one doesn't need it for
e.g. flimage_load(), so by analogy one might assume that it's also
unnessecary for flimage_from_pixmap()), I just tried it in order to get
rid of these somewhat annoying segmentation faults ;-)
> p.s. did you intend to code this:
> im->w = w;
> im->h = w; <<<<<< intended to be h?
Yes, of course. Unfortunately, I didn't post the latest, corrected version
where this had been changed. Alas, also then it didn't work the way I hoped
it would.
Thanks, Jens
-- _ _____ _____ | ||_ _||_ _| Jens.Toerring@physik.fu-berlin.de _ | | | | | | AG Moebius, Institut fuer Molekuelphysik | |_| | | | | | Fachbereich Physik, Freie Universitaet Berlin \___/ens|_|homs|_|oerring Tel: ++49 (0)30 838 - 53394 / FAX: - 56046 _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:15 EDT