Re: The Code of the Clip Mask Offset Problem




Well, I guess the problem with your code can be expressed by saying
that the clip mask origin applies to the destination not the
source. So as you draw different portions of the source onto the same
portion of destination, you need to offset the clip mask origin
appropriately. (Generally by the negative of the xsrc/ysrc you
are using as offsets into your source image.)

You might want to try drawing the situation on a piece of
paper.

Regards,
                                        Owen

[ Reply-To: set to gtk-list  ]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]