On Fri, 7 Jan 2022 at 09:00, Stefan BrĂ¼ns stefan.bruens@rwth-aachen.de wrote:
prev_type = figure->vertex_types[figure->vertex_count - 1];
if (d2d_vertex_type_is_bezier(prev_type))
prev = &figure->bezier_controls[figure->bezier_control_count - 1];
else
prev = &figure->vertices[figure->vertex_count - 1];
next_prev = next = &figure->bezier_controls[bezier_idx++];
/* type BEZIER implies i + 1 < figure->vertex_count */
p1 = &figure->vertices[i + 1];
Is that already true at this point in the series? It would be true after patch 6/8 in this series, but at this point in the series the end point could still have been removed in d2d_geometry_sink_EndFigure(), right?