Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Pango::FontFace Class Reference

A PangoFontFace C++ wrapper class. More...

#include <inti/pango/font.h>

Inheritance diagram for Inti::Pango::FontFace:

Inti::G::Object Inti::G::TypeInstance Inti::MemoryHandler Inti::ReferencedBase List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A PangoFontFace C++ wrapper class.

The FontFace is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes.


Constructor & Destructor Documentation

Inti::Pango::FontFace::FontFace PangoFontFace *  face,
bool  reference = true
[explicit, protected]
 

Construct a new FontFace from an existing PangoFontFace.

Parameters:
face A pointer to a PangoFontFace.
reference Set false if the initial reference count is floating, set true if it's not.

The face can be a newly created PangoFontFace or an existing PangoFontFace. (see G::Object::Object).


Member Function Documentation

Pointer<FontDescription> Inti::Pango::FontFace::describe  )  const
 

Returns the family, style, variant, weight and stretch of a font face.

Returns:
A smart pointer to newly-created FontDescription holding the description of the face.

The size field of the resulting font description will be unset.

String Inti::Pango::FontFace::get_face_name  )  const
 

Gets a name representing the style of this face among the different faces in the font family for the face.

Returns:
The face name for the face.

This name is unique among all faces in the family and is suitable for displaying to users.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:24 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002