Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 355 of file ftstroke.c.
Referenced by ft_stroke_border_moveto(), ft_stroker_cap(), ft_stroker_inside(), FT_Stroker_LineTo(), and ft_stroker_outside().
{ FT_Error error = FT_Err_Ok; FT_ASSERT( border->start >= 0 ); if ( border->movable ) { /* move last point */ border->points[border->num_points - 1] = *to; } else { /* add one point */ error = ft_stroke_border_grow( border, 1 ); if ( !error ) { FT_Vector* vec = border->points + border->num_points; FT_Byte* tag = border->tags + border->num_points; vec[0] = *to; tag[0] = FT_STROKE_TAG_ON; border->num_points += 1; } } border->movable = movable; return error; }