[cairo] RFC: introduce cairo_surface_get_height() / width()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Fri Jul 8 09:43:18 UTC 2016


Hi folks,


retrieving surface dimensions currently only works by surface-type
specific functions, which isn't particularily good encapsulation.

For example, in my widget toolkit, which shall be able to render
onto any surface type, I need to do special tweaks for getting
the surface dimensions.

So, should we introduce generic functions (and corresponding
backend ops) for that ?


--mtx


More information about the cairo mailing list