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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 29 05:28:01 PDT 2010


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

           Summary: Need public function to set/update size of Quartz
                    surface
           Product: cairo
           Version: 1.9.14
          Platform: Other
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: quartz backend
        AssignedTo: vladimir at pobox.com
        ReportedBy: kris at gtk.org
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=37436)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37436)
Proposed patch

A public function is needed to set/update the size of a Quartz surface.  This
is because surface->extents is used in clipping calculations.  In GTK+, the
toplevel window is backed by a cairo surface.  If the toplevel window is
resized, the extents must be updated otherwise the clipping calculations will
not be correct and affect the drawing.

Patch is attached.

-- 
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