Make Cairo::Surface->create_similar a class-static method
That is, make it callable as Cairo::Surface->create_similar ($other, ...) in addition to $other->create_similar (...) Since cairo_surface_create_similar() is a constructor, the former syntax seems to make more sense. The latter syntax is still supported.
parent
b08af4a8
Please register or sign in to comment