XForms: flimage_from_pixmap

From: yann.guichoux@ago.fr
Date: Thu Oct 19 2000 - 02:28:41 EDT

  • Next message: Matthias Rarey: "Re: Re: XForms: spreadsheets and more"

    # To subscribers of the xforms list from yann.guichoux@ago.fr :

    Hi,

    I've got some problems experiencing flimage_from_pixmap()...

    What must be the type of "a properly allocated image" ?

    What i do :
    fl_image=flimage_alloc()
    fl_image->type=FL_IMAGE_RGB;
    fl_image->w=pixmapWidth;
    fl_image->h=pixmapHeight;
    flimage_getmem(fl_image);
    flimage_from_pixmap(fl_image,pixmapId); <---------- this function is
    returning FALSE;

    what's wrong with this ?

    thanks for any help...

    Yann

    _________________________________________________
    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 : Thu Oct 19 2000 - 02:34:17 EDT