Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# pango/layout.hh File Reference

A PangoLayout C++ wrapper interface. More...

`#include <xfc/pango/attributes.hh>`
`#include <xfc/pango/context.hh>`
`#include <xfc/pango/item.hh>`
`#include <xfc/pango/tabs.hh>`
`#include <pango/pango-layout.h>`
`#include <utility>`
`#include <xfc/pango/inline/layout.inl>`

## Namespaces

- namespace Xfc
- namespace Xfc::Gdk
- namespace Xfc::Pango

## Classes

- class Xfc::Pango::LayoutRun
    A PangoLayoutRun C++ wrapper class. More...
- class Xfc::Pango::LayoutLine
    A PangoLayoutLine C++ wrapper class. More...
- class Xfc::Pango::LayoutIter
    A PangoLayoutIter C++ wrapper class. More...
- class Xfc::Pango::Layout
    A PangoLayout C++ wrapper class. More...

## Enumerations

- enum Alignment {
  ALIGN_LEFT = PANGO_ALIGN_LEFT,
  ALIGN_CENTER = PANGO_ALIGN_CENTER,
  ALIGN_RIGHT = PANGO_ALIGN_RIGHT
  }
    Describes how to align the lines of a Layout within the available space. More...
- enum WrapMode {
  WRAP_WORD = PANGO_WRAP_WORD,
  WRAP_CHAR = PANGO_WRAP_CHAR,
  WRAP_WORD_CHAR = PANGO_WRAP_WORD_CHAR
  }
- enum EllipsizeMode {
  ELLIPSIZE_NONE = PANGO_ELLIPSIZE_NONE,
  ELLIPSIZE_START = PANGO_ELLIPSIZE_START,
  ELLIPSIZE_MIDDLE = PANGO_ELLIPSIZE_MIDDLE,
  ELLIPSIZE_END = PANGO_ELLIPSIZE_END
  }
    Describes what sort of (if any) ellipsization should be applied to a line of text. More...

## Detailed Description

A PangoLayout C++ wrapper interface.

While complete access to the layout capabilities of Pango is provided using the detailed interfaces for itemization and shaping, using that functionality directly involves writing a fairly large amount of code. The objects and functions in this file provide a high-level driver for formatting entire paragraphs of text at once.

## Enumeration Type Documentation

enum Alignment

  | Describes how to align the lines of a Layout within the available space. If the PangoLayout is set to justify using Pango::Layout::set_justify(), then this only has an effect for partial lines. Enumeration values:
  ALIGN_LEFT | Put all available space on the right.
  ALIGN_CENTER | Center the line within the available space.
  ALIGN_RIGHT | Put all available space on the left.

enum EllipsizeMode

  | Describes what sort of (if any) ellipsization should be applied to a line of text. Enumeration values:
  ELLIPSIZE_NONE | No ellipsization.
  ELLIPSIZE_START | Omit characters at the start of the text.
  ELLIPSIZE_MIDDLE | Omit characters in the middle of the text.
  ELLIPSIZE_END | Omit characters at the end of the text.

enum WrapMode

  | Enumeration values:
  WRAP_WORD | Wrap lines at word boundaries.
  WRAP_CHAR | Wrap lines at character boundaries.
  WRAP_WORD_CHAR | Wrap lines at word boundaries, but fall back to character boundaries if there is not enought space for a full word.

Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3