summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/gtk2/src/pango/pango-item.inc
blob: d47f8775d4e25956c60eed961b10bffcc1070736 (plain)
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
// included by pango.pp
{$IFDEF read_forward_definitions}
   PPangoAnalysis = ^TPangoAnalysis;
   PPangoItem = ^TPangoItem;
{$ENDIF read_forward_definitions}

{$IFDEF read_interface_types}
   TPangoAnalysis = record
        shape_engine : PPangoEngineShape;
        lang_engine : PPangoEngineLang;
        font : PPangoFont;
        level : guint8;
        language : PPangoLanguage;
        extra_attrs : PGSList;
     end;

   TPangoItem = record
        offset : gint;
        length : gint;
        num_chars : gint;
        analysis : TPangoAnalysis;
     end;
{$ENDIF read_interface_types}

//------------------------------------------------------------------------------

{$IFDEF read_interface_functions}
function pango_item_new:PPangoItem; cdecl; external pangolib;
function pango_item_copy(item:PPangoItem):PPangoItem; cdecl; external pangolib;
procedure pango_item_free(item:PPangoItem); cdecl; external pangolib;
function pango_item_split(orig:PPangoItem; split_index:longint; split_offset:longint):PPangoItem; cdecl; external pangolib;
{$endif read_interface_functions}