[cairo] Scrolling/Copying

Owen Taylor otaylor at redhat.com
Thu Jun 23 12:37:28 PDT 2005

On Thu, 2005-06-23 at 21:29 +0200, Tim Teulings wrote:
> Hello!
> > That's a longstanding bug.  The current Render implementation doesn't
> > handle overlapping source/dest at all.  Same for the software drawing
> > code in cairo itself.
> > 
> > We can work around this particular bug by using core rendering for this
> > particular case; it would have the advantage of better performance on
> > most X servers.  There is similar code in the cairo drawing code we
> > could use for the software case.
> Ah sad story :-/ The (temporary) fix would be nice - or is there a
> workaround I can implement in my application? Would the fix be
> integrated in the next cairo version?

Is there any reason that you can't just use XCopyArea()?

> Nevertheless, can someone still explain me the to coords params to the
> cairo_set_source_surface method?

It's really simple - it's just the coordinates of the upper left corner
of the surface in user space coordinates.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050623/819a72a8/attachment.pgp

More information about the cairo mailing list