File: fo-layout-private.h

package info (click to toggle)
xmlroff 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 36,456 kB
  • ctags: 25,964
  • sloc: ansic: 178,200; xml: 109,155; sh: 8,973; makefile: 1,331; perl: 30
file content (45 lines) | stat: -rw-r--r-- 938 bytes parent folder | download | duplicates (5)
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
41
42
43
44
45
/* Fo
 * fo-layout-private.h: Object type for PangoLayout
 *
 * Copyright (C) 2001 Sun Microsystems
 * Copyright (C) 2007 Menteith Consulting Ltd
 *
 * See COPYING for the status of this software.
 */

#ifndef __FO_LAYOUT_PRIVATE_H__
#define __FO_LAYOUT_PRIVATE_H__

#include "fo-layout.h"
#include <pango/pango.h>

G_BEGIN_DECLS

struct _FoLayout
{
  FoObject     parent_instance;

  FoDoc       *fo_doc;

  PangoLayout *pango_layout;
};

struct _FoLayoutClass
{
  FoObjectClass parent_class;

  void (* set_line_height) (FoLayout *fo_layout,
			    gfloat    line_height);

  void (* set_line_stacking_strategy) (FoLayout  *fo_layout,
				       FoEnumEnum line_stacking_strategy);

};

PangoLayout * fo_layout_get_pango_layout (FoLayout *fo_layout);
/*
PangoLineStackingStrategy fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy (FoEnumEnum line_stacking_strategy);
*/
G_END_DECLS

#endif /* !__FO_LAYOUT_PRIVATE_H__ */