Logo Search packages:      
Sourcecode: inkscape version File versions

SPStyle* sp_style_ref ( SPStyle style  ) 

Increase refcount of style.

Definition at line 492 of file style.cpp.

References SPStyle::refcount.

Referenced by Inkscape::Text::Layout::appendText().

{
    g_return_val_if_fail(style != NULL, NULL);
    g_return_val_if_fail(style->refcount > 0, NULL);

    style->refcount += 1;

    return style;
}


Generated by  Doxygen 1.6.0   Back to index