Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pango-attributes.h File Reference
#include <pango/pango-font.h>
#include <pango/pango-color.h>
#include <glib-object.h>

Go to the source code of this file.

Data Structures

struct  _PangoAttribute
 
struct  _PangoAttrClass
 
struct  _PangoAttrString
 
struct  _PangoAttrLanguage
 
struct  _PangoAttrInt
 
struct  _PangoAttrFloat
 
struct  _PangoAttrColor
 
struct  _PangoAttrSize
 
struct  _PangoAttrShape
 
struct  _PangoAttrFontDesc
 
struct  _PangoAttrFontFeatures
 

Macros

#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING   ((guint)0)
 
#define PANGO_ATTR_INDEX_TO_TEXT_END   ((guint)(G_MAXUINT + 0))
 
#define PANGO_TYPE_ATTR_LIST   pango_attr_list_get_type ()
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _PangoAttribute PangoAttribute
 
typedef struct _PangoAttrClass PangoAttrClass
 
typedef struct _PangoAttrString PangoAttrString
 
typedef struct _PangoAttrLanguage PangoAttrLanguage
 
typedef struct _PangoAttrInt PangoAttrInt
 
typedef struct _PangoAttrSize PangoAttrSize
 
typedef struct _PangoAttrFloat PangoAttrFloat
 
typedef struct _PangoAttrColor PangoAttrColor
 
typedef struct _PangoAttrFontDesc PangoAttrFontDesc
 
typedef struct _PangoAttrShape PangoAttrShape
 
typedef struct _PangoAttrFontFeatures PangoAttrFontFeatures
 
typedef gboolean(* PangoAttrFilterFunc) (PangoAttribute *attribute, gpointer user_data)
 
typedef gpointer(* PangoAttrDataCopyFunc) (gconstpointer user_data)
 
typedef struct _PangoAttrList PangoAttrList
 
typedef struct _PangoAttrIterator PangoAttrIterator
 

Enumerations

enum  PangoAttrType {
  PANGO_ATTR_INVALID , PANGO_ATTR_LANGUAGE , PANGO_ATTR_FAMILY , PANGO_ATTR_STYLE ,
  PANGO_ATTR_WEIGHT , PANGO_ATTR_VARIANT , PANGO_ATTR_STRETCH , PANGO_ATTR_SIZE ,
  PANGO_ATTR_FONT_DESC , PANGO_ATTR_FOREGROUND , PANGO_ATTR_BACKGROUND , PANGO_ATTR_UNDERLINE ,
  PANGO_ATTR_STRIKETHROUGH , PANGO_ATTR_RISE , PANGO_ATTR_SHAPE , PANGO_ATTR_SCALE ,
  PANGO_ATTR_FALLBACK , PANGO_ATTR_LETTER_SPACING , PANGO_ATTR_UNDERLINE_COLOR , PANGO_ATTR_STRIKETHROUGH_COLOR ,
  PANGO_ATTR_ABSOLUTE_SIZE , PANGO_ATTR_GRAVITY , PANGO_ATTR_GRAVITY_HINT , PANGO_ATTR_FONT_FEATURES ,
  PANGO_ATTR_FOREGROUND_ALPHA , PANGO_ATTR_BACKGROUND_ALPHA , PANGO_ATTR_ALLOW_BREAKS , PANGO_ATTR_SHOW ,
  PANGO_ATTR_INSERT_HYPHENS , PANGO_ATTR_OVERLINE , PANGO_ATTR_OVERLINE_COLOR , PANGO_ATTR_LINE_HEIGHT ,
  PANGO_ATTR_ABSOLUTE_LINE_HEIGHT , PANGO_ATTR_TEXT_TRANSFORM , PANGO_ATTR_WORD , PANGO_ATTR_SENTENCE ,
  PANGO_ATTR_BASELINE_SHIFT , PANGO_ATTR_FONT_SCALE
}
 
enum  PangoUnderline {
  PANGO_UNDERLINE_NONE , PANGO_UNDERLINE_SINGLE , PANGO_UNDERLINE_DOUBLE , PANGO_UNDERLINE_LOW ,
  PANGO_UNDERLINE_ERROR , PANGO_UNDERLINE_SINGLE_LINE , PANGO_UNDERLINE_DOUBLE_LINE , PANGO_UNDERLINE_ERROR_LINE
}
 
enum  PangoOverline { PANGO_OVERLINE_NONE , PANGO_OVERLINE_SINGLE }
 
enum  PangoShowFlags { PANGO_SHOW_NONE = 0 , PANGO_SHOW_SPACES = 1 << 0 , PANGO_SHOW_LINE_BREAKS = 1 << 1 , PANGO_SHOW_IGNORABLES = 1 << 2 }
 
enum  PangoTextTransform { PANGO_TEXT_TRANSFORM_NONE , PANGO_TEXT_TRANSFORM_LOWERCASE , PANGO_TEXT_TRANSFORM_UPPERCASE , PANGO_TEXT_TRANSFORM_CAPITALIZE }
 
enum  PangoBaselineShift { PANGO_BASELINE_SHIFT_NONE , PANGO_BASELINE_SHIFT_SUPERSCRIPT , PANGO_BASELINE_SHIFT_SUBSCRIPT }
 
enum  PangoFontScale { PANGO_FONT_SCALE_NONE , PANGO_FONT_SCALE_SUPERSCRIPT , PANGO_FONT_SCALE_SUBSCRIPT , PANGO_FONT_SCALE_SMALL_CAPS }
 

Functions

PANGO_AVAILABLE_IN_ALL GType pango_attribute_get_type (void) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_ALL PangoAttrType pango_attr_type_register (const char *name)
 
PANGO_AVAILABLE_IN_1_22 const char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_1_20 void pango_attribute_init (PangoAttribute *attr, const PangoAttrClass *klass)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attribute_copy (const PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL void pango_attribute_destroy (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL gboolean pango_attribute_equal (const PangoAttribute *attr1, const PangoAttribute *attr2) G_GNUC_PURE
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_language_new (PangoLanguage *language)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_family_new (const char *family)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_foreground_new (guint16 red, guint16 green, guint16 blue)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_background_new (guint16 red, guint16 green, guint16 blue)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_size_new (int size)
 
PANGO_AVAILABLE_IN_1_8 PangoAttributepango_attr_size_new_absolute (int size)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_style_new (PangoStyle style)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_weight_new (PangoWeight weight)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_variant_new (PangoVariant variant)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_stretch_new (PangoStretch stretch)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_font_desc_new (const PangoFontDescription *desc)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_underline_new (PangoUnderline underline)
 
PANGO_AVAILABLE_IN_1_8 PangoAttributepango_attr_underline_color_new (guint16 red, guint16 green, guint16 blue)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_strikethrough_new (gboolean strikethrough)
 
PANGO_AVAILABLE_IN_1_8 PangoAttributepango_attr_strikethrough_color_new (guint16 red, guint16 green, guint16 blue)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_rise_new (int rise)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_baseline_shift_new (int shift)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_font_scale_new (PangoFontScale scale)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_scale_new (double scale_factor)
 
PANGO_AVAILABLE_IN_1_4 PangoAttributepango_attr_fallback_new (gboolean enable_fallback)
 
PANGO_AVAILABLE_IN_1_6 PangoAttributepango_attr_letter_spacing_new (int letter_spacing)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_shape_new (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect)
 
PANGO_AVAILABLE_IN_1_8 PangoAttributepango_attr_shape_new_with_data (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect, gpointer data, PangoAttrDataCopyFunc copy_func, GDestroyNotify destroy_func)
 
PANGO_AVAILABLE_IN_1_16 PangoAttributepango_attr_gravity_new (PangoGravity gravity)
 
PANGO_AVAILABLE_IN_1_16 PangoAttributepango_attr_gravity_hint_new (PangoGravityHint hint)
 
PANGO_AVAILABLE_IN_1_38 PangoAttributepango_attr_font_features_new (const char *features)
 
PANGO_AVAILABLE_IN_1_38 PangoAttributepango_attr_foreground_alpha_new (guint16 alpha)
 
PANGO_AVAILABLE_IN_1_38 PangoAttributepango_attr_background_alpha_new (guint16 alpha)
 
PANGO_AVAILABLE_IN_1_44 PangoAttributepango_attr_allow_breaks_new (gboolean allow_breaks)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_word_new (void)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_sentence_new (void)
 
PANGO_AVAILABLE_IN_1_44 PangoAttributepango_attr_insert_hyphens_new (gboolean insert_hyphens)
 
PANGO_AVAILABLE_IN_1_46 PangoAttributepango_attr_overline_new (PangoOverline overline)
 
PANGO_AVAILABLE_IN_1_46 PangoAttributepango_attr_overline_color_new (guint16 red, guint16 green, guint16 blue)
 
PANGO_AVAILABLE_IN_1_44 PangoAttributepango_attr_show_new (PangoShowFlags flags)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_line_height_new (double factor)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_line_height_new_absolute (int height)
 
PANGO_AVAILABLE_IN_1_50 PangoAttributepango_attr_text_transform_new (PangoTextTransform transform)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrStringpango_attribute_as_string (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrLanguagepango_attribute_as_language (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrIntpango_attribute_as_int (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrSizepango_attribute_as_size (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrFloatpango_attribute_as_float (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrColorpango_attribute_as_color (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrFontDescpango_attribute_as_font_desc (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrShapepango_attribute_as_shape (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrFontFeaturespango_attribute_as_font_features (PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL GType pango_attr_list_get_type (void) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_ALL PangoAttrListpango_attr_list_new (void)
 
PANGO_AVAILABLE_IN_1_10 PangoAttrListpango_attr_list_ref (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_list_unref (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_ALL PangoAttrListpango_attr_list_copy (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_list_insert (PangoAttrList *list, PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_list_insert_before (PangoAttrList *list, PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_list_change (PangoAttrList *list, PangoAttribute *attr)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_list_splice (PangoAttrList *list, PangoAttrList *other, int pos, int len)
 
PANGO_AVAILABLE_IN_1_44 void pango_attr_list_update (PangoAttrList *list, int pos, int remove, int add)
 
PANGO_AVAILABLE_IN_1_2 PangoAttrListpango_attr_list_filter (PangoAttrList *list, PangoAttrFilterFunc func, gpointer data)
 
PANGO_AVAILABLE_IN_1_44 GSListpango_attr_list_get_attributes (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_1_46 gboolean pango_attr_list_equal (PangoAttrList *list, PangoAttrList *other_list)
 
PANGO_AVAILABLE_IN_1_50 char * pango_attr_list_to_string (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_1_50 PangoAttrListpango_attr_list_from_string (const char *text)
 
PANGO_AVAILABLE_IN_1_44 GType pango_attr_iterator_get_type (void) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_ALL PangoAttrIteratorpango_attr_list_get_iterator (PangoAttrList *list)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_range (PangoAttrIterator *iterator, int *start, int *end)
 
PANGO_AVAILABLE_IN_ALL gboolean pango_attr_iterator_next (PangoAttrIterator *iterator)
 
PANGO_AVAILABLE_IN_ALL PangoAttrIteratorpango_attr_iterator_copy (PangoAttrIterator *iterator)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_destroy (PangoAttrIterator *iterator)
 
PANGO_AVAILABLE_IN_ALL PangoAttributepango_attr_iterator_get (PangoAttrIterator *iterator, PangoAttrType type)
 
PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_get_font (PangoAttrIterator *iterator, PangoFontDescription *desc, PangoLanguage **language, GSList **extra_attrs)
 
PANGO_AVAILABLE_IN_1_2 GSListpango_attr_iterator_get_attrs (PangoAttrIterator *iterator)
 

Macro Definition Documentation

◆ PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING

#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING   ((guint)0)

PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING:

Value for @start_index in PangoAttribute that indicates the beginning of the text.

Since: 1.24

Definition at line 278 of file pango-attributes.h.

◆ PANGO_ATTR_INDEX_TO_TEXT_END

#define PANGO_ATTR_INDEX_TO_TEXT_END   ((guint)(G_MAXUINT + 0))

PANGO_ATTR_INDEX_TO_TEXT_END: (value 4294967295)

Value for @end_index in PangoAttribute that indicates the end of the text.

Since: 1.24

Definition at line 288 of file pango-attributes.h.

◆ PANGO_TYPE_ATTR_LIST

#define PANGO_TYPE_ATTR_LIST   pango_attr_list_get_type ()

Definition at line 637 of file pango-attributes.h.

Typedef Documentation

◆ PangoAttrClass

Definition at line 33 of file pango-attributes.h.

◆ PangoAttrColor

Definition at line 40 of file pango-attributes.h.

◆ PangoAttrDataCopyFunc

typedef gpointer(* PangoAttrDataCopyFunc) (gconstpointer user_data)

PangoAttrDataCopyFunc: @user_data: user data to copy

Type of a function that can duplicate user data for an attribute.

Return value: new copy of @user_data.

Definition at line 334 of file pango-attributes.h.

◆ PangoAttrFilterFunc

typedef gboolean(* PangoAttrFilterFunc) (PangoAttribute *attribute, gpointer user_data)

PangoAttrFilterFunc: @attribute: a Pango attribute @user_data: user data passed to the function

Type of a function filtering a list of attributes.

Return value: TRUE if the attribute should be selected for filtering, FALSE otherwise.

Definition at line 323 of file pango-attributes.h.

◆ PangoAttrFloat

Definition at line 39 of file pango-attributes.h.

◆ PangoAttrFontDesc

Definition at line 41 of file pango-attributes.h.

◆ PangoAttrFontFeatures

Definition at line 43 of file pango-attributes.h.

◆ PangoAttribute

typedef typedefG_BEGIN_DECLS struct _PangoAttribute PangoAttribute

Definition at line 32 of file pango-attributes.h.

◆ PangoAttrInt

typedef struct _PangoAttrInt PangoAttrInt

Definition at line 37 of file pango-attributes.h.

◆ PangoAttrIterator

typedef struct _PangoAttrIterator PangoAttrIterator

Definition at line 635 of file pango-attributes.h.

◆ PangoAttrLanguage

Definition at line 36 of file pango-attributes.h.

◆ PangoAttrList

typedef struct _PangoAttrList PangoAttrList

Definition at line 634 of file pango-attributes.h.

◆ PangoAttrShape

Definition at line 42 of file pango-attributes.h.

◆ PangoAttrSize

typedef struct _PangoAttrSize PangoAttrSize

Definition at line 38 of file pango-attributes.h.

◆ PangoAttrString

Definition at line 35 of file pango-attributes.h.

Enumeration Type Documentation

◆ PangoAttrType

PangoAttrType: @PANGO_ATTR_INVALID: does not happen @PANGO_ATTR_LANGUAGE: language ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrL.nosp@m.angua.nosp@m.ge]) @PANGO_ATTR_FAMILY: font family name list ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrS.nosp@m.tring]) @PANGO_ATTR_STYLE: font slant style ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_WEIGHT: font weight ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_VARIANT: font variant (normal or small caps) ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_STRETCH: font stretch ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_SIZE: font size in points scaled by PANGO_SCALE ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_FONT_DESC: font description ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrF.nosp@m.ontDe.nosp@m.sc]) @PANGO_ATTR_FOREGROUND: foreground color ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrC.nosp@m.olor]) @PANGO_ATTR_BACKGROUND: background color ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrC.nosp@m.olor]) @PANGO_ATTR_UNDERLINE: whether the text has an underline ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_STRIKETHROUGH: whether the text is struck-through ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_RISE: baseline displacement ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_SHAPE: shape ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrS.nosp@m.hape]) @PANGO_ATTR_SCALE: font size scale factor ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrF.nosp@m.loat]) @PANGO_ATTR_FALLBACK: whether fallback is enabled ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_LETTER_SPACING: letter spacing ([struct@PangoAttrInt]) @PANGO_ATTR_UNDERLINE_COLOR: underline color ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrC.nosp@m.olor]) @PANGO_ATTR_STRIKETHROUGH_COLOR: strikethrough color ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrC.nosp@m.olor]) @PANGO_ATTR_ABSOLUTE_SIZE: font size in pixels scaled by PANGO_SCALE ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_GRAVITY: base text gravity ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_GRAVITY_HINT: gravity hint ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]) @PANGO_ATTR_FONT_FEATURES: OpenType font features ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrF.nosp@m.ontFe.nosp@m.atur.nosp@m.es]). Since 1.38 @PANGO_ATTR_FOREGROUND_ALPHA: foreground alpha ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.38 @PANGO_ATTR_BACKGROUND_ALPHA: background alpha ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.38 @PANGO_ATTR_ALLOW_BREAKS: whether breaks are allowed ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.44 @PANGO_ATTR_SHOW: how to render invisible characters ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.44 @PANGO_ATTR_INSERT_HYPHENS: whether to insert hyphens at intra-word line breaks ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.44 @PANGO_ATTR_OVERLINE: whether the text has an overline ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.46 @PANGO_ATTR_OVERLINE_COLOR: overline color ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrC.nosp@m.olor]). Since 1.46 @PANGO_ATTR_LINE_HEIGHT: line height factor ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrF.nosp@m.loat]). Since: 1.50 @PANGO_ATTR_ABSOLUTE_LINE_HEIGHT: line height ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since: 1.50 @PANGO_ATTR_WORD: override segmentation to classify the range of the attribute as a single word ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.50 @PANGO_ATTR_SENTENCE: override segmentation to classify the range of the attribute as a single sentence ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.50 @PANGO_ATTR_BASELINE_SHIFT: baseline displacement ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.50 @PANGO_ATTR_FONT_SCALE: font-relative size change ([struc.nosp@m.t@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.nt]). Since 1.50

The PangoAttrType distinguishes between different types of attributes.

Along with the predefined values, it is possible to allocate additional values for custom attributes using [func@.nosp@m.Attr.nosp@m.Type..nosp@m.regi.nosp@m.ster]. The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.

Enumerator
PANGO_ATTR_INVALID 
PANGO_ATTR_LANGUAGE 
PANGO_ATTR_FAMILY 
PANGO_ATTR_STYLE 
PANGO_ATTR_WEIGHT 
PANGO_ATTR_VARIANT 
PANGO_ATTR_STRETCH 
PANGO_ATTR_SIZE 
PANGO_ATTR_FONT_DESC 
PANGO_ATTR_FOREGROUND 
PANGO_ATTR_BACKGROUND 
PANGO_ATTR_UNDERLINE 
PANGO_ATTR_STRIKETHROUGH 
PANGO_ATTR_RISE 
PANGO_ATTR_SHAPE 
PANGO_ATTR_SCALE 
PANGO_ATTR_FALLBACK 
PANGO_ATTR_LETTER_SPACING 
PANGO_ATTR_UNDERLINE_COLOR 
PANGO_ATTR_STRIKETHROUGH_COLOR 
PANGO_ATTR_ABSOLUTE_SIZE 
PANGO_ATTR_GRAVITY 
PANGO_ATTR_GRAVITY_HINT 
PANGO_ATTR_FONT_FEATURES 
PANGO_ATTR_FOREGROUND_ALPHA 
PANGO_ATTR_BACKGROUND_ALPHA 
PANGO_ATTR_ALLOW_BREAKS 
PANGO_ATTR_SHOW 
PANGO_ATTR_INSERT_HYPHENS 
PANGO_ATTR_OVERLINE 
PANGO_ATTR_OVERLINE_COLOR 
PANGO_ATTR_LINE_HEIGHT 
PANGO_ATTR_ABSOLUTE_LINE_HEIGHT 
PANGO_ATTR_TEXT_TRANSFORM 
PANGO_ATTR_WORD 
PANGO_ATTR_SENTENCE 
PANGO_ATTR_BASELINE_SHIFT 
PANGO_ATTR_FONT_SCALE 

Definition at line 92 of file pango-attributes.h.

93{
94 PANGO_ATTR_INVALID, /* 0 is an invalid attribute type */
95 PANGO_ATTR_LANGUAGE, /* PangoAttrLanguage */
96 PANGO_ATTR_FAMILY, /* PangoAttrString */
97 PANGO_ATTR_STYLE, /* PangoAttrInt */
98 PANGO_ATTR_WEIGHT, /* PangoAttrInt */
99 PANGO_ATTR_VARIANT, /* PangoAttrInt */
100 PANGO_ATTR_STRETCH, /* PangoAttrInt */
101 PANGO_ATTR_SIZE, /* PangoAttrSize */
102 PANGO_ATTR_FONT_DESC, /* PangoAttrFontDesc */
103 PANGO_ATTR_FOREGROUND, /* PangoAttrColor */
104 PANGO_ATTR_BACKGROUND, /* PangoAttrColor */
105 PANGO_ATTR_UNDERLINE, /* PangoAttrInt */
106 PANGO_ATTR_STRIKETHROUGH, /* PangoAttrInt */
107 PANGO_ATTR_RISE, /* PangoAttrInt */
108 PANGO_ATTR_SHAPE, /* PangoAttrShape */
109 PANGO_ATTR_SCALE, /* PangoAttrFloat */
110 PANGO_ATTR_FALLBACK, /* PangoAttrInt */
111 PANGO_ATTR_LETTER_SPACING, /* PangoAttrInt */
112 PANGO_ATTR_UNDERLINE_COLOR, /* PangoAttrColor */
113 PANGO_ATTR_STRIKETHROUGH_COLOR,/* PangoAttrColor */
114 PANGO_ATTR_ABSOLUTE_SIZE, /* PangoAttrSize */
115 PANGO_ATTR_GRAVITY, /* PangoAttrInt */
116 PANGO_ATTR_GRAVITY_HINT, /* PangoAttrInt */
117 PANGO_ATTR_FONT_FEATURES, /* PangoAttrFontFeatures */
118 PANGO_ATTR_FOREGROUND_ALPHA, /* PangoAttrInt */
119 PANGO_ATTR_BACKGROUND_ALPHA, /* PangoAttrInt */
120 PANGO_ATTR_ALLOW_BREAKS, /* PangoAttrInt */
121 PANGO_ATTR_SHOW, /* PangoAttrInt */
122 PANGO_ATTR_INSERT_HYPHENS, /* PangoAttrInt */
123 PANGO_ATTR_OVERLINE, /* PangoAttrInt */
124 PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */
125 PANGO_ATTR_LINE_HEIGHT, /* PangoAttrFloat */
126 PANGO_ATTR_ABSOLUTE_LINE_HEIGHT, /* PangoAttrInt */
127 PANGO_ATTR_TEXT_TRANSFORM, /* PangoAttrInt */
128 PANGO_ATTR_WORD, /* PangoAttrInt */
129 PANGO_ATTR_SENTENCE, /* PangoAttrInt */
130 PANGO_ATTR_BASELINE_SHIFT, /* PangoAttrSize */
131 PANGO_ATTR_FONT_SCALE, /* PangoAttrInt */
PangoAttrType
@ PANGO_ATTR_ABSOLUTE_LINE_HEIGHT
@ PANGO_ATTR_STYLE
@ PANGO_ATTR_LETTER_SPACING
@ PANGO_ATTR_SHOW
@ PANGO_ATTR_WORD
@ PANGO_ATTR_GRAVITY
@ PANGO_ATTR_VARIANT
@ PANGO_ATTR_TEXT_TRANSFORM
@ PANGO_ATTR_FONT_DESC
@ PANGO_ATTR_UNDERLINE_COLOR
@ PANGO_ATTR_STRETCH
@ PANGO_ATTR_FONT_SCALE
@ PANGO_ATTR_SIZE
@ PANGO_ATTR_WEIGHT
@ PANGO_ATTR_FOREGROUND
@ PANGO_ATTR_SCALE
@ PANGO_ATTR_LANGUAGE
@ PANGO_ATTR_INVALID
@ PANGO_ATTR_UNDERLINE
@ PANGO_ATTR_STRIKETHROUGH
@ PANGO_ATTR_SHAPE
@ PANGO_ATTR_ABSOLUTE_SIZE
@ PANGO_ATTR_FOREGROUND_ALPHA
@ PANGO_ATTR_FAMILY
@ PANGO_ATTR_BACKGROUND_ALPHA
@ PANGO_ATTR_LINE_HEIGHT
@ PANGO_ATTR_ALLOW_BREAKS
@ PANGO_ATTR_OVERLINE
@ PANGO_ATTR_FONT_FEATURES
@ PANGO_ATTR_GRAVITY_HINT
@ PANGO_ATTR_SENTENCE
@ PANGO_ATTR_STRIKETHROUGH_COLOR
@ PANGO_ATTR_INSERT_HYPHENS
@ PANGO_ATTR_BASELINE_SHIFT
@ PANGO_ATTR_OVERLINE_COLOR
@ PANGO_ATTR_RISE
@ PANGO_ATTR_FALLBACK
@ PANGO_ATTR_BACKGROUND

◆ PangoBaselineShift

PangoBaselineShift: @PANGO_BASELINE_SHIFT_NONE: Leave the baseline unchanged @PANGO_BASELINE_SHIFT_SUPERSCRIPT: Shift the baseline to the superscript position, relative to the previous run @PANGO_BASELINE_SHIFT_SUBSCRIPT: Shift the baseline to the subscript position, relative to the previous run

An enumeration that affects baseline shifts between runs.

Since: 1.50

Enumerator
PANGO_BASELINE_SHIFT_NONE 
PANGO_BASELINE_SHIFT_SUPERSCRIPT 
PANGO_BASELINE_SHIFT_SUBSCRIPT 

Definition at line 245 of file pango-attributes.h.

◆ PangoFontScale

PangoFontScale: @PANGO_FONT_SCALE_NONE: Leave the font size unchanged @PANGO_FONT_SCALE_SUPERSCRIPT: Change the font to a size suitable for superscripts @PANGO_FONT_SCALE_SUBSCRIPT: Change the font to a size suitable for subscripts @PANGO_FONT_SCALE_SMALL_CAPS: Change the font to a size suitable for Small Caps

An enumeration that affects font sizes for superscript and subscript positioning and for (emulated) Small Caps.

Since: 1.50

Enumerator
PANGO_FONT_SCALE_NONE 
PANGO_FONT_SCALE_SUPERSCRIPT 
PANGO_FONT_SCALE_SUBSCRIPT 
PANGO_FONT_SCALE_SMALL_CAPS 

Definition at line 263 of file pango-attributes.h.

◆ PangoOverline

PangoOverline: @PANGO_OVERLINE_NONE: no overline should be drawn @PANGO_OVERLINE_SINGLE: Draw a single line above the ink extents of the text being underlined.

The PangoOverline enumeration is used to specify whether text should be overlined, and if so, the type of line.

Since: 1.46

Enumerator
PANGO_OVERLINE_NONE 
PANGO_OVERLINE_SINGLE 

Definition at line 189 of file pango-attributes.h.

189 {
PangoOverline
@ PANGO_OVERLINE_NONE
@ PANGO_OVERLINE_SINGLE

◆ PangoShowFlags

PangoShowFlags: @PANGO_SHOW_NONE: No special treatment for invisible characters @PANGO_SHOW_SPACES: Render spaces, tabs and newlines visibly @PANGO_SHOW_LINE_BREAKS: Render line breaks visibly @PANGO_SHOW_IGNORABLES: Render default-ignorable Unicode characters visibly

These flags affect how Pango treats characters that are normally not visible in the output.

Since: 1.44

Enumerator
PANGO_SHOW_NONE 
PANGO_SHOW_SPACES 
PANGO_SHOW_LINE_BREAKS 
PANGO_SHOW_IGNORABLES 

Definition at line 207 of file pango-attributes.h.

207 {
208 PANGO_SHOW_NONE = 0,
209 PANGO_SHOW_SPACES = 1 << 0,
210 PANGO_SHOW_LINE_BREAKS = 1 << 1,
211 PANGO_SHOW_IGNORABLES = 1 << 2
PangoShowFlags
@ PANGO_SHOW_LINE_BREAKS
@ PANGO_SHOW_SPACES
@ PANGO_SHOW_NONE
@ PANGO_SHOW_IGNORABLES

◆ PangoTextTransform

PangoTextTransform: @PANGO_TEXT_TRANSFORM_NONE: Leave text unchanged @PANGO_TEXT_TRANSFORM_LOWERCASE: Display letters and numbers as lowercase @PANGO_TEXT_TRANSFORM_UPPERCASE: Display letters and numbers as uppercase @PANGO_TEXT_TRANSFORM_CAPITALIZE: Display the first character of a word in titlecase

An enumeration that affects how Pango treats characters during shaping.

Since: 1.50

Enumerator
PANGO_TEXT_TRANSFORM_NONE 
PANGO_TEXT_TRANSFORM_LOWERCASE 
PANGO_TEXT_TRANSFORM_UPPERCASE 
PANGO_TEXT_TRANSFORM_CAPITALIZE 

Definition at line 226 of file pango-attributes.h.

◆ PangoUnderline

PangoUnderline: @PANGO_UNDERLINE_NONE: no underline should be drawn @PANGO_UNDERLINE_SINGLE: a single underline should be drawn @PANGO_UNDERLINE_DOUBLE: a double underline should be drawn @PANGO_UNDERLINE_LOW: a single underline should be drawn at a position beneath the ink extents of the text being underlined. This should be used only for underlining single characters, such as for keyboard accelerators. PANGO_UNDERLINE_SINGLE should be used for extended portions of text. @PANGO_UNDERLINE_ERROR: an underline indicating an error should be drawn below. The exact style of rendering is up to the PangoRenderer in use, but typical styles include wavy or dotted lines. This underline is typically used to indicate an error such as a possible mispelling; in some cases a contrasting color may automatically be used. This type of underlining is available since Pango 1.4. @PANGO_UNDERLINE_SINGLE_LINE: Like @PANGO_UNDERLINE_SINGLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. @PANGO_UNDERLINE_DOUBLE_LINE: Like @PANGO_UNDERLINE_DOUBLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. @PANGO_UNDERLINE_ERROR_LINE: Like @PANGO_UNDERLINE_ERROR, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46.

The PangoUnderline enumeration is used to specify whether text should be underlined, and if so, the type of underlining.

Enumerator
PANGO_UNDERLINE_NONE 
PANGO_UNDERLINE_SINGLE 
PANGO_UNDERLINE_DOUBLE 
PANGO_UNDERLINE_LOW 
PANGO_UNDERLINE_ERROR 
PANGO_UNDERLINE_SINGLE_LINE 
PANGO_UNDERLINE_DOUBLE_LINE 
PANGO_UNDERLINE_ERROR_LINE 

Definition at line 166 of file pango-attributes.h.

Function Documentation

◆ pango_attr_allow_breaks_new()

PANGO_AVAILABLE_IN_1_44 PangoAttribute * pango_attr_allow_breaks_new ( gboolean allow_breaks)

◆ pango_attr_background_alpha_new()

PANGO_AVAILABLE_IN_1_38 PangoAttribute * pango_attr_background_alpha_new ( guint16 alpha)

◆ pango_attr_background_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_background_new ( guint16 red,
guint16 green,
guint16 blue )

◆ pango_attr_baseline_shift_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_baseline_shift_new ( int shift)

◆ pango_attr_fallback_new()

PANGO_AVAILABLE_IN_1_4 PangoAttribute * pango_attr_fallback_new ( gboolean enable_fallback)

◆ pango_attr_family_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_family_new ( const char * family)

◆ pango_attr_font_desc_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_font_desc_new ( const PangoFontDescription * desc)

◆ pango_attr_font_features_new()

PANGO_AVAILABLE_IN_1_38 PangoAttribute * pango_attr_font_features_new ( const char * features)

◆ pango_attr_font_scale_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_font_scale_new ( PangoFontScale scale)

◆ pango_attr_foreground_alpha_new()

PANGO_AVAILABLE_IN_1_38 PangoAttribute * pango_attr_foreground_alpha_new ( guint16 alpha)

◆ pango_attr_foreground_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_foreground_new ( guint16 red,
guint16 green,
guint16 blue )

◆ pango_attr_gravity_hint_new()

PANGO_AVAILABLE_IN_1_16 PangoAttribute * pango_attr_gravity_hint_new ( PangoGravityHint hint)

◆ pango_attr_gravity_new()

PANGO_AVAILABLE_IN_1_16 PangoAttribute * pango_attr_gravity_new ( PangoGravity gravity)

◆ pango_attr_insert_hyphens_new()

PANGO_AVAILABLE_IN_1_44 PangoAttribute * pango_attr_insert_hyphens_new ( gboolean insert_hyphens)

◆ pango_attr_iterator_copy()

PANGO_AVAILABLE_IN_ALL PangoAttrIterator * pango_attr_iterator_copy ( PangoAttrIterator * iterator)

◆ pango_attr_iterator_destroy()

PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_destroy ( PangoAttrIterator * iterator)

◆ pango_attr_iterator_get()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_iterator_get ( PangoAttrIterator * iterator,
PangoAttrType type )

◆ pango_attr_iterator_get_attrs()

PANGO_AVAILABLE_IN_1_2 GSList * pango_attr_iterator_get_attrs ( PangoAttrIterator * iterator)

◆ pango_attr_iterator_get_font()

PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_get_font ( PangoAttrIterator * iterator,
PangoFontDescription * desc,
PangoLanguage ** language,
GSList ** extra_attrs )

◆ pango_attr_iterator_get_type()

PANGO_AVAILABLE_IN_1_44 GType pango_attr_iterator_get_type ( void )

◆ pango_attr_iterator_next()

PANGO_AVAILABLE_IN_ALL gboolean pango_attr_iterator_next ( PangoAttrIterator * iterator)

◆ pango_attr_iterator_range()

PANGO_AVAILABLE_IN_ALL void pango_attr_iterator_range ( PangoAttrIterator * iterator,
int * start,
int * end )

◆ pango_attr_language_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_language_new ( PangoLanguage * language)

◆ pango_attr_letter_spacing_new()

PANGO_AVAILABLE_IN_1_6 PangoAttribute * pango_attr_letter_spacing_new ( int letter_spacing)

◆ pango_attr_line_height_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_line_height_new ( double factor)

◆ pango_attr_line_height_new_absolute()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_line_height_new_absolute ( int height)

◆ pango_attr_list_change()

PANGO_AVAILABLE_IN_ALL void pango_attr_list_change ( PangoAttrList * list,
PangoAttribute * attr )

◆ pango_attr_list_copy()

PANGO_AVAILABLE_IN_ALL PangoAttrList * pango_attr_list_copy ( PangoAttrList * list)

◆ pango_attr_list_equal()

PANGO_AVAILABLE_IN_1_46 gboolean pango_attr_list_equal ( PangoAttrList * list,
PangoAttrList * other_list )

◆ pango_attr_list_filter()

PANGO_AVAILABLE_IN_1_2 PangoAttrList * pango_attr_list_filter ( PangoAttrList * list,
PangoAttrFilterFunc func,
gpointer data )

◆ pango_attr_list_from_string()

PANGO_AVAILABLE_IN_1_50 PangoAttrList * pango_attr_list_from_string ( const char * text)

◆ pango_attr_list_get_attributes()

PANGO_AVAILABLE_IN_1_44 GSList * pango_attr_list_get_attributes ( PangoAttrList * list)

◆ pango_attr_list_get_iterator()

PANGO_AVAILABLE_IN_ALL PangoAttrIterator * pango_attr_list_get_iterator ( PangoAttrList * list)

◆ pango_attr_list_get_type()

PANGO_AVAILABLE_IN_ALL GType pango_attr_list_get_type ( void )

PangoAttrIterator:

A PangoAttrIterator is used to iterate through a PangoAttrList.

A new iterator is created with [metho.nosp@m.d@Pa.nosp@m.ngo.A.nosp@m.ttrL.nosp@m.ist.g.nosp@m.et_i.nosp@m.terat.nosp@m.or]. Once the iterator is created, it can be advanced through the style changes in the text using [metho.nosp@m.d@Pa.nosp@m.ngo.A.nosp@m.ttrI.nosp@m.terat.nosp@m.or.n.nosp@m.ext]. At each style change, the range of the current style segment and the attributes currently in effect can be queried. PangoAttrList:

A PangoAttrList represents a list of attributes that apply to a section of text.

The attributes in a PangoAttrList are, in general, allowed to overlap in an arbitrary fashion. However, if the attributes are manipulated only through [metho.nosp@m.d@Pa.nosp@m.ngo.A.nosp@m.ttrL.nosp@m.ist.c.nosp@m.hang.nosp@m.e], the overlap between properties will meet stricter criteria.

Since the PangoAttrList structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single PangoAttrList for more than one paragraph of text.

◆ pango_attr_list_insert()

PANGO_AVAILABLE_IN_ALL void pango_attr_list_insert ( PangoAttrList * list,
PangoAttribute * attr )

◆ pango_attr_list_insert_before()

PANGO_AVAILABLE_IN_ALL void pango_attr_list_insert_before ( PangoAttrList * list,
PangoAttribute * attr )

◆ pango_attr_list_new()

PANGO_AVAILABLE_IN_ALL PangoAttrList * pango_attr_list_new ( void )

◆ pango_attr_list_ref()

PANGO_AVAILABLE_IN_1_10 PangoAttrList * pango_attr_list_ref ( PangoAttrList * list)

◆ pango_attr_list_splice()

PANGO_AVAILABLE_IN_ALL void pango_attr_list_splice ( PangoAttrList * list,
PangoAttrList * other,
int pos,
int len )

◆ pango_attr_list_to_string()

PANGO_AVAILABLE_IN_1_50 char * pango_attr_list_to_string ( PangoAttrList * list)

◆ pango_attr_list_unref()

PANGO_AVAILABLE_IN_ALL void pango_attr_list_unref ( PangoAttrList * list)

◆ pango_attr_list_update()

PANGO_AVAILABLE_IN_1_44 void pango_attr_list_update ( PangoAttrList * list,
int pos,
int remove,
int add )

◆ pango_attr_overline_color_new()

PANGO_AVAILABLE_IN_1_46 PangoAttribute * pango_attr_overline_color_new ( guint16 red,
guint16 green,
guint16 blue )

◆ pango_attr_overline_new()

PANGO_AVAILABLE_IN_1_46 PangoAttribute * pango_attr_overline_new ( PangoOverline overline)

◆ pango_attr_rise_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_rise_new ( int rise)

◆ pango_attr_scale_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_scale_new ( double scale_factor)

◆ pango_attr_sentence_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_sentence_new ( void )

◆ pango_attr_shape_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_shape_new ( const PangoRectangle * ink_rect,
const PangoRectangle * logical_rect )

◆ pango_attr_shape_new_with_data()

PANGO_AVAILABLE_IN_1_8 PangoAttribute * pango_attr_shape_new_with_data ( const PangoRectangle * ink_rect,
const PangoRectangle * logical_rect,
gpointer data,
PangoAttrDataCopyFunc copy_func,
GDestroyNotify destroy_func )

◆ pango_attr_show_new()

PANGO_AVAILABLE_IN_1_44 PangoAttribute * pango_attr_show_new ( PangoShowFlags flags)

◆ pango_attr_size_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_size_new ( int size)

◆ pango_attr_size_new_absolute()

PANGO_AVAILABLE_IN_1_8 PangoAttribute * pango_attr_size_new_absolute ( int size)

◆ pango_attr_stretch_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_stretch_new ( PangoStretch stretch)

◆ pango_attr_strikethrough_color_new()

PANGO_AVAILABLE_IN_1_8 PangoAttribute * pango_attr_strikethrough_color_new ( guint16 red,
guint16 green,
guint16 blue )

◆ pango_attr_strikethrough_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_strikethrough_new ( gboolean strikethrough)

◆ pango_attr_style_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_style_new ( PangoStyle style)

◆ pango_attr_text_transform_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_text_transform_new ( PangoTextTransform transform)

◆ pango_attr_type_get_name()

PANGO_AVAILABLE_IN_1_22 const char * pango_attr_type_get_name ( PangoAttrType type)

◆ pango_attr_type_register()

PANGO_AVAILABLE_IN_ALL PangoAttrType pango_attr_type_register ( const char * name)

◆ pango_attr_underline_color_new()

PANGO_AVAILABLE_IN_1_8 PangoAttribute * pango_attr_underline_color_new ( guint16 red,
guint16 green,
guint16 blue )

◆ pango_attr_underline_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_underline_new ( PangoUnderline underline)

◆ pango_attr_variant_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_variant_new ( PangoVariant variant)

◆ pango_attr_weight_new()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attr_weight_new ( PangoWeight weight)

◆ pango_attr_word_new()

PANGO_AVAILABLE_IN_1_50 PangoAttribute * pango_attr_word_new ( void )

◆ pango_attribute_as_color()

PANGO_AVAILABLE_IN_1_50 PangoAttrColor * pango_attribute_as_color ( PangoAttribute * attr)

◆ pango_attribute_as_float()

PANGO_AVAILABLE_IN_1_50 PangoAttrFloat * pango_attribute_as_float ( PangoAttribute * attr)

◆ pango_attribute_as_font_desc()

PANGO_AVAILABLE_IN_1_50 PangoAttrFontDesc * pango_attribute_as_font_desc ( PangoAttribute * attr)

◆ pango_attribute_as_font_features()

PANGO_AVAILABLE_IN_1_50 PangoAttrFontFeatures * pango_attribute_as_font_features ( PangoAttribute * attr)

◆ pango_attribute_as_int()

PANGO_AVAILABLE_IN_1_50 PangoAttrInt * pango_attribute_as_int ( PangoAttribute * attr)

◆ pango_attribute_as_language()

PANGO_AVAILABLE_IN_1_50 PangoAttrLanguage * pango_attribute_as_language ( PangoAttribute * attr)

◆ pango_attribute_as_shape()

PANGO_AVAILABLE_IN_1_50 PangoAttrShape * pango_attribute_as_shape ( PangoAttribute * attr)

◆ pango_attribute_as_size()

PANGO_AVAILABLE_IN_1_50 PangoAttrSize * pango_attribute_as_size ( PangoAttribute * attr)

◆ pango_attribute_as_string()

PANGO_AVAILABLE_IN_1_50 PangoAttrString * pango_attribute_as_string ( PangoAttribute * attr)

◆ pango_attribute_copy()

PANGO_AVAILABLE_IN_ALL PangoAttribute * pango_attribute_copy ( const PangoAttribute * attr)

◆ pango_attribute_destroy()

PANGO_AVAILABLE_IN_ALL void pango_attribute_destroy ( PangoAttribute * attr)

◆ pango_attribute_equal()

PANGO_AVAILABLE_IN_ALL gboolean pango_attribute_equal ( const PangoAttribute * attr1,
const PangoAttribute * attr2 )

◆ pango_attribute_get_type()

PANGO_AVAILABLE_IN_ALL GType pango_attribute_get_type ( void )

◆ pango_attribute_init()

PANGO_AVAILABLE_IN_1_20 void pango_attribute_init ( PangoAttribute * attr,
const PangoAttrClass * klass )