47 lines
1.7 KiB
C
47 lines
1.7 KiB
C
|
/* gswe-antiscion-axis-info-private.h: Private parts of GsweAntiscionAxisInfo
|
||
|
*
|
||
|
* Copyright © 2013 Gergely Polonkai
|
||
|
*
|
||
|
* SWE-GLib is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License as published by
|
||
|
* the Free Software Foundation; either version 3 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* SWE-GLib is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
#ifdef __SWE_GLIB_BUILDING__
|
||
|
#ifndef __SWE_GLIB_GSWE_ANTISCION_AXIS_INFO_PRIVATE_H__
|
||
|
#define __SWE_GLIB_GSWE_ANTISCION_AXIS_INFO_PRIVATE_H__
|
||
|
|
||
|
#include "gswe-types.h"
|
||
|
#include "gswe-antiscion-axis-info.h"
|
||
|
|
||
|
struct _GsweAntiscionAxisInfo {
|
||
|
/* the identifier of this mirror's axis */
|
||
|
GsweAntiscionAxis axis;
|
||
|
|
||
|
/* represents the sign in whict the mirror axis starts */
|
||
|
GsweSignInfo *start_sign;
|
||
|
|
||
|
/* the name of the mirror */
|
||
|
gchar *name;
|
||
|
|
||
|
/* if TRUE, the axis runs through the middle of its starting sign */
|
||
|
gdouble sign_offset;
|
||
|
};
|
||
|
|
||
|
GsweAntiscionAxisInfo *gswe_antiscion_axis_info_copy(GsweAntiscionAxisInfo *antiscion_axis_info);
|
||
|
void gswe_antiscion_axis_info_free(GsweAntiscionAxisInfo *antiscion_axis_info);
|
||
|
|
||
|
#endif /* __SWE_GLIB_GSWE_ANTISCION_AXIS_INFO_PRIVATE_H__ */
|
||
|
#else /* not defined __SWE_GLIB_BUILDING__ */
|
||
|
#error __FILE__ "Can not be included, unless building SWE-GLib"
|
||
|
#endif /* __SWE_GLIB_BUILDING__ */
|
||
|
|