package Pango.Layout is
package Pango_Ellipsize_Mode_Properties is new Generic_Internal_Discrete_Property (Pango_Ellipsize_Mode);
type Pango_Layout_Record is new GObject_Record with null record;
type Pango_Layout_Iter is new Glib.C_Boxed with null record;
type Pango_Layout is access all Pango_Layout_Record'Class;
type Pango_Ellipsize_Mode is ( Ellipsize_None, Ellipsize_Start, Ellipsize_Middle, Ellipsize_End);
type Property_Pango_Ellipsize_Mode is new Pango_Ellipsize_Mode_Properties.Property;
Null_Pango_Layout_Iter : constant Pango_Layout_Iter;
function From_Object
| ( | Object | : System.Address) return Pango_Layout_Iter; |
function From_Object_Free
| ( | B | : access Pango_Layout_Iter'Class) return Pango_Layout_Iter; |
function From_Object_Free
| ( | B | : access Pango_Layout_Line) return Pango_Layout_Line; |
procedure Gdk_New
| ( | Layout | : out Pango_Layout; |
| Context | : not null access Pango.Context.Pango_Context_Record'Class); |
procedure Initialize
| ( | Layout | : not null access Pango_Layout_Record'Class; |
| Context | : not null access Pango.Context.Pango_Context_Record'Class); |
function Pango_Layout_New
| ( | Context | : not null access Pango.Context.Pango_Context_Record'Class) return Pango_Layout; |
function Get_Type return Glib.GType;
function Get_Type_Layout_Iter return Glib.GType;
function Get_Type_Layout_Line return Glib.GType;
procedure Context_Changed
| ( | Layout | : not null access Pango_Layout_Record); |
function Copy
| ( | Layout | : not null access Pango_Layout_Record) return Pango_Layout; |
function Copy
| ( | Self | : Pango_Layout_Iter) return Pango_Layout_Iter; |
function Get_Alignment
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Enums.Alignment; |
procedure Set_Alignment
| ( | Layout | : not null access Pango_Layout_Record; |
| Alignment | : Pango.Enums.Alignment); |
function Get_Attributes
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Attributes.Pango_Attr_List; |
procedure Set_Attributes
| ( | Layout | : not null access Pango_Layout_Record; |
| Attrs | : Pango.Attributes.Pango_Attr_List); |
function Get_Auto_Dir
| ( | Layout | : not null access Pango_Layout_Record) return Boolean; |
procedure Set_Auto_Dir
| ( | Layout | : not null access Pango_Layout_Record; |
| Auto_Dir | : Boolean); |
function Get_Baseline
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
function Get_Baseline
| ( | Self | : Pango_Layout_Iter) return Gint; |
function Get_Character_Count
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
function Get_Context
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Context.Pango_Context; |
procedure Get_Cursor_Pos
| ( | Layout | : not null access Pango_Layout_Record; |
| Index | : Gint; | |
| Strong_Pos | : out Pango_Rectangle; | |
| Weak_Pos | : out Pango_Rectangle); |
function Get_Ellipsize
| ( | Layout | : not null access Pango_Layout_Record) return Pango_Ellipsize_Mode; |
procedure Set_Ellipsize
| ( | Layout | : not null access Pango_Layout_Record; |
| Ellipsize | : Pango_Ellipsize_Mode); |
procedure Get_Extents
| ( | Layout | : not null access Pango_Layout_Record; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
function Get_Font_Description
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Font.Pango_Font_Description; |
procedure Set_Font_Description
| ( | Layout | : not null access Pango_Layout_Record; |
| Desc | : Pango.Font.Pango_Font_Description); |
function Get_Height
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
procedure Set_Height
| ( | Layout | : not null access Pango_Layout_Record; |
| Height | : Gint); |
function Get_Indent
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
procedure Set_Indent
| ( | Layout | : not null access Pango_Layout_Record; |
| Indent | : Gint); |
function Get_Iter
| ( | Layout | : not null access Pango_Layout_Record'Class) return Pango_Layout_Iter; |
function Get_Justify
| ( | Layout | : not null access Pango_Layout_Record) return Boolean; |
procedure Set_Justify
| ( | Layout | : not null access Pango_Layout_Record; |
| Justify | : Boolean); |
function Get_Line
| ( | Layout | : not null access Pango_Layout_Record; |
| Line | : Gint) return Pango_Layout_Line; |
function Get_Line
| ( | Self | : Pango_Layout_Iter) return Pango_Layout_Line; |
function Get_Line_Count
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
function Get_Line_Readonly
| ( | Layout | : not null access Pango_Layout_Record; |
| Line | : Gint) return Pango_Layout_Line; |
function Get_Line_Readonly
| ( | Self | : Pango_Layout_Iter) return Pango_Layout_Line; |
procedure Get_Pixel_Extents
| ( | Layout | : not null access Pango_Layout_Record; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
procedure Get_Pixel_Size
| ( | Layout | : not null access Pango_Layout_Record; |
| Width | : out Gint; | |
| Height | : out Gint); |
function Get_Serial
| ( | Layout | : not null access Pango_Layout_Record) return Guint; |
function Get_Single_Paragraph_Mode
| ( | Layout | : not null access Pango_Layout_Record) return Boolean; |
procedure Set_Single_Paragraph_Mode
| ( | Layout | : not null access Pango_Layout_Record; |
| Setting | : Boolean); |
procedure Get_Size
| ( | Layout | : not null access Pango_Layout_Record; |
| Width | : out Gint; | |
| Height | : out Gint); |
function Get_Spacing
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
procedure Set_Spacing
| ( | Layout | : not null access Pango_Layout_Record; |
| Spacing | : Gint); |
function Get_Tabs
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Tabs.Pango_Tab_Array; |
procedure Set_Tabs
| ( | Layout | : not null access Pango_Layout_Record; |
| Tabs | : Pango.Tabs.Pango_Tab_Array); |
function Get_Text
| ( | Layout | : not null access Pango_Layout_Record) return UTF8_String; |
procedure Set_Text
| ( | Layout | : not null access Pango_Layout_Record; |
| Text | : UTF8_String); |
function Get_Unknown_Glyphs_Count
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
function Get_Width
| ( | Layout | : not null access Pango_Layout_Record) return Gint; |
procedure Set_Width
| ( | Layout | : not null access Pango_Layout_Record; |
| Width | : Gint); |
function Get_Wrap
| ( | Layout | : not null access Pango_Layout_Record) return Pango.Enums.Wrap_Mode; |
procedure Set_Wrap
| ( | Layout | : not null access Pango_Layout_Record; |
| Wrap | : Pango.Enums.Wrap_Mode); |
procedure Index_To_Line_X
| ( | Layout | : not null access Pango_Layout_Record; |
| Index | : Gint; | |
| Trailing | : Boolean; | |
| Line | : out Gint; | |
| X_Pos | : out Gint); |
procedure Index_To_Pos
| ( | Layout | : not null access Pango_Layout_Record; |
| Index | : Gint; | |
| Pos | : out Pango_Rectangle); |
function Is_Ellipsized
| ( | Layout | : not null access Pango_Layout_Record) return Boolean; |
function Is_Wrapped
| ( | Layout | : not null access Pango_Layout_Record) return Boolean; |
procedure Move_Cursor_Visually
| ( | Layout | : not null access Pango_Layout_Record; |
| Strong | : Boolean; | |
| Old_Index | : Gint; | |
| Old_Trailing | : Gint; | |
| Direction | : Gint; | |
| New_Index | : out Gint; | |
| New_Trailing | : out Gint); |
procedure Set_Markup
| ( | Layout | : not null access Pango_Layout_Record; |
| Markup | : UTF8_String); |
procedure Set_Markup_With_Accel
| ( | Layout | : not null access Pango_Layout_Record; |
| Markup | : UTF8_String; | |
| Length | : Gint; | |
| Accel_Marker | : Gunichar; | |
| Accel_Char | : out Gunichar); |
procedure Xy_To_Index
| ( | Layout | : not null access Pango_Layout_Record; |
| X | : Gint; | |
| Y | : Gint; | |
| Index | : out Gint; | |
| Trailing | : out Gint; | |
| Exact | : out Boolean); |
function At_Last_Line
| ( | Self | : Pango_Layout_Iter) return Boolean; |
procedure Get_Char_Extents
| ( | Self | : Pango_Layout_Iter; |
| Logical_Rect | : out Pango_Rectangle); |
procedure Get_Cluster_Extents
| ( | Self | : Pango_Layout_Iter; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
function Get_Index
| ( | Self | : Pango_Layout_Iter) return Gint; |
function Get_Layout
| ( | Self | : Pango_Layout_Iter) return Pango_Layout; |
procedure Get_Layout_Extents
| ( | Self | : Pango_Layout_Iter; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
procedure Get_Line_Extents
| ( | Self | : Pango_Layout_Iter; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
procedure Get_Line_Yrange
| ( | Self | : Pango_Layout_Iter; |
| Y0 | : out Gint; | |
| Y1 | : out Gint); |
procedure Get_Run_Extents
| ( | Self | : Pango_Layout_Iter; |
| Ink_Rect | : out Pango_Rectangle; | |
| Logical_Rect | : out Pango_Rectangle); |
function Next_Char
| ( | Self | : Pango_Layout_Iter) return Boolean; |
function Next_Cluster
| ( | Self | : Pango_Layout_Iter) return Boolean; |
function Next_Line
| ( | Self | : Pango_Layout_Iter) return Boolean; |
function Next_Run
| ( | Self | : Pango_Layout_Iter) return Boolean; |
function Get_Text
| ( | Layout | : access Pango_Layout_Record) return Gtkada.Types.Chars_Ptr; |