Main Page | Data Structures | File List | Data Fields | Globals

mr_line.c File Reference

#include <stdlib.h>
#include "mr_error.h"
#include "mr_line.h"

Functions

MrLinemr_line_new ()
MrLinemr_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)

Function Documentation

void mr_line_free void *  l  ) 
 

Destroy a line.

MrLine* mr_line_new  ) 
 

Creates a new line with zero coordinates.

MrLine* mr_line_new_init int  x1,
int  y1,
int  x2,
int  y2
 

Creates a new line with specified coordinates.

void mr_line_set MrLine dst,
const MrLine src
 

Copy the coordinate of a specified line.


Generated on Sun Apr 9 17:29:41 2006 for MusicReco by  doxygen 1.4.4