Logo Search packages:      
Sourcecode: inkscape version File versions

static void spdc_set_startpoint ( SPPencilContext *const   pc,
NR::Point const   p 
) [static]

Reset points and set new starting point.

Definition at line 513 of file pencil-context.cpp.

References SPPencilContext::npoints, and SPPencilContext::p.

{
    pc->npoints = 0;
    pc->red_curve_is_valid = false;
    if (in_svg_plane(p)) {
        pc->p[pc->npoints++] = p;
    }
}


Generated by  Doxygen 1.6.0   Back to index