Sha256: b76ce3788b15d6c852c4175e340de3c9c6d195645275e7b29a79810d1875eaf3

Contents?: true

Size: 1.82 KB

Versions: 25

Compression:

Stored size: 1.82 KB

Contents

/* Lasem
 *
 * Copyright © 2007-2008 Emmanuel Pacaud
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author:
 * 	Emmanuel Pacaud <emmanuel@gnome.org>
 */

#ifndef LSM_MATHML_UTILS_H
#define LSM_MATHML_UTILS_H

#include <lsmmathmltypes.h>

G_BEGIN_DECLS

typedef struct {
	double width;
	double height;
	double depth;
	gboolean is_defined;
} LsmMathmlBbox;

typedef struct {
	double left;
	double right;
	double top;
	double bottom;
} LsmMathmlPadding;

extern const LsmMathmlBbox lsm_mathml_bbox_null;

void 	lsm_mathml_bbox_add_horizontally 		(LsmMathmlBbox *bbox, const LsmMathmlBbox *new_bbox);
void 	lsm_mathml_bbox_add_over 			(LsmMathmlBbox *self, const LsmMathmlBbox *bbox);
void 	lsm_mathml_bbox_add_under 			(LsmMathmlBbox *self, const LsmMathmlBbox *bbox);
void 	lsm_mathml_bbox_merge_vertically 		(LsmMathmlBbox *self, const LsmMathmlBbox *bbox, double offset);
void 	lsm_mathml_bbox_stretch				(LsmMathmlBbox *self, const LsmMathmlBbox *bbox);
void 	lsm_mathml_bbox_stretch_vertically		(LsmMathmlBbox *self, const LsmMathmlBbox *bbox);
void 	lsm_mathml_bbox_stretch_horizontally		(LsmMathmlBbox *self, const LsmMathmlBbox *bbox);

G_END_DECLS

#endif

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mathematical-1.6.12 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.11 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.10 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.9 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.8 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.7 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.6 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.5 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.4 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.3 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.2 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.1 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.6.0 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.5.12 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.5.0 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.4.2 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.4.1 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.4.0 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.3.0 ext/mathematical/lasem/src/lsmmathmlutils.h
mathematical-1.2.2 ext/mathematical/lasem/src/lsmmathmlutils.h