“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
How many of these pixel thingies do you need? A widget (i.e. PtPixel) has
fair amount of overhead to it. If you need to plot thousands of these you
may be better off just drawing pixels with PgDrawPixel() or
PgDrawPixelArray() or Arraymx().
There are other draw primitives (i.e. PgDraw*() functions) that you can
To me, a widget is called for when you need to interface with an object
not for just plotting points on a screen.
You’ll have to decide.
“Yamin” <> email@example.com> > wrote in message
news:afg09j$nu2$> firstname.lastname@example.org> …
I need a bit of advice here as to where to proceed. I’m not yet in need
specifics, just in general.
I need to create a static picture (manually plotting pixels). The data
need to be changed, but not very often (on user command).
I need a variety of lines/text and overlay objects to work on top of
I’ve read a vit about PtRaw and all the others. Any advice on where to
start with all this. I don’t want to start something one way, then have
switch strategies. I’m thinking of using the PtPixel widget to draw on
PtRaw parent. I avoid touching PtRaw onDraw function this way right?
Well, I think I found what I’m looking for. PtPixel does the job extremely
well. You can set an array of points to one PtPixel, and it will draw them
all. It maintains redraws…