Skip to content
Commit ad64cbd7 authored by Torsten Schönfeld's avatar Torsten Schönfeld
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment