pango Reference Manual

Synopsis

public    static weak Attribute         attr_background_new       ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;
public    static weak Attribute         attr_fallback_new         ( bool                enable_fallback ) ;
public    static weak Attribute         attr_family_new           ( string              family ) ;
public    static weak Attribute         attr_foreground_new       ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;
public    static weak Attribute         attr_gravity_hint_new     ( GravityHint         hint ) ;
public    static weak Attribute         attr_gravity_new          ( Gravity             gravity ) ;
public    static weak Attribute         attr_letter_spacing_new   ( int                 letter_spacing ) ;
public    static weak Attribute         attr_rise_new             ( int                 rise ) ;
public    static weak Attribute         attr_scale_new            ( double              scale_factor ) ;
public    static weak Attribute         attr_stretch_new          ( Stretch             stretch ) ;
public    static weak Attribute         attr_strikethrough_color_new ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;
public    static weak Attribute         attr_strikethrough_new    ( bool                strikethrough ) ;
public    static weak Attribute         attr_style_new            ( Style               style ) ;
public    static AttrType               attr_type_register        ( string              name ) ;
public    static weak Attribute         attr_underline_color_new  ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;
public    static weak Attribute         attr_underline_new        ( Underline           underline ) ;
public    static weak Attribute         attr_variant_new          ( Variant             variant ) ;
public    static weak Attribute         attr_weight_new           ( Weight              weight ) ;
public    static void                   break                     ( string              text,
                                                                    int                 length,
                                                                    Analysis            analysis,
                                                                    LogAttr[]           attrs,
                                                                    int                 attrs_len ) ;
public    static void                   extents_to_pixels         ( Rectangle           inclusive,
                                                                    Rectangle           nearest ) ;
public    static Direction              find_base_dir             ( string              text,
                                                                    int                 length ) ;
public    static void                   find_paragraph_boundary   ( string              text,
                                                                    int                 length,
                                                                    int                 paragraph_delimiter_index,
                                                                    int                 next_paragraph_start ) ;
public    static void                   get_log_attrs             ( string              text,
                                                                    int                 length,
                                                                    int                 level,
                                                                    Language            language,
                                                                    LogAttr[]           log_attrs,
                                                                    int                 attrs_len ) ;
public    static Gravity                gravity_get_for_matrix    ( Matrix              matrix ) ;
public    static Gravity                gravity_get_for_script    ( Script              script,
                                                                    Gravity             base_gravity,
                                                                    GravityHint         hint ) ;
public    static double                 gravity_to_rotation       ( Gravity             gravity ) ;
public    static bool                   is_zero_width             ( unichar             ch ) ;
public    static weak GLib.List         itemize                   ( Context             context,
                                                                    string              text,
                                                                    int                 start_index,
                                                                    int                 length,
                                                                    AttrList            attrs,
                                                                    AttrIterator        cached_iter ) ;
public    static weak GLib.List         itemize_with_base_dir     ( Context             context,
                                                                    Direction           base_dir,
                                                                    string              text,
                                                                    int                 start_index,
                                                                    int                 length,
                                                                    AttrList            attrs,
                                                                    AttrIterator        cached_iter ) ;
public    static uchar                  log2vis_get_embedding_levels ( string              text,
                                                                    int                 length,
                                                                    Direction           pbase_dir ) ;
public    static bool                   parse_enum                ( GLib.Type           type,
                                                                    string              str,
                                                                    int                 value,
                                                                    bool                warn,
                                                                    weak string         possible_values ) ;
public    static bool                   parse_markup              ( string              markup_text,
                                                                    int                 length,
                                                                    unichar             accel_marker,
                                                                    weak AttrList       attr_list,
                                                                    weak string         text,
                                                                    unichar             accel_char ) 
                                                             throws GLib.Error;
public    static bool                   parse_stretch             ( string              str,
                                                                    Stretch             stretch,
                                                                    bool                warn ) ;
public    static bool                   parse_style               ( string              str,
                                                                    Style               style,
                                                                    bool                warn ) ;
public    static bool                   parse_variant             ( string              str,
                                                                    Variant             variant,
                                                                    bool                warn ) ;
public    static bool                   parse_weight              ( string              str,
                                                                    Weight              weight,
                                                                    bool                warn ) ;
public    static void                   quantize_line_geometry    ( int                 thickness,
                                                                    int                 position ) ;
public    static int                    read_line                 ( GLib.FileStream     stream,
                                                                    GLib.StringBuilder  str ) ;
public    static weak GLib.List         reorder_items             ( GLib.List           logical_items ) ;
public    static bool                   scan_int                  ( weak string         pos,
                                                                    int                 out ) ;
public    static bool                   scan_string               ( weak string         pos,
                                                                    GLib.StringBuilder  out ) ;
public    static bool                   scan_word                 ( weak string         pos,
                                                                    GLib.StringBuilder  out ) ;
public    static Script                 script_for_unichar        ( unichar             ch ) ;
public    static weak Language          script_get_sample_language ( Script              script ) ;
public    static void                   shape                     ( string              text,
                                                                    int                 length,
                                                                    Analysis            analysis,
                                                                    GlyphString         glyphs ) ;
public    static bool                   skip_space                ( weak string         pos ) ;
public    static weak string            split_file_list           ( string              str ) ;
public    static weak string            trim_string               ( string              str ) ;
public    static Direction              unichar_direction         ( unichar             ch ) ;
public    static int                    units_from_double         ( double              d ) ;
public    static double                 units_to_double           ( int                 i ) ;
public    static int                    version                   (  ) ;
public    static weak string            version_check             ( int                 required_major,
                                                                    int                 required_minor,
                                                                    int                 required_micro ) ;
public    static weak string            version_string            (  ) ;

Details

attr_background_new ()

public    static weak Attribute         attr_background_new       ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;		

attr_fallback_new ()

public    static weak Attribute         attr_fallback_new         ( bool                enable_fallback ) ;		

attr_family_new ()

public    static weak Attribute         attr_family_new           ( string              family ) ;		

attr_foreground_new ()

public    static weak Attribute         attr_foreground_new       ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;		

attr_gravity_hint_new ()

public    static weak Attribute         attr_gravity_hint_new     ( GravityHint         hint ) ;		

attr_gravity_new ()

public    static weak Attribute         attr_gravity_new          ( Gravity             gravity ) ;		

attr_letter_spacing_new ()

public    static weak Attribute         attr_letter_spacing_new   ( int                 letter_spacing ) ;		

attr_rise_new ()

public    static weak Attribute         attr_rise_new             ( int                 rise ) ;		

attr_scale_new ()

public    static weak Attribute         attr_scale_new            ( double              scale_factor ) ;		

attr_stretch_new ()

public    static weak Attribute         attr_stretch_new          ( Stretch             stretch ) ;		

attr_strikethrough_color_new ()

public    static weak Attribute         attr_strikethrough_color_new ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;		

attr_strikethrough_new ()

public    static weak Attribute         attr_strikethrough_new    ( bool                strikethrough ) ;		

attr_style_new ()

public    static weak Attribute         attr_style_new            ( Style               style ) ;		

attr_type_register ()

public    static AttrType               attr_type_register        ( string              name ) ;		

attr_underline_color_new ()

public    static weak Attribute         attr_underline_color_new  ( ushort              red,
                                                                    ushort              green,
                                                                    ushort              blue ) ;		

attr_underline_new ()

public    static weak Attribute         attr_underline_new        ( Underline           underline ) ;		

attr_variant_new ()

public    static weak Attribute         attr_variant_new          ( Variant             variant ) ;		

attr_weight_new ()

public    static weak Attribute         attr_weight_new           ( Weight              weight ) ;		

break ()

public    static void                   break                     ( string              text,
                                                                    int                 length,
                                                                    Analysis            analysis,
                                                                    LogAttr[]           attrs,
                                                                    int                 attrs_len ) ;		

extents_to_pixels ()

public    static void                   extents_to_pixels         ( Rectangle           inclusive,
                                                                    Rectangle           nearest ) ;		

find_base_dir ()

public    static Direction              find_base_dir             ( string              text,
                                                                    int                 length ) ;		

find_paragraph_boundary ()

public    static void                   find_paragraph_boundary   ( string              text,
                                                                    int                 length,
                                                                    int                 paragraph_delimiter_index,
                                                                    int                 next_paragraph_start ) ;		

get_log_attrs ()

public    static void                   get_log_attrs             ( string              text,
                                                                    int                 length,
                                                                    int                 level,
                                                                    Language            language,
                                                                    LogAttr[]           log_attrs,
                                                                    int                 attrs_len ) ;		

gravity_get_for_matrix ()

public    static Gravity                gravity_get_for_matrix    ( Matrix              matrix ) ;		

gravity_get_for_script ()

public    static Gravity                gravity_get_for_script    ( Script              script,
                                                                    Gravity             base_gravity,
                                                                    GravityHint         hint ) ;		

gravity_to_rotation ()

public    static double                 gravity_to_rotation       ( Gravity             gravity ) ;		

is_zero_width ()

public    static bool                   is_zero_width             ( unichar             ch ) ;		

itemize ()

public    static weak GLib.List         itemize                   ( Context             context,
                                                                    string              text,
                                                                    int                 start_index,
                                                                    int                 length,
                                                                    AttrList            attrs,
                                                                    AttrIterator        cached_iter ) ;		

itemize_with_base_dir ()

public    static weak GLib.List         itemize_with_base_dir     ( Context             context,
                                                                    Direction           base_dir,
                                                                    string              text,
                                                                    int                 start_index,
                                                                    int                 length,
                                                                    AttrList            attrs,
                                                                    AttrIterator        cached_iter ) ;		

log2vis_get_embedding_levels ()

public    static uchar                  log2vis_get_embedding_levels ( string              text,
                                                                    int                 length,
                                                                    Direction           pbase_dir ) ;		

parse_enum ()

public    static bool                   parse_enum                ( GLib.Type           type,
                                                                    string              str,
                                                                    int                 value,
                                                                    bool                warn,
                                                                    weak string         possible_values ) ;		

parse_markup ()

public    static bool                   parse_markup              ( string              markup_text,
                                                                    int                 length,
                                                                    unichar             accel_marker,
                                                                    weak AttrList       attr_list,
                                                                    weak string         text,
                                                                    unichar             accel_char ) 
                                                             throws GLib.Error;		

parse_stretch ()

public    static bool                   parse_stretch             ( string              str,
                                                                    Stretch             stretch,
                                                                    bool                warn ) ;		

parse_style ()

public    static bool                   parse_style               ( string              str,
                                                                    Style               style,
                                                                    bool                warn ) ;		

parse_variant ()

public    static bool                   parse_variant             ( string              str,
                                                                    Variant             variant,
                                                                    bool                warn ) ;		

parse_weight ()

public    static bool                   parse_weight              ( string              str,
                                                                    Weight              weight,
                                                                    bool                warn ) ;		

quantize_line_geometry ()

public    static void                   quantize_line_geometry    ( int                 thickness,
                                                                    int                 position ) ;		

read_line ()

public    static int                    read_line                 ( GLib.FileStream     stream,
                                                                    GLib.StringBuilder  str ) ;		

reorder_items ()

public    static weak GLib.List         reorder_items             ( GLib.List           logical_items ) ;		

scan_int ()

public    static bool                   scan_int                  ( weak string         pos,
                                                                    int                 out ) ;		

scan_string ()

public    static bool                   scan_string               ( weak string         pos,
                                                                    GLib.StringBuilder  out ) ;		

scan_word ()

public    static bool                   scan_word                 ( weak string         pos,
                                                                    GLib.StringBuilder  out ) ;		

script_for_unichar ()

public    static Script                 script_for_unichar        ( unichar             ch ) ;		

script_get_sample_language ()

public    static weak Language          script_get_sample_language ( Script              script ) ;		

shape ()

public    static void                   shape                     ( string              text,
                                                                    int                 length,
                                                                    Analysis            analysis,
                                                                    GlyphString         glyphs ) ;		

skip_space ()

public    static bool                   skip_space                ( weak string         pos ) ;		

split_file_list ()

public    static weak string            split_file_list           ( string              str ) ;		

trim_string ()

public    static weak string            trim_string               ( string              str ) ;		

unichar_direction ()

public    static Direction              unichar_direction         ( unichar             ch ) ;		

units_from_double ()

public    static int                    units_from_double         ( double              d ) ;		

units_to_double ()

public    static double                 units_to_double           ( int                 i ) ;		

version ()

public    static int                    version                   (  ) ;		

version_check ()

public    static weak string            version_check             ( int                 required_major,
                                                                    int                 required_minor,
                                                                    int                 required_micro ) ;		

version_string ()

public    static weak string            version_string            (  ) ;		


Created by Valadoc