Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static void sp_pen_context_finish ( SPEventContext ec ) [static]

Finalization callback.

Definition at line 262 of file pen-context.cpp.

References SPPenContext::npoints.

Referenced by sp_pen_context_class_init().

{
    SPPenContext *pc = SP_PEN_CONTEXT(ec);

    sp_event_context_discard_delayed_snap_event(ec);

    if (pc->npoints != 0) {
        pen_cancel (pc);
    }

    if (((SPEventContextClass *) pen_parent_class)->finish) {
        ((SPEventContextClass *) pen_parent_class)->finish(ec);
    }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index