Xfce Foundation Classes
Main Page  | IndexNamespace 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

Classes

Enumerations


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