Function Path.this

Create a Path from a existing cairo_path_t*. Path is a reference-counted type. It will call cairo_path_destroy when there are no more references to the path.

This means you should not destroy the cairo_path_t* manually and you should not use cairo_path_t* anymore after you created a Path with this constructor.

Prototype

ref this(
  cairo_path_t* path
);

Warning

Only use this if you know what your doing! This function should not be needed for standard cairoD usage.

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1