#include <stdlib.h>
#include "mr_error.h"
#include "mr_line.h"
Functions | |
MrLine * | mr_line_new () |
MrLine * | mr_line_new_init (int x1, int y1, int x2, int y2) |
void | mr_line_free (void *l) |
void | mr_line_set (MrLine *dst, const MrLine *src) |
|
Destroy a line. |
|
Creates a new line with zero coordinates. |
|
Creates a new line with specified coordinates. |
|
Copy the coordinate of a specified line. |