ruby-****@sourc*****
ruby-****@sourc*****
2005年 11月 16日 (水) 18:23:23 JST
------------------------- REMOTE_ADDR = 15.211.169.100 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?Pango ------------------------- @@ -65,8 +65,8 @@ * Returns true if Ruby/Cairo is supported. == Constants -=== PangoAlignment -A PangoAlignment describes how to align the lines of a Pango::Layout within the available space. If the Pango::Layout is set to justify using Pango::layout#justify=, then this only has an effect for partial lines. +=== Alignment +An Alignment describes how to align the lines of a Pango::Layout within the available space. If the Pango::Layout is set to justify using Pango::layout#justify=, then this only has an effect for partial lines. --- ALIGN_LEFT Put all available space on the right --- ALIGN_CENTER @@ -74,7 +74,7 @@ --- ALIGN_RIGHT Put all available space on the left -=== PangoCoverageLevel +=== CoverageLevel Used to indicate how well a font can represent a particular ISO 10646 character point for a particular script. --- COVERAGE_NONE The character is not representable with the font. @@ -85,8 +85,8 @@ --- COVERAGE_EXACT The character is represented as the correct graphical form. -=== PangoDirection -The PangoDirection type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of PangoDirection; for example, the return value of Pango.unichar_direction and Pango.find_base_dir cannot be Pango::DIRECTION_WEAK_LTR or Pango::DIRECTION_WEAK_RTL, since every character is either neutral or has a strong direction. +=== Direction +The Direction type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of PangoDirection; for example, the return value of Pango.unichar_direction and Pango.find_base_dir cannot be Pango::DIRECTION_WEAK_LTR or Pango::DIRECTION_WEAK_RTL, since every character is either neutral or has a strong direction. The Pango::DIRECTION_TTB_LTR, Pango::DIRECTION_TTB_RTL values come from an earlier interpretation of this enumeration as the writing direction of a block of text and are no longer used; See the Text module of the CSS3 spec for how vertical text is planned to be handled in a future version of Pango. The explanation of why Pango::DIRECTION_TTB_LTR is treated as Pango::DIRECTION_RTL can be found there as well. @@ -105,8 +105,8 @@ --- DIRECTION_NEUTRAL No direction specified -=== PangoEllipsizeMode -The PangoEllipsizeMode type describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis. +=== EllipsizeMode +The EllipsizeMode type describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis. --- ELLIPSIZE_NONE No ellipsization --- ELLIPSIZE_START @@ -116,8 +116,8 @@ --- ELLIPSIZE_END Omit characters at the end of the text -=== PangoFontMask -The bits in a PangoFontMask correspond to fields in a Pango::FontDescription that have been set. +=== FontMask +The bits in a FontMask correspond to fields in a Pango::FontDescription that have been set. --- FONT_MASK_FAMILY the font family is specified. --- FONT_MASK_STYLE @@ -131,7 +131,7 @@ --- FONT_MASK_SIZE the font size is specified. -=== PangoRenderPart +=== RenderPart PangoRenderPart defines different items to render for such purposes as setting colors. ((* Since 2.8*)) --- PART_FOREGROUND @@ -143,7 +143,7 @@ --- PART_STRIKETHROUGH strikethrough lines -=== PangoAttrScale +=== AttrScale --- SCALE_XX_SMALL The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)). --- SCALE_X_SMALL @@ -159,7 +159,7 @@ --- SCALE_XX_LARGE The scale factor for three magnification steps (1.2 * 1.2 * 1.2). -=== PangoStretch +=== Stretch An enumeration specifying the width of the font relative to other designs within a family. --- STRETCH_ULTRA_CONDENSED --- STRETCH_EXTRA_CONDENSED @@ -172,7 +172,7 @@ --- STRETCH_EXTRA_EXPANDED --- STRETCH_ULTRA_EXPANDED -=== PangoStyle +=== Style An enumeration specifying the various slant styles possible for a font. --- STYLE_NORMAL the font is upright. @@ -181,13 +181,13 @@ --- STYLE_ITALIC the font is slanted in an italic style. -=== PangoTabAlign -A PangoTabAlign specifies where a tab stop appears relative to the text. +=== TabAlign +A TabAlign specifies where a tab stop appears relative to the text. --- TAB_LEFT the tab stop appears to the left of the text. -=== PangoUnderline -the PangoUnderline enumeration is used to specify whether text should be underlined, and if so, the type of underlining. +=== Underline +the Underline enumeration is used to specify whether text should be underlined, and if so, the type of underlining. --- UNDERLINE_NONE no underline should be drawn. --- UNDERLINE_SINGLE @@ -199,8 +199,8 @@ --- UNDERLINE_ERROR a wavy underline should be drawn below. This underline is typically used to indicate an error such as a possilble mispelling; in some cases an contrasting color may automatically be used. ((* Pango 1.4 *)) -=== PangoWrapMode -A PangoWrapMode describes how to wrap the lines of a Pango::Layout to the desired width. +=== WrapMode +A WrapMode describes how to wrap the lines of a Pango::Layout to the desired width. --- WRAP_WORD wrap lines at word boundaries. --- WRAP_CHAR @@ -208,8 +208,8 @@ --- WRAP_WORD_CHAR wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word. -=== PangoScript -The PangoScript enumeration identifies different writing systems. The values correspond to the names defined in the Unicode standard. (See Unicode Standard Annex 24: Script names). +=== Script +The Script enumeration identifies different writing systems. The values correspond to the names defined in the Unicode standard. (See Unicode Standard Annex 24: Script names). --- INVALID_CODE a value never used for any unicode character --- COMMON @@ -270,14 +270,14 @@ --- UGARITIC --- YI -=== PangoVariant +=== Variant An enumeration specifying capitalization variant of the font. --- VARIANT_NORMAL A normal font. --- VARIANT_SMALL_CAPS A font with the lower case characters replaced by smaller variants of the capital characters. -=== PangoWeight +=== Weight An enumeration specifying the weight (boldness) of a font. This is a numerical value ranging from 100 to 900, but there are some predefined values: --- WEIGHT_ULTRALIGHT the ultralight weight (= 200) @@ -306,5 +306,6 @@ Compiled pango version [major, minor, micro] == ChangeLog -* 2005-10-13 Renamed constants classes of Pango::FontDescription. +* 2005-11-16 Improve representations of constants - ((<Masao>)) +* 2005-10-13 Renamed constants classes of Pango::FontDescription. - ((<Masao>)) * 2005-09-30 Added. - ((<Masao>))