B2d_shape_remove_points - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Removes the given range of points from the given shape.

Parameters

Parameter Description
id index of the shape
startn nth first point
endn nth last point

Return Values

void: This function does not return anything.

Example Call

// demonstrates removing the last two points of a shape
b2d_shape_add_point(myshape, width, -height);
b2d_shape_add_point(myshape, width, height);
b2d_shape_add_point(myshape, -width, height);
b2d_shape_remove_points(myshape, 1, 2);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️