third_party/cairo/src/cairo-tristrip.c
void
_cairo_tristrip_move_to (cairo_tristrip_t *strip,
			 const cairo_point_t *p)
{
    if (strip->num_points == 0)
	return;

    _cairo_tristrip_add_point (strip, &strip->points[strip->num_points-1]);
    _cairo_tristrip_add_point (strip, p);
#if 0
    /* and one more for luck! (to preserve cw/ccw ordering) */
    _cairo_tristrip_add_point (strip, p);
#endif
}
/* Insert degenerate triangles to advance to the given point. The
 * next point inserted must also be @p. */
Insert degenerate triangles to advance to the given point. The
next point inserted must also be @p.
Insert degenerate triangles to advance to the given point . The next point inserted must also be @p .
void
_cairo_tristrip_move_to (cairo_tristrip_t *strip,
			 const cairo_point_t *p)
{
    if (strip->num_points == 0)
	return;
    _cairo_tristrip_add_point (strip, &strip->points[strip->num_points-1]);
    _cairo_tristrip_add_point (strip, p);
#if 0
    _cairo_tristrip_add_point (strip, p);
#endif
}
void _cairo_tristrip_move_to ( cairo_tristrip_t * strip , const cairo_point_t * p ) { if ( strip -> num_points == 0 ) return ; _cairo_tristrip_add_point ( strip , & strip -> points [ strip -> num_points - 1 ] ) ; _cairo_tristrip_add_point ( strip , p ) ; #if 0 _cairo_tristrip_add_point ( strip , p ) ; #endif }
Insert degenerate triangles to advance to the given point.
Insert degenerate triangles to advance to the given point .
/* and one more for luck! (to preserve cw/ccw ordering) */