Gtk-- Reference: Gdk_Font

Class Index | Cross Index | Namespace Index

# Class Gdk_Font

Contained in: global
Derived from: Gdk_Handle
Derived by: none

#include <gtk--/font.h>

### public function member index:
`` | `Gdk_Font` | `()`;
`` | `Gdk_Font` | `(`GdkFont`* `font`)`;
`` | `Gdk_Font` | `(`const` `Gdk_Font`& `font`)`;
`` | `Gdk_Font` | `(`const` `Gtk::string`& `font_name`)`;
``gint`` | `ascent` | `() `const``;
``gint`` | `char_height` | `(`gchar` `character`) `const``;
``gint`` | `char_measure` | `(`gchar` `character`) `const``;
``gint`` | `char_width` | `(`gchar` `character`) `const``;
``gint`` | `char_width_wc` | `(`GdkWChar` `character`) `const``;
``void`` | `create` | `(`const` `Gtk::string`& `font_name`)`;
``gint`` | `descent` | `() `const``;
``gint`` | `equal` | `(`const` `Gdk_Font`& `font`) `const``;
``gint`` | `font_id` | `() `const``;
``gint`` | `height` | `() `const``;
``Gdk_Font`&` | `load` | `(`const` `Gtk::string`& `font_name`)`;
``Gdk_Font`&` | `operator``=` | `(`const` `Gdk_Font`&)`;
``void`` | `release` | `()`;
``Gdk_Font`&` | `set_load` | `(`const` `Gtk::string`& `fontset_name`)`;
``void`` | `string_extents` | `(`const` `Gtk::string`& `str`, `gint`& `lbearing`, `gint`& `rbearing`, `gint`& `width`, `gint`& `ascent`, `gint`& `descent`) `const``;
``gint`` | `string_height` | `(`const` `Gtk::string`& `str`) `const``;
``gint`` | `string_measure` | `(`const` `Gtk::string`& `str`) `const``;
``gint`` | `string_width` | `(`const` `Gtk::string`& `str`) `const``;
``void`` | `text_extents` | `(`const` `char`* `text`, `gint` `length`, `gint`& `lbearing`, `gint`& `rbearing`, `gint`& `width`, `gint`& `ascent`, `gint`& `descent`) `const``;
``void`` | `text_extents_wc` | `(`const` `GdkWChar`* `text`, `gint` `text_length`, `gint`& `lbearing`, `gint`& `rbearing`, `gint`& `width`, `gint`& `ascent`, `gint`& `descent`) `const``;
``gint`` | `text_height` | `(`const` `char`* `text`, `int` `length`) `const``;
``gint`` | `text_measure` | `(`const` `char`* `text`, `int` `length`) `const``;
``gint`` | `text_width` | `(`const` `char`* `text`, `int` `length`) `const``;
``gint`` | `text_width_wc` | `(`const` `GdkWChar`* `text`, `gint` `text_length`) `const``;
`` | `~Gdk_Font` | `()`;
### protected function member index:
``void`` | `ref` | `()`;
``void`` | `unref` | `()`;

## Description:

## Function Member Descriptions:

Gdk_Font::Gdk_Font - Create a unconnected font.

`` `Gdk_Font``()`;
Gdk_Font::Gdk_Font - Create a font handle from a GdkFont

`` `Gdk_Font``(`GdkFont`* `font`)`;
Gdk_Font::Gdk_Font - Create a font handle loaded with specific fontname.

`` `Gdk_Font``(`const` `Gtk::string`& `font_name`)`;
Gdk_Font::~Gdk_Font - Destroy a font handle.

`` `~Gdk_Font``()`;