## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Enums

- Goto spec source

# Description

    package Pango.Enums is

# Packages

### Style_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Style_Properties is
         new Generic_Internal_Discrete_Property (Style);

### Weight_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Weight_Properties is
         new Generic_Internal_Discrete_Property (Weight);

### Variant_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Variant_Properties is
         new Generic_Internal_Discrete_Property (Variant);

### Stretch_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Stretch_Properties is
         new Generic_Internal_Discrete_Property (Stretch);

### Underline_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Underline_Properties is
         new Generic_Internal_Discrete_Property (Underline);

### Wrap_Mode_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Wrap_Mode_Properties is
         new Generic_Internal_Discrete_Property (Wrap_Mode);

# Types

### Alignment

- Goto declaration in source

    type Alignment is
         (Pango_Alignment_Left,
          Pango_Alignment_Center,
          Pango_Alignment_Right);

### Attr_Type

- Goto declaration in source

    type Attr_Type is
         (Pango_Attr_Invalid,
          Pango_Attr_Lang,
          Pango_Attr_Family,
          Pango_Attr_Style,
          Pango_Attr_Weight,
          Pango_Attr_Variant,
          Pango_Attr_Stretch,
          Pango_Attr_Size,
          Pango_Attr_Font_Desc,
          Pango_Attr_Foreground,
          Pango_Attr_Background,
          Pango_Attr_Underline,
          Pango_Attr_Strikethrough,
          Pango_Attr_Rise,
          Pango_Attr_Shape,
          Pango_Attr_Scale);

### Coverage_Level

- Goto declaration in source

    type Coverage_Level is
         (Pango_Underline_None,
          Pango_Underline_Fallback,
          Pango_Underline_Approximate,
          Pango_Underline_Exact);

### Direction

- Goto declaration in source

    type Direction is
         (Pango_Direction_Ltr,
          Pango_Direction_Rtl,
          Pango_Direction_Ttb_Ltr,
          Pango_Direction_Ttb_Rtl);

### Stretch

- Goto declaration in source

    type Stretch is
         (Pango_Stretch_Ultra_Condensed,
          Pango_Stretch_Extra_Condensed,
          Pango_Stretch_Condensed,
          Pango_Stretch_Semi_Condensed,
          Pango_Stretch_Normal,
          Pango_Stretch_Semi_Expanded,
          Pango_Stretch_Expanded,
          Pango_Stretch_Extra_Expanded,
          Pango_Stretch_Ultra_Expanded);

### Style

- Goto declaration in source

    type Style is
         (Pango_Style_Normal,
          Pango_Style_Oblique,
          Pango_Style_Italic);

### Underline

- Goto declaration in source

    type Underline is
         (Pango_Underline_None,
          Pango_Underline_Single,
          Pango_Underline_Double,
          Pango_Underline_Low,
          Pango_Underline_Error);

### Variant

- Goto declaration in source

    type Variant is
         (Pango_Variant_Normal,
          Pango_Variant_Small_Caps);

### Weight

- Goto declaration in source

    type Weight is
         (Pango_Weight_Ultralight,
          Pango_Weight_Light,
          Pango_Weight_Normal,
          Pango_Weight_Medium,
          Pango_Weight_Semi_Bold,
          Pango_Weight_Bold,
          Pango_Weight_Ultrabold,
          Pango_Weight_Heavy);

### Wrap_Mode

- Goto declaration in source

    type Wrap_Mode is
         (Pango_Wrap_Word,
          Pango_Wrap_Char,
          Pango_Wrap_Word_Char);

### Property_Style

- Goto declaration in source

    type Property_Style is new Style_Properties.Property;

### Property_Weight

- Goto declaration in source

    type Property_Weight is new Weight_Properties.Property;

### Property_Variant

- Goto declaration in source

    type Property_Variant is new Variant_Properties.Property;

### Property_Stretch

- Goto declaration in source

    type Property_Stretch is new Stretch_Properties.Property;

### Property_Underline

- Goto declaration in source

    type Property_Underline is new Underline_Properties.Property;

### Property_Wrap_Mode

- Goto declaration in source

    type Property_Wrap_Mode is new Wrap_Mode_Properties.Property;

# Constants & Global variables

### Pango_Scale

- Goto declaration in source

    Pango_Scale : constant := 1024;

All internal units in Pango are expressed in terms of this unit. A typical pango size must be divided by Pango_Scale to get the equivalent in pixels.

# Subprograms & Entries

### To_Pixels

- Goto spec in source

    function To_Pixels (Pango_Units: Gint) return Gint;

Convert a size in pango units to pixels. This is a rounding of Pango_Units divided by Pango_Scale