LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   GTK+ move part of pixmap (https://www.linuxquestions.org/questions/programming-9/gtk-move-part-of-pixmap-786313/)

10110111 02-01-2010 07:44 PM

GTK+ move part of pixmap
 
I need to make an image in drawing area move. I have a GdkPixmap which stores image of the drawing area. How can i copy a rectangle part inside GdkPixmap to other coordinates?

10110111 02-01-2010 09:33 PM

I found. It's just gtk_draw_drawable. Both drawables would be the same pixmap. I can also specify negative destination coordinates, so this is what i need.


All times are GMT -5. The time now is 05:10 AM.