GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

layout.hh File Reference

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

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

Go to the source code of this file.

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 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.


Generated on Tue Aug 24 00:34:33 2004 for GFC-UI by doxygen 1.3.8