[cairo-bugs] [Bug 29295] Need public function to set/update size of Quartz surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 8 05:24:22 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29295

Kristian Rietveld <kris at gtk.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Kristian Rietveld <kris at gtk.org> 2010-08-08 05:24:20 PDT ---
(In reply to comment #5)
> > (I was under the impression that Quartz surfaces were unlimited in size for
> > some reason, and modifying the extents made things work here, but perhaps it
> > was just writing outside memory bounds?).
> AFAICT all CGContext implementations seem to have a fixed size. Even in your
> use case I would expect you to invalidate the old surface (since it has an
> incorrect size) and create a new one.

Ok, I guess the resizing worked by accident then ;)   We will take the surface
re-creation route then, which indeed seems the best way.

Thanks for the help, sorry for the noise.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list