function draw_bezier_curve_without_pattern_support(ctx, start_x, start_y, control_1_x, control_1_y, control_2_x, control_2_y, end_x, end_y, stroke_size) {
	const steps = 100;
	let point_a = { x: start_x, y: start_y };
	for (let t = 0; t < 1; t += 1 / steps) {
		const point_b = compute_bezier(t, start_x, start_y, control_1_x, control_1_y, control_2_x, control_2_y, end_x, end_y);
		// @TODO: carry "error" from Bresenham line algorithm between iterations? and/or get a proper Bezier drawing algorithm
		draw_line_without_pattern_support(ctx, point_a.x, point_a.y, point_b.x, point_b.y, stroke_size);
		point_a = point_b;
	}
}
Draws a solid-color mask of a bezier curve.

@param {CanvasRenderingContext2D} ctx - The rendering context of the canvas.
@param {number} start_x - The x-coordinate of the starting point of the curve.
@param {number} start_y - The y-coordinate of the starting point of the curve.
@param {number} control_1_x - The x-coordinate of the first control point of the curve.
@param {number} control_1_y - The y-coordinate of the first control point of the curve.
@param {number} control_2_x - The x-coordinate of the second control point of the curve.
@param {number} control_2_y - The y-coordinate of the second control point of the curve.
@param {number} end_x - The x-coordinate of the ending point of the curve.
@param {number} end_y - The y-coordinate of the ending point of the curve.
@param {number} stroke_size - The line width of the curve.