![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Traits class providing the reference-count management functions for a particular Cairo 2D Graphics Library data type T. More...
Traits class providing the reference-count management functions for a particular Cairo 2D Graphics Library data type T.
CairoPointerTraits has to be specialized for each Cairo data type that shall be manageable by a Vis::CairoPointer. Each specialization provides the static methods reference() and destroy(), which increment and decrement the reference count of the wrapped object, respectively. Specializations are provided for cairo_t, cairo_surface_t and cairo_pattern_t.
| T | The type of the managed Cairo data structure. |