A Pango::Analysis stores information about the properties of a segment of text.
More...
#include <pangomm/item.h>
|
| Analysis (const PangoAnalysis * src) |
|
Glib::RefPtr< Font > | get_font () |
| Gets the font used to render this segment.
|
|
Glib::RefPtr< const Font > | get_font () const |
|
guint8 | get_level () const |
| Gets the bidrectional level for this segment.
|
|
Language | get_language () const |
| Gets the language of this segment.
|
|
std::vector< Attribute > | get_extra_attrs () const |
| Gets a list of non-font attributes for this segment.
|
|
PangoAnalysis * | gobj () |
| Provides access to the underlying C GObject.
|
|
const PangoAnalysis * | gobj () const |
| Provides access to the underlying C GObject.
|
|
A Pango::Analysis stores information about the properties of a segment of text.
Pango::Analysis is used as an output type only so there is no public default constructor. You can retrieve an object of this type from an object of type Pango::Item by calling Pango::Item::get_analysis(). Objects of this class can be used for some calculations in Pango::GlyphString.
◆ Analysis() [1/2]
Pango::Analysis::Analysis |
( |
| ) |
|
|
protected |
◆ Analysis() [2/2]
Pango::Analysis::Analysis |
( |
const PangoAnalysis * |
src | ) |
|
|
explicit |
◆ get_extra_attrs()
Gets a list of non-font attributes for this segment.
- Returns
- A list of non-font attributes for this segment.
◆ get_font() [1/2]
Glib::RefPtr< Font > Pango::Analysis::get_font |
( |
| ) |
|
Gets the font used to render this segment.
- Returns
- The font used to render this segment.
◆ get_font() [2/2]
Glib::RefPtr< const Font > Pango::Analysis::get_font |
( |
| ) |
const |
◆ get_language()
Language Pango::Analysis::get_language |
( |
| ) |
const |
Gets the language of this segment.
- Returns
- The language of this segment.
◆ get_level()
guint8 Pango::Analysis::get_level |
( |
| ) |
const |
Gets the bidrectional level for this segment.
- Returns
- The bidirectional level for this segment.
◆ gobj() [1/2]
PangoAnalysis * Pango::Analysis::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
const PangoAnalysis * Pango::Analysis::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ wrap() [1/2]
◆ wrap() [2/2]
◆ gobject_
PangoAnalysis Pango::Analysis::gobject_ |
|
protected |