libgeda
|
#include <config.h>
#include <libgeda_priv.h>
Go to the source code of this file.
Functions | |
void | m_bounds_init (BOUNDS *bounds) |
Initialize a bounds by setting it to empty. | |
void | m_bounds_of_points (BOUNDS *bounds, sPOINT points[], gint count) |
Calculate the bounds of a set of points. |
void m_bounds_init | ( | BOUNDS * | bounds | ) |
bounds | [in] The bounds to set to empty. This parameter must not be NULL. |
Definition at line 28 of file m_bounds.c.
For an empty set of points, this function returns an empty bounds.
bounds | [out] The bounds of the given set of points. The bounds does not need to be initialized before calling this function, but this parameter must not be NULL. |
points | [in] The given set of points. If the count is greater than zero, this parameter must not be NULL. |
count | [in] The number of points in the set. |
Definition at line 47 of file m_bounds.c.