Created attachment 39766 [details] [review] wrap cairo_rectangle_int_t
Created attachment 39792 [details] [review] wrap cairo_rectangle_int_t
Why wrap cairo_rectangle_int_t ?
We need it for Gtk. Gtk, uses cairo_rectangle_int_t to specify things such as expose reasons. This used to be in Gdk but since we moved our entire drawing system to cairo it was decided to use the cairo structure.
I cannot see any need to expose cairo_rectangle_int_t in pycairo. Pycairo already has rectangle functions and a Python 4-tuple works fine. If GTK needs cairo_rectangle_int_t then I suggest you place the relevant code directly into GTK and keep the code local to where it is used.
I will accept this if you can guarantee me that any cairo methods that take or return a cairo_rectangle_int_t are wrapped to accept or return a 4 item python sequence (tuple in most cases).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.