From 2f76fc8c423f5c2b9ac1e113cbe9b57c2075f778 Mon Sep 17 00:00:00 2001 From: John Luke Date: Mon, 12 Jul 2004 01:10:51 +0000 Subject: [PATCH] document Pango.Context svn path=/trunk/gtk-sharp/; revision=31020 --- doc/ChangeLog | 1 + doc/en/Pango/Context.xml | 69 +++++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 33 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 167c2ae73..acbb7d725 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,6 +1,7 @@ 2004-07-11 John Luke * en/Vte*: some Vte docs + * en/Pango/Context.xml: doc'ed 2004-07-07 Jasper Van Putten diff --git a/doc/en/Pango/Context.xml b/doc/en/Pango/Context.xml index ef8bcaa15..ffdab1f79 100644 --- a/doc/en/Pango/Context.xml +++ b/doc/en/Pango/Context.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 global information used to control the itemization process. + GLib.Object @@ -36,10 +36,10 @@ - To be added - To be added: an object of type 'Pango.FontDescription' - To be added: an object of type 'Pango.Font' - To be added + Loads the font in one of the fontmaps in the context that is the closest match for . + an object of type describing the font to load + the font loaded, or if no font matched. + @@ -53,11 +53,14 @@ - To be added - To be added: an object of type 'Pango.FontDescription' - To be added: an object of type 'Pango.Language' - To be added: an object of type 'Pango.FontMetrics' - To be added + Get overall metric information for a font particular font description. + an object of type + language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire font. + a object. + Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. + +The is interpreted in the same way as by pango_itemize(), and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. + @@ -71,11 +74,11 @@ - To be added - To be added: an object of type 'Pango.FontDescription' - To be added: an object of type 'Pango.Language' - To be added: an object of type 'Pango.Fontset' - To be added + Load a set of fonts in the context that can be used to render a font matching . + an object of type describing the fonts to load + an object of type the fonts will be used for + the fontset, or if no font matched. + @@ -115,10 +118,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 default font description for the context. + the new pango font description + the context's default font description. + @@ -130,10 +133,10 @@ - To be added - To be added: an object of type 'Pango.Language' - To be added: an object of type 'Pango.Language' - To be added + The global language tag for the context. + the new language tag. + the global language tag. + @@ -145,10 +148,10 @@ - To be added - To be added: an object of type 'Pango.Direction' - To be added: an object of type 'Pango.Direction' - To be added + The base direction for the context. + the new base direction + the base direction + The base direction is used in applying the Unicode bidirectional algorithm; if the direction is or , then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. @@ -188,10 +191,10 @@ - To be added + List all families for a context. a - a - To be added + the number of families + @@ -200,9 +203,9 @@ - To be added + Internal constructor a - To be added + This is an internal constructor, and should not be used by user code.