diff --git a/doc/en/Pango/Attr.xml b/doc/en/Pango/Attr.xml index 26bcb1ee3..343b722db 100644 --- a/doc/en/Pango/Attr.xml +++ b/doc/en/Pango/Attr.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Static methods for attributes. + System.Object diff --git a/doc/en/Pango/AttrClass.xml b/doc/en/Pango/AttrClass.xml index c17b92123..54f22e6fd 100644 --- a/doc/en/Pango/AttrClass.xml +++ b/doc/en/Pango/AttrClass.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Stores the type and operations for a particular type of attribute. + The functions in this structure should not be called directly. Instead, one should use the wrapper functions provided for . System.ValueType @@ -56,8 +56,8 @@ - To be added - To be added + the type ID for this attribute + diff --git a/doc/en/Pango/AttrColor.xml b/doc/en/Pango/AttrColor.xml index acfa0613f..a3e0266a0 100644 --- a/doc/en/Pango/AttrColor.xml +++ b/doc/en/Pango/AttrColor.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent attributes that are colors. + System.ValueType @@ -56,8 +56,8 @@ - To be added - To be added + the common portion of the attribute + @@ -69,8 +69,8 @@ - To be added - To be added + the PangoColor which is the value of the attribute + diff --git a/doc/en/Pango/AttrFilterFunc.xml b/doc/en/Pango/AttrFilterFunc.xml index a9ced093d..2342e1924 100644 --- a/doc/en/Pango/AttrFilterFunc.xml +++ b/doc/en/Pango/AttrFilterFunc.xml @@ -9,8 +9,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + used by to filter out a subset of attributes for a list. + Returns if the attribute should be filtered out System.Delegate diff --git a/doc/en/Pango/AttrFloat.xml b/doc/en/Pango/AttrFloat.xml index c40cde199..1b7fb534f 100644 --- a/doc/en/Pango/AttrFloat.xml +++ b/doc/en/Pango/AttrFloat.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + Used to represent attributes with a float or double value. To be added @@ -56,8 +56,8 @@ - To be added - To be added + the common portion of the attribute + @@ -69,8 +69,8 @@ - To be added - To be added + the value of the attribute + diff --git a/doc/en/Pango/AttrFontDesc.xml b/doc/en/Pango/AttrFontDesc.xml index 0c69f67da..57717d5ed 100644 --- a/doc/en/Pango/AttrFontDesc.xml +++ b/doc/en/Pango/AttrFontDesc.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to store an attribute that sets all aspects of the font description at once. + System.ValueType @@ -41,10 +41,10 @@ - To be added - To be added: an object of type 'Pango.FontDescription' - To be added: an object of type 'Pango.AttrFontDesc' - To be added + Create a new from the provided . + a + a new + @@ -72,10 +72,10 @@ - To be added - To be added: an object of type 'Pango.FontDescription' - To be added: an object of type 'Pango.FontDescription' - To be added + the font description which is the value of this attribute + a + a + @@ -87,8 +87,8 @@ - To be added - To be added + the common portion of the attribute + diff --git a/doc/en/Pango/AttrInt.xml b/doc/en/Pango/AttrInt.xml index bd522660c..8631a81fa 100644 --- a/doc/en/Pango/AttrInt.xml +++ b/doc/en/Pango/AttrInt.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent attributes with a integer or enumeration value. + System.ValueType @@ -41,7 +41,7 @@ - Internal constructor + Internal method an object of type an object of type This is an internal method, and should not be used by user code. @@ -56,8 +56,8 @@ - To be added - To be added + the common portion of the attribute + @@ -69,8 +69,8 @@ - To be added - To be added + the value of the attribute + diff --git a/doc/en/Pango/AttrIterator.xml b/doc/en/Pango/AttrIterator.xml index bc6405f19..c24d6ad9a 100644 --- a/doc/en/Pango/AttrIterator.xml +++ b/doc/en/Pango/AttrIterator.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent an iterator through a . + A new iterator is created with . Once the iterator is created, it can be advanced through the style changes in the text using . At each style change, the range of the current style segment and the attributes currently in effect can be queried. GLib.Opaque @@ -31,8 +31,8 @@ - To be added - To be added + Destroy a and free all associated memory. + @@ -43,9 +43,10 @@ - To be added - To be added: an object of type 'bool' - To be added + Advance the iterator until the next change of style. + + if the iterator is at the end of the list, otherwise + @@ -56,9 +57,9 @@ - To be added - To be added: an object of type 'Pango.AttrIterator' - To be added + Make a copy of the iterator. + a + @@ -71,10 +72,10 @@ - To be added - To be added: an object of type 'Pango.AttrType' - To be added: an object of type 'Pango.Attribute' - To be added + Find the current attribute of a particular type at the iterator location. + the type of attribute to find. + the current attribute of the given type, or if no attribute of that type applies to the current location. + When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used. @@ -104,10 +105,10 @@ - To be added - a - a - To be added + Get the range of the current segment. + location to store the start of the range + location to store the end of the range + @@ -118,9 +119,9 @@ - To be added + Gets a list all attributes a the current position of the iterator. a - To be added + a list of all attributes for the current range. @@ -135,11 +136,11 @@ - To be added - a - a - a - To be added + Get the font and other attributes at the current iterator position. + a to fill in with the current values. The family name in this structure will be set using using values from an attribute in the associated with the iterator, so if you plan to keep it around, you must call: . + if non-, location to store language tag for item, or if non is found. + if non-, location in which to store a list of non-font attributes at the the current position; only the highest priority value of each attribute will be added to this list. + diff --git a/doc/en/Pango/AttrLanguage.xml b/doc/en/Pango/AttrLanguage.xml index cc535d6d8..058ed9a91 100644 --- a/doc/en/Pango/AttrLanguage.xml +++ b/doc/en/Pango/AttrLanguage.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent attributes that are languages. + System.ValueType @@ -41,10 +41,10 @@ - To be added - To be added: an object of type 'Pango.Language' - To be added: an object of type 'Pango.AttrLanguage' - To be added + Create a new from the provided + a + a new + @@ -72,9 +72,9 @@ - To be added - To be added: an object of type 'Pango.Language' - To be added: an object of type 'Pango.Language' + the PangoLanguage which is the value of the attribute + a + a To be added @@ -87,8 +87,8 @@ - To be added - To be added + the common portion of the attribute + diff --git a/doc/en/Pango/AttrList.xml b/doc/en/Pango/AttrList.xml index b587f3988..c80364c8c 100644 --- a/doc/en/Pango/AttrList.xml +++ b/doc/en/Pango/AttrList.xml @@ -10,8 +10,10 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Represents a list of attributes that apply to a section of text. + The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through , the overlap between properties will meet stricter criteria. +Since the 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 for more than one paragraph of text. + GLib.Opaque @@ -31,9 +33,9 @@ - To be added - To be added: an object of type 'Pango.AttrList' - To be added + Copy list and return an identical, new list. + a new + @@ -46,9 +48,13 @@ - To be added - To be added: an object of type 'Pango.Attribute' - To be added + Insert the given attribute into the list. + a + It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical. + + This function is slower than for creating a attribute list in order (potentially much slower for large lists). However, is not suitable for continually changing a set of attributes since it never removes or combines existing attributes. + + @@ -61,9 +67,9 @@ - To be added - To be added: an object of type 'Pango.Attribute' - To be added + Insert the given attribute into the list. + the attribute to insert. + It will be inserted before all other attributes with a matching start_index. @@ -74,8 +80,8 @@ - To be added - To be added + Decrease the reference count of the given attribute list by one. + If the result is zero, free the attribute list and the attributes it contains. @@ -90,11 +96,12 @@ - To be added - To be added: an object of type 'Pango.AttrList' - To be added: an object of type 'int' - To be added: an object of type 'int' - To be added + This function splices attribute list into list. + another + the position at which to insert + the length of the spliced segment. + This operation is equivalent to stretching every attribute applies at position in list by an amount , and then calling with a copy of each attributes in other in sequence (offset in position by ). +This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. @@ -105,8 +112,8 @@ - To be added - To be added + Increase the reference count of the given attribute list by one. + @@ -119,9 +126,9 @@ - To be added - To be added: an object of type 'Pango.Attribute' - To be added + Insert the given attribute to the list + the attribute to insert. + It will be inserted after all other attributes with a matching start_index. @@ -146,9 +153,9 @@ - To be added - To be added: an object of type 'Pango.AttrList' - To be added + Default constructor + a new + @@ -158,9 +165,9 @@ Pango.AttrIterator - To be added - To be added: an object of type 'Pango.AttrIterator' - To be added + Create a iterator initialized to the beginning of the list. + a new + @@ -173,10 +180,10 @@ - To be added + Given a callback function, removes any elements of list for which returns and inserts them into a new list. a a - To be added + diff --git a/doc/en/Pango/AttrShape.xml b/doc/en/Pango/AttrShape.xml index 14daef28c..2264846d8 100644 --- a/doc/en/Pango/AttrShape.xml +++ b/doc/en/Pango/AttrShape.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent attributes which impose shape restrictions. + System.ValueType @@ -42,11 +42,11 @@ - To be added - To be added: an object of type 'Pango.Rectangle' - To be added: an object of type 'Pango.Rectangle' - To be added: an object of type 'Pango.AttrShape' - To be added + Creates a new from the provided s. + the ink rectangle to restrict to + the logical rectangle to restrict to + a new + @@ -74,8 +74,8 @@ - To be added - To be added + the common portion of the attribute + @@ -87,8 +87,8 @@ - To be added - To be added + the ink rectangle to restrict to + @@ -100,8 +100,8 @@ - To be added - To be added + the logical rectangle to restrict to + diff --git a/doc/en/Pango/AttrString.xml b/doc/en/Pango/AttrString.xml index ffce5e3a1..6b1dbb7e4 100644 --- a/doc/en/Pango/AttrString.xml +++ b/doc/en/Pango/AttrString.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + Used to represent attributes with a string value. To be added @@ -56,8 +56,8 @@ - To be added - To be added + the common portion of the attribute + @@ -69,8 +69,8 @@ - To be added - To be added + the string which is the value of the attribute + diff --git a/doc/en/Pango/Attribute.xml b/doc/en/Pango/Attribute.xml index f554380fa..576de2063 100644 --- a/doc/en/Pango/Attribute.xml +++ b/doc/en/Pango/Attribute.xml @@ -57,10 +57,11 @@ - To be added - To be added: an object of type 'Pango.Attribute' - To be added: an object of type 'bool' - To be added + Compare two attributes for equality. + a to be tested for equality. + + if the two attributes have the same value. + This compares only the actual value of the two attributes and not the ranges that the attributes apply to. @@ -71,8 +72,8 @@ - To be added - To be added + Destroy a and free all associated memory. + @@ -83,9 +84,9 @@ - To be added - To be added: an object of type 'Pango.Attribute' - To be added + Make a copy of an attribute. + a new + diff --git a/doc/en/Pango/Color.xml b/doc/en/Pango/Color.xml index 5dda8745a..abee556d4 100644 --- a/doc/en/Pango/Color.xml +++ b/doc/en/Pango/Color.xml @@ -72,8 +72,8 @@ - To be added - To be added + Frees a color allocated by . + diff --git a/doc/en/Pango/EngineLang.xml b/doc/en/Pango/EngineLang.xml index 7e0e4a055..a286341db 100644 --- a/doc/en/Pango/EngineLang.xml +++ b/doc/en/Pango/EngineLang.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Rendering-system independent script engines + The is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. For instance, a custom could be provided for Thai to implement the dictionary-based word boundary lookups needed for that language. System.ValueType diff --git a/doc/en/Pango/EngineShape.xml b/doc/en/Pango/EngineShape.xml index d187af57d..1b466b0c4 100644 --- a/doc/en/Pango/EngineShape.xml +++ b/doc/en/Pango/EngineShape.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Rendering-system dependent script engines + The class is implemented by engines that customize the rendering-system dependent part of the Pango pipeline for a particular script or language. A implementation is then specific to both a particular rendering system or group of rendering systems and to a particular script. For instance, there is one implementation to handling shaping Arabic for Fontconfig-based backends. System.ValueType diff --git a/doc/en/Pango/FT2FontMap.xml b/doc/en/Pango/FT2FontMap.xml index 0b788d1fa..a4d9895cf 100644 --- a/doc/en/Pango/FT2FontMap.xml +++ b/doc/en/Pango/FT2FontMap.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + The is the implementation for FreeType fonts. To be added @@ -34,9 +34,9 @@ - To be added + Returns a . a - To be added + Use of the global PangoFT2 fontmap is deprecated. @@ -47,8 +47,8 @@ - To be added - To be added + Call this any time the results of the default substitution function set with changes. + @@ -62,10 +62,10 @@ - To be added - a - a - To be added + Sets the horizontal and vertical resolutions for the fontmap. + dots per inch in the X direction + dots per inch in the Y direction + @@ -76,9 +76,9 @@ - To be added - a - To be added + Create a for the given fontmap. + a new + @@ -89,8 +89,8 @@ - To be added - To be added + Disposes the resources associated with the object. + @@ -101,10 +101,10 @@ - To be added + Internal constructor a a - To be added + This is an internal constructor, and should not be used by user code. @@ -113,9 +113,9 @@ - To be added + Default constructor a - To be added + diff --git a/doc/en/Pango/FT2SubstituteFunc.xml b/doc/en/Pango/FT2SubstituteFunc.xml index ee356b58f..993c7e44b 100644 --- a/doc/en/Pango/FT2SubstituteFunc.xml +++ b/doc/en/Pango/FT2SubstituteFunc.xml @@ -9,8 +9,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + For doing final config tweaking on prepared FcPatterns. + System.Delegate diff --git a/doc/en/Pango/Global.xml b/doc/en/Pango/Global.xml index 22a7e9bb9..128c223a2 100644 --- a/doc/en/Pango/Global.xml +++ b/doc/en/Pango/Global.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Global API elements for + System.Object diff --git a/doc/en/Pango/GlyphItem.xml b/doc/en/Pango/GlyphItem.xml index 462c0e86c..2f1c3812a 100644 --- a/doc/en/Pango/GlyphItem.xml +++ b/doc/en/Pango/GlyphItem.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + A pair of a and the glyphs resulting from shaping the text corresponding to an item. + As an example of the usage of , the results of shaping text with is a list of , each of which contains a list of . System.ValueType @@ -58,11 +58,15 @@ - To be added - a - a - a - To be added + Splits an Item + text to which positions in orig apply. + byte index of position to split item, relative to the start of the item + a representing the text before + + +Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). + +This function is similar in function to (and uses it internally) @@ -72,9 +76,9 @@ Pango.GlyphString - To be added + the glyphs obtained by shaping the text corresponding to item. a - To be added + @@ -84,9 +88,9 @@ Pango.Item - To be added + a that provides information about a segment of text. a - To be added + @@ -100,11 +104,18 @@ - To be added + Splits a shaped item () into multiple items based on an attribute list. a a a - To be added + + +The idea is that if you have attributes that do not affect shaping, such as color or underline, to avoid affecting shaping, you filter them out (), apply the shaping process and then re-apply them to the result using this function. + + +All attributes that start or end inside a cluster are applied to that cluster; for instance, if half of a cluster is underlined and the other-half strikethough, then the cluster will end up with both underline and strikethrough attributes. In these cases, it may happen that item->extra_attrs for some of the result items can have multiple attributes of the same type. + + diff --git a/doc/en/Pango/Item.xml b/doc/en/Pango/Item.xml index c797caa30..8ab93a1db 100644 --- a/doc/en/Pango/Item.xml +++ b/doc/en/Pango/Item.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Stores information about a segment of text. + System.ValueType @@ -39,9 +39,9 @@ - To be added - To be added: an object of type 'Pango.Item' - To be added + Creates a new Item + a new + @@ -68,8 +68,8 @@ - To be added - To be added + Free a and all associated memory. + @@ -80,9 +80,9 @@ - To be added - To be added: an object of type 'Pango.Item' - To be added + Copy an existing structure. + a new + @@ -96,11 +96,11 @@ - To be added - To be added: an object of type 'int' - To be added: an object of type 'int' - To be added: an object of type 'Pango.Item' - To be added + Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. + byte index of position to split item, relative to the start of the item + number of chars between start of orig and + new item representing text before + You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). is the length of the first item in chars, and must be provided because the text used to generate the item is not available, so cannot count the char length of the split items itself. @@ -112,8 +112,8 @@ - To be added - To be added + the offset of the segment from the beginning of the string in bytes. + @@ -125,8 +125,8 @@ - To be added - To be added + the length of the segment in bytes. + @@ -138,8 +138,8 @@ - To be added - To be added + the length of the segment in characters. + @@ -151,8 +151,8 @@ - To be added - To be added + the properties of the segment. + diff --git a/doc/en/Pango/Language.xml b/doc/en/Pango/Language.xml index 211acb231..9e3e56973 100644 --- a/doc/en/Pango/Language.xml +++ b/doc/en/Pango/Language.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Used to represent a language. + GLib.Opaque @@ -33,10 +33,10 @@ - To be added - To be added: an object of type 'string' - To be added: an object of type 'Pango.Language' - To be added + Take a RFC-3066 format language tag as a string and convert it to a + a string representing a language tag + a + This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'. @@ -49,10 +49,11 @@ - To be added - To be added: an object of type 'string' - To be added: an object of type 'bool' - To be added + Checks if a language tag matches one of the elements in a list of language ranges. + a list of language ranges, separated by ';' characters. each element must either be '*', or a RFC 3066 language range canonicalized as by . + + if a match was found. + A language tag is considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and the character after the tag is '-'. @@ -78,9 +79,9 @@ System.String - To be added - To be added: an object of type 'string' - To be added + A sample + a + diff --git a/doc/en/Pango/LogAttr.xml b/doc/en/Pango/LogAttr.xml index d90b15ade..5c59fa91d 100644 --- a/doc/en/Pango/LogAttr.xml +++ b/doc/en/Pango/LogAttr.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Stores information about the attributes of a single character. + System.ValueType diff --git a/doc/en/Pango/Win32FontCache.xml b/doc/en/Pango/Win32FontCache.xml index d45d2d760..d2c6eb465 100644 --- a/doc/en/Pango/Win32FontCache.xml +++ b/doc/en/Pango/Win32FontCache.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Caches HFONTs by their LOGFONT descriptions. + GLib.Opaque @@ -31,8 +31,8 @@ - To be added - To be added + Frees a and all associated memory. + All fonts loaded through this font cache will be freed along with the cache. @@ -57,9 +57,9 @@ - To be added + Default constructor an object of type - To be added +