Hi
I have loaded a pixmap image into a drawable area
and now I want to rewrite it with some of the pixels moved from (xa.ya) to (xb, yb), but how can I get the pixel value
at point (x,y) and how do I set the pixel value at the new (x1,y1)?
I need something like this:
setPixelValue(getPixelValue(x,y),x1,y1)
and it would be nice if it's quite fast,
gdk_draw_point() will probably be to slow.
Are there anyone who might have a solution for
me?
Sincerely
/Björne Lindberg
|