PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/binding/pango/glyphitem.d

http://github.com/wilkie/djehuty
D | 62 lines | 24 code | 9 blank | 29 comment | 0 complexity | 8ae584f6f69fd19e7b7477ce192e0be1 MD5 | raw file
 1/*
 2 * glyphitem.d
 3 *
 4 * This file holds bindings to pango's pango-glyphitem.h. The original
 5 * copyright is displayed below, but does not pertain to this file.
 6 *
 7 * Author: Dave Wilkinson
 8 *
 9 */
10
11module binding.pango.glyphitem;
12
13/* Pango
14 * pango-glyph-item.h: Pair of PangoItem and a glyph string
15 *
16 * Copyright (C) 2002 Red Hat Software
17 *
18 * This library is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU Library General Public
20 * License as published by the Free Software Foundation; either
21 * version 2 of the License, or (at your option) any later version.
22 *
23 * This library is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
26 * Library General Public License for more details.
27 *
28 * You should have received a copy of the GNU Library General Public
29 * License along with this library; if not, write to the
30 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
31 * Boston, MA 02111-1307, USA.
32 */
33
34
35import binding.pango.types;
36
37import binding.pango.attributes;
38import binding.pango.pbreak;
39import binding.pango.item;
40import binding.pango.glyph;
41
42alias _PangoGlyphItem PangoGlyphItem;
43
44extern(C):
45
46struct _PangoGlyphItem
47{
48  PangoItem        *item;
49  PangoGlyphString *glyphs;
50}
51
52PangoGlyphItem *pango_glyph_item_split        (PangoGlyphItem *orig,
53					       char     *text,
54					       int             split_index);
55void            pango_glyph_item_free         (PangoGlyphItem *glyph_item);
56GSList *        pango_glyph_item_apply_attrs  (PangoGlyphItem *glyph_item,
57					       char     *text,
58					       PangoAttrList  *list);
59void            pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
60					       char     *text,
61					       PangoLogAttr   *log_attrs,
62					       int             letter_spacing);