src/lib/zint/render.c
struct zint_render_line *render_plot_create_line(float x, float y, float width, float length)
{
	struct zint_render_line *line;

	line = malloc(sizeof(struct zint_render_line));
	line->next = NULL;
	line->x = x;
	line->y = y;
	line->width = width;
	line->length = length;

	return line;
}
/*
 * Create a new line with its memory allocated ready for adding to the
 * rendered structure.
 *
 * This is much quicker than writing out each line manually (in some cases!)
 */
Create a new line with its memory allocated ready for adding to the
rendered structure.

This is much quicker than writing out each line manually (in some cases!)
Create a new line with its memory allocated ready for adding to the rendered structure . This is much quicker than writing out each line manually ( in some cases! )
struct zint_render_line *render_plot_create_line(float x, float y, float width, float length)
{
	struct zint_render_line *line;
	line = malloc(sizeof(struct zint_render_line));
	line->next = NULL;
	line->x = x;
	line->y = y;
	line->width = width;
	line->length = length;
	return line;
}
struct zint_render_line * render_plot_create_line ( float x , float y , float width , float length ) { struct zint_render_line * line ; line = malloc ( sizeof ( struct zint_render_line ) ) ; line -> next = NULL ; line -> x = x ; line -> y = y ; line -> width = width ; line -> length = length ; return line ; }
Create a new line with its memory allocated ready for adding to the
 rendered structure.
Create a new line with its memory allocated ready for adding to the rendered structure .