summaryrefslogtreecommitdiff
path: root/pango/pango-line-iter.h
blob: bfd5d48c2ccec4f7b8a7b02e9179b81359fed699 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#pragma once

#include <glib-object.h>

#include <pango/pango-types.h>
#include <pango/pango-lines.h>
#include <pango/pango-glyph-item.h>

G_BEGIN_DECLS

PANGO_AVAILABLE_IN_ALL
GType                   pango_line_iter_get_type           (void) G_GNUC_CONST;

PANGO_AVAILABLE_IN_ALL
PangoLineIter *         pango_line_iter_copy                (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_free                (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
PangoLines *            pango_line_iter_get_lines           (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
PangoLine *             pango_line_iter_get_line            (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
gboolean                pango_line_iter_at_last_line        (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
PangoLayoutRun *        pango_line_iter_get_run             (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
int                     pango_line_iter_get_index           (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
gboolean                pango_line_iter_next_line           (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
gboolean                pango_line_iter_next_run            (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
gboolean                pango_line_iter_next_cluster        (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
gboolean                pango_line_iter_next_char           (PangoLineIter *iter);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_layout_extents  (PangoLineIter  *iter,
                                                             PangoRectangle *ink_rect,
                                                             PangoRectangle *logical_rect);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_line_extents    (PangoLineIter  *iter,
                                                             PangoRectangle *ink_rect,
                                                             PangoRectangle *logical_rect);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_trimmed_line_extents
                                                            (PangoLineIter    *iter,
                                                             PangoLeadingTrim  trim,
                                                             PangoRectangle   *logical_rect);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_run_extents     (PangoLineIter  *iter,
                                                             PangoRectangle *ink_rect,
                                                             PangoRectangle *logical_rect);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_cluster_extents (PangoLineIter  *iter,
                                                             PangoRectangle *ink_rect,
                                                             PangoRectangle *logical_rect);

PANGO_AVAILABLE_IN_ALL
void                    pango_line_iter_get_char_extents    (PangoLineIter  *iter,
                                                             PangoRectangle *logical_rect);

PANGO_AVAILABLE_IN_ALL
int                     pango_line_iter_get_line_baseline   (PangoLineIter  *iter);

PANGO_AVAILABLE_IN_ALL
int                     pango_line_iter_get_run_baseline    (PangoLineIter  *iter);


G_END_DECLS