|
Public Methods |
| | GlyphString () |
| | GlyphString (PangoGlyphString* gobject, bool make_a_copy=true) |
| | GlyphString (const GlyphString& other) |
| GlyphString& | operator= (const GlyphString& other) |
| | ~GlyphString () |
| void | swap (GlyphString& other) |
| PangoGlyphString* | gobj () |
| | Provides access to the underlying C instance.
|
| const PangoGlyphString* | gobj () const |
| | Provides access to the underlying C instance.
|
| PangoGlyphString* | gobj_copy () const |
| | GlyphString (const Glib::ustring& text, const Analysis& analysis) |
| | Construct a string of glyphs from a string of characters.
|
| void | set_size (int new_len) |
| | Resize a glyph string to the given length.
|
| void | get_extents (const Glib::RefPtr<const Font>& font, Rectangle& ink_rect, Rectangle& logical_rect) const |
| | Compute the logical and ink extents of a glyph string.
|
| void | get_extents (int start, int end, const Glib::RefPtr<const Font>& font, Rectangle& ink_rect, Rectangle& logical_rect) const |
| | Computes the extents of a sub-portion of a glyph string.
|
| Rectangle | get_ink_extents (const Glib::RefPtr<const Font>& font) const |
| | Computes the extents of the glyph string as drawn.
|
| Rectangle | get_ink_extents (int start, int end, const Glib::RefPtr<const Font>& font) const |
| | Computes the extents of a sub-portion of the glyph string as drawn.
|
| Rectangle | get_logical_extents (const Glib::RefPtr<const Font>& font) const |
| | Computes the logical extents of a sub-portion of the glyph string.
|
| Rectangle | get_logical_extents (int start, int end, const Glib::RefPtr<const Font>& font) const |
| | Computes the logical extents of a sub-portion of the glyph string.
|
| Glib::ArrayHandle<int> | get_logical_widths (const Glib::ustring& text, int embedding_level) const |
| | Determine the screen width corresponding to each character.
|
| int | index_to_x (const Glib::ustring& text, const Analysis& analysis, int index, bool trailing) const |
| | Converts from character position to x position.
|
| void | x_to_index (const Glib::ustring& text, const Analysis& analysis, int x_pos, int& index, bool& trailing) const |
| | Convert from x offset to character position.
|
| Glib::ArrayHandle<GlyphInfo> | get_glyphs () const |
| | Gharacter positions are computed by dividing up each cluster into equal portions.
|
Protected Attributes |
| PangoGlyphString* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
| void | swap (GlyphString& lhs, GlyphString& rhs) |
| Pango::GlyphString | wrap (PangoGlyphString* object, bool take_copy=false) |
It can be measured or drawn to the screen.