1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/* Fo
* fo-context-util.c: Utility functions for FoContext objects
*
* Copyright (C) 2001 Sun Microsystems
* Copyright (C) 2007 Menteith Consulting Ltd
*
* See COPYING for the status of this software.
*/
#ifndef __FO_CONTEXT_UTIL_H__
#define __FO_CONTEXT_UTIL_H__
#include <libfo/fo-utils.h>
#include <fo/fo-fo.h>
#include <fo-context.h>
void fo_context_util_height_width_resolve (FoContext *current_context,
FoContext *parent_context);
void fo_context_util_keeps_resolve (FoContext *current_context,
FoContext *parent_context);
void fo_context_util_paddings_resolve (FoContext *current_context,
FoContext *parent_context);
void fo_context_util_spaces_resolve (FoContext *context,
FoArea *reference_area);
void fo_context_util_length_ranges_resolve (FoContext *context,
FoArea *reference_area);
void fo_context_util_margins_resolve (FoContext *current_context,
FoContext *parent_context);
void fo_context_util_margins_indents_resolve (FoFo *fo,
FoContext *current_context,
FoContext *parent_context);
void fo_context_util_border_resolve (FoContext *current_context,
FoContext *parent_context);
void fo_context_util_dominant_baseline_resolve (FoContext *current_context,
FoContext *parent_context);
G_END_DECLS
#endif /* __FO_CONTEXT_UTIL_H__ */
|