Re: XForms: pixel plotting

From: Steve Lamont (spl@ncmir.ucsd.edu)
Date: Mon Jan 29 2001 - 09:18:59 EST

  • Next message: Michal Szymanski: "XForms: changes between 0.88 and 0.89"

    # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :

    > I need to plot individual pixels in a canvas. I don't believe that
    > this is supported directly by xforms so a trip to the underlying
    > x libraries may be in order. If this is so can anybody point me
    > in the right direction please? I apologize if this has been covered
    > before - can't get hold of any lists archive.

    XDrawPoint() will do it. XDrawPoints() will draw arrays of points.
    XPutPixel() will manipulate pixels in an XImage that can be written to
    a Canvas or a Pixmap.

                                                            spl
    _________________________________________________
    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 : Mon Jan 29 2001 - 05:21:59 EST