Function Surface.this

Create a Surface from a existing cairo_surface_t*. Surface is a garbage collected class. It will call cairo_surface_destroy when it gets collected by the GC or when dispose() is called.

Prototype

this(
  cairo_surface_t* ptr
);

Warning

ptr's reference count is not increased by this function! Adjust reference count before calling it if necessary

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