?      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net1?@ABCDEFGH IJKLMNOPQRSTUVWXYZ[\]^_`abcdeQfghijklmnopqrstuvwxyz{|}~?@ABCDEFGH IQRSTUVWXYZ[\]^_`abcde*?@AABBCCDDEEFGHH IIQRSTUVWXYZ[\]^_`abcde portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net[ +A possibly partial description of font(s).  A single line in a  .  !An iterator to examine a layout.  A rendered paragraph. .A sequence of glyphs for a chunk of a string. 9 A glyph item contains the graphical representation of a .  Clusters (like e. and an accent modifier) as well as legatures  (such as ffi: turning into a single letter that omits the dot over the  i-) are usually represented as a single glyph. CA sequence of characters that are rendered with the same settings.  A preprocessing stage done by itemize splits the input text into C several chunks such that each chunk can be rendered with the same A font, direction, slant, etc. Some attributes such as the color, ? underline or strikethrough do not affect a break into several   s. See also . The 3 defines how horizontal scripts should behave in a  vertical context.  0: scripts will take their natural gravity based : on the base gravity and the script. This is the default.  1: always use the base gravity set, regardless of  the script.  2: for scripts not in their natural direction (eg. J Latin in East gravity), choose per-script gravity such that every script G respects the line progression. This means, Latin and Arabic will take = opposite gravities and both flow top-to-bottom for example. The 0 type represents the orientation of glyphs in a  segment of text. The value  GravitySouth#, for instance, indicates that the C text stands upright, i.e. that the base of the letter is directed  downwards. JThis is useful when rendering vertical text layouts. In those situations, , the layout is rotated using a non-identity  PangoMatrix, and then glyph ! orientation is controlled using . Not every value in this , enumeration makes sense for every usage of Gravity; for example,   only can be passed to pangoContextSetBaseGravity and  can only be returned by pangoContextGetBaseGravity.  See also:  . Gravity is resolved from the context matrix.  Since Pango 1.16 Define attributes for . L The squiggly underline for errors is only available in Gtk 2.4 and higher.   Define how wide characters are. !"#$%&'()*The variant of a font.  The +) is a version of a font where lower case = letters are shown as physically smaller upper case letters. +,-Define attributes for -. ./0123456789The style of a font.  ; is a slanted font like :,  but in a roman style. :;</Define the gint that c2hs is the Haskell type. =3An RFC-3066 language designator to choose scripts. >#Specifying no particular language. ?DTake a RFC-3066 format language tag as a string and convert it to a  => type that can be efficiently passed around and compared with  other language tags. B This function first canonicalizes the string by converting it to  lowercase, mapping '_' to '-', and stripping all characters  other than letters and '-'. R     !"#$%&'()*+,-./0123456789:;<=>?R     )('&%$#"!!"#$%&'()*,++,- 876543210/../0123456789<;::;<=>? portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.netL@Attributes for s. 6 A given attribute is applied from its start position i up, ' but not including the end position, j. A=Set the way horizontal scripts behave in a vertical context. ' Available in Pango 1.16.0 and higher. BCJSets the gravity field of a font description. The gravity field specifies 1 how the glyphs should be rotated. If gravity is  GravityAuto, this ; actually unsets the gravity mask on the font description. H This function is seldom useful to the user. Gravity should normally be  set on a  . ' Available in Pango 1.16.0 and higher. DE/Add extra space between graphemes of the text. & Available in Pango 1.6.0 and higher. FGCDetermine if a fall back font should be substituted if no matching  font is available. HI@Scale the font up (values greater than one) or shrink the font. JK;Restrict the amount of what is drawn of the marked shapes. & Available in Pango 1.8.0 and higher. LMNEDisplace the text vertically. Positive values move the text upwards. OP.Specify the color of the strike through line. & Available in Pango 1.8.0 and higher. Q=Specify if this piece of text should have a line through it. RS#Specify the color of an underline. & Available in Pango 1.8.0 and higher. T$Specify the kind of underline, e.g. . UVSpecify the background color. WSpecify the foreground color. XYESpecify several attributes of a font at once. Note that no deep copy L of the description is made when this attributes is passed to or received  from functions. Z[7Specify the size of the font in device units (pixels). & Available in Pango 1.8.0 and higher. \(Specify the size of the font in points. ]^.Stretch or condense the width of the letters. _`+* will display lower case letters as small 1 upper case letters (if the font supports this). abWeight of font, e.g. 1. cdThe slant of the current font. efThe font family, e.g.  sans serif. gh=A hint as to what language this piece of text is written in. ijklThe l, type represents a direction in the Unicode  bidirectional algorithm.  The "weak": values denote a left-to-right or right-to-left direction I only if there is no character with a strong direction in a paragraph. G An example is a sequence of special, graphical characters which are > neutral with respect to their rendering direction. A fresh  /Graphics.Rendering.Pango.Rendering.PangoContext is by default weakly  left-to-right. A Not every value in this enumeration makes sense for every usage  of l#; for example, the return value of  unicharDirection and  findBaseDir cannot be o  or n-, since every character is either neutral or - has a strong direction; on the other hand m  doesn't make sense to pass to log2visGetEmbeddingLevels. mnopqr!Rectangles describing an area in s. " Specifies x, y, width and height st Rectangle " Specifies x, y, width and height uvColor F Specifies a color with three integer values for red, green and blue. I All values range from 0 (least intense) to 65535 (highest intensity). wxy9Define a synonym for text with embedded markup commands. / Markup strings are just simple strings. But it's easier to tell if a / method expects text with or without markup. z{Extract the font used for this . | Extract the = used for this . 3Convert a pointer to an attribute to an attribute. I@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|I@Yhfdb`^\[YWVTSQPNKIGECAijkijgijeijcijaij_ij]ij]ijZijXijXijUijXijRijXijOijLMijJijHijFijDijBABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklqponmmnopqrsstuuvwwxyz{| portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net'}Parse the marked-up text (see &Graphics.Rendering.Pango.Markup.Markup > format) to create a plain-text string and an attribute list. I The attribute list is a list of lists of attribute. Each list describes # the attributes for the same span.  If  accelMarker is not '\0') (a zero character), the given character F will mark the character following it as an accelerator. For example,   accelMarker< might be an ampersand or underscore. All characters marked " as an accelerator will receive a  attribute, and the / first character so marked will be returned as  accelChar. If no % accelerator character is found, the  accelMarker character itself is  returned. Two  accelMarker+ characters following each other produce a  single literal  accelMarker character.  If a parsing error occurs a  is thrown. the string containing markup  accelMarker. - the character that prefixes an accelerator Ilist of attributes, the accelerator character found and the input string  without markup 5Convert an attribute list into a list of attributes. !Extract and delete an attribute. }} portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net~4Ask for bounding rectangles of this glyph sequence. < Compute the logical and ink extents of a glyph string. The F logical extend is used for positioning, the ink size is the smallest F bounding box that includes all character pixels. The ink size can be , smaller or larger that the logical layout. AAsk for bounding rectangles for a sub-range of a glyph sequence. G The returned rectangles are relative to the given sub-range, that is, / the result of this function is the same as if ~  were called on the sub-string. ,Get the horizontal position of a character.  Clusters (e.g. "e"4 with an accent modifier) are divided up into equal  portions. the rendered string the index into the string return the beginning (False ) or the end  of the character 4Get the character at the given horizontal position. 4 The position is clipped to the width of this line. B The function returns the position in the string that corresponds E to the given horizontal location. Furthermore, if the position lies % on the first half of the character, False is returned. 3Retrieve the width of every character in a string.  The boolean parameter A determines if the returned array starts with the leftmost glyph  (False) or with the rightmost glyph (True). If Nothing is , passed in, the direction is taken from the , i.e., A the array starts with the leftmost glyph for left-to-rigth text D and with the rightmost glyph for right-to-left text. When multiple ? characters compose a single glyph, the width of this glyph is 9 divided among the characters that compose this cluster. Split a  at the given index.  The given 0 is split at the given index. The index must be E at least one and not greater or equal to length, i.e. the item must > be split into two non-empty segments. The function throws an   if the index is out of bounds. ~~portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net+The characteristic measurements of a font. $ All values are measured in pixels. # In Pango versions before 1.6 only , ,   and  are available. @The ascent is the distance from the baseline to the logical top ? of a line of text. (The logical top may be above or below the = top of the actual drawn ink. It is necessary to lay out the ( text to figure where the ink will be.) =The descent is the distance from the baseline to the logical ? bottom of a line of text. (The logical bottom may be above or > below the bottom of the actual drawn ink. It is necessary to 4 lay out the text to figure where the ink will be.) 2The approximate character width. This is merely a ? representative value useful, for example, for determining the > initial size for a window. Actual characters in text will be  wider and narrower than this. =The approximate digit width. This is merely a representative A value useful, for example, for determining the initial size for @ a window. Actual digits in text can be wider and narrower than = this, though this value is generally somewhat more accurate  than . .The suggested thickness to draw an underline. DThe suggested position to draw the underline. The value returned is D the distance above the baseline of the top of the underline. Since F most fonts have underline positions beneath the baseline, this value  is typically negative. 7The suggested thickness to draw for the strikethrough. <The suggested position to draw the strikethrough. The value ? returned is the distance above the baseline of the top of the  strikethrough. The 4 type describes what sort of (if any) ellipsization N should be applied to a line of text. In the ellipsization process characters H are removed from the text in order to make it fit to a given width and  replaced with an ellipsis. Define attributes for FontSize.  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyzxzvwturs9<;:-876543210/.*,+ )('&%$#"!lqponm@hfdb`^\[YWVTSQPNKIGECAijkijgijeijcijaij_ij]ij]ijZijXijXijUijXijRijXijOijLMijJijHijFijDijBy=>?  portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net2;Flags denoting which fields in a font description are set.  Create a new font description.  All field are unset. (Make a deep copy of a font description. Set the font famliy. G A font family is a name designating the design of the font (e.g. Sans " or Times) without the variant. G In some contexts a comma separated list of font families can be used. Get the font family.   , is returned if the font family is not set. Get the style field. Set the variant field. Get the variant field. Set the weight field. Get the weight field. Set the stretch field. Get the stretch field. Set the size field. 2 The given size is in points (pts). One point is 1/ 72 inch. Get the size field. $Reset fields in a font description. Merge two font descriptions. F Copy fields from the second description to the first. If the boolean F parameter is set, existing fields in the first description will be  replaced.  +Determine if two descriptions are simliar.  Returns  9 if the two descriptions only differ in weight or style. HDetermine which of two descriptions matches a given description better.  Returns True8 if the last description is a better match to the first " arguement than the middle one. @ Approximate matching is done on weight and style. If the other 1 attributes do not match, the function returns False. )Create a font description from a string. ( The given argument must have the form   [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] where  FAMILY_LIST is a comma E separated list of font families optionally terminated by a comma,   STYLE_OPTIONS4 is a whitespace separated list of words where each < word describes one of style, variant, weight or stretch. SIZE is E a decimal number giving the size of the font in points. If any of ) these fields is absent, the resulting   will have " the corresponing fields unset. (Convert a font description to a string. < Creates a string representation of a font description. See   for the format of the string.  Set the style field.  Most fonts will have either a : or ;  but rarely both.  portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net IAsk for the different font families that a particular back-end supports.  The  can be acquired by calling  5Graphics.Rendering.Pango.Cairo.cairoFontMapGetDefault. 2Ask if the given family contains monospace fonts. @ A monospace font is a font designed for text display where the B characters form a regular grid. For Western languages this would A mean that the advance width of all characters are the same, but = this categorization also includes Asian fonts which include A double-width characters: characters that occupy two grid cells. E The best way to find out the grid-cell size is to query the members  of the according  structure. 4Ask for the faces contained in a particular family. D Asks for all font faces in the given family. The faces in a family E share a common design, but differ in slant, weight, width and other ' aspects. For example, the font family Sans contains several fonts  such as Helvetica and Arial. +Ask for available sizes of this font face. H List the available sizes for a font. This is only applicable to bitmap E fonts since all other fonts can be scaled arbitrarily. For scalable  fonts, this function returns Nothing. The sizes returned are in ) ascending order, their unit is points (1/ 72 inch). $Ask for a description of this face. = Returns the family, style, variant, weight and stretch of a . A The size field of the resulting font description will be unset. ) ) portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net!These are all the attributes the  function can express. Intensity of gravity. #Gravity of text, use for ratation. 0Give a hint about the language to be displayed. F This hint might help the system rendering a particular piece of text E with different fonts that are more suitable for the given language. !Specify a vertical displacement. 9 Takes the vertical displacement in em (the width of the 'm' character  in the current font). Specify underlining of text. Background color. Foreground color.  This constructor and  take both a description = of the color to be used for rendering. The name is either a  hex code of the form "#RRGGBB" or an X11 color name like  "dark olive green". Choose a different width. % Takes one of nine font widths, e.g. Pango.WidthExpanded. :Choosing an alternative rendering for lower case letters.  The argument +! will display lower case letters = as smaller upper case letters, if this option is available. *Change the thickness of the current font. I The constructor takes one of the six predefined weights. Most likely to  be supported: 1. &Change the slant of the current font. %Change the size of the current font. > The constuctor takes the size in points (pt) or a predefined D sizes. Setting the absolute size 12.5pt can be achieved by passing   ( SizePoint 12.5) to . Next to predefined  absolute sizes such as  the size can be changed by 2 asking for the next larger or smaller front with   and , respectively. #Specify the family of font to use.  Example:  FontFamily "Sans" &Choose a font by textual description. : Takes a string to completely describe the font, example:   FontDescr "Sans Italic 12" (Create the most generic span attribute. y}y}portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net !)Turn a string into a sequence of glyphs. H Partitions the input string into segments with the same text direction J and shaping engine. The generated list of items will be in logical order 1 (the start offsets of the items are ascending). DRetrieve the metrics of the font that was chosen to break the given  . Turn a  into a .  Turns a 0, that is, sequence of characters with the same 1 attributes such as font, size and color, into a  which < contains the graphical representation of these characters. s < can be rendered directly (and several times) onto screens. {|~ {|~portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.netA new cursor position. See . 1The cursor should advance to the next paragraph. 3The sum of the indices is the new cursor position. 2The cursor should move to the previous paragraph. A Tab position. 9Specify where the Tab stop appears relative to the text. E Only Tab stops that align text to the left are supported right now. "6Enumerate to which side incomplete lines are flushed. &Enumerates how a line can be wrapped.  WrapWholeWords" Breaks lines only between words. A This variant does not guarantee that the requested width is not A exceeded. A word that is longer than the paragraph width is not  split.   WrapAnywhere Break lines anywhere. WrapPartialWords- Wrap within a word if it is the only one on  this line.  This option acts like  but will split > a word if it is the only one on this line and it exceeds the  specified width. #$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghiCreate an empty Layout. Create a new layout. Create a copy of the Layout. Retrieves the   from this layout.  Signal a   change. * Forces recomputation of any state in the   that  might depend on the layout' s context. This function should 9 be called if you make changes to the context subsequent  to creating the layout. Set the string in the layout. #Retrieve the string in the layout. 2Set the text of the layout, including attributes. The string may include y". To print markup characters like  '<', or '-', apply  to the string first. 6The function returns the text that is actually shown. Escape markup characters. H Used to display characters that normally denote markup. Note that this I function is strict in that it forces all characters in the input string 4 as soon as a single output character is requested. Set the string in the layout.  The string may include y. Furthermore, any underscore 5 character indicates that the next character will be I marked as accelerator (i.e. underlined). A literal underscore character 4 can be produced by placing it twice in the string. / The character which follows the underscore is A returned so it can be used to add the actual keyboard shortcut. 1 The second element is the string after parsing. /Set text attributes of the text in the layout. H This function replaces any text attributes that this layout contained, # even those that were set by using . 3Gets the list of attributes of the layout, if any. I The attribute list is a list of lists of attribute. Each list describes # the attributes for the same span. 1Set a specific font description for this layout.  Specifying Nothing3 will unset the current font description, that is,  the  . will use the font description in the current   . >Ask for the specifically set font description of this layout.  Returns Nothing1 if this layout uses the font description in the    it was created in. * Only available in Pango 1.8.0 or higher. !Set the width of this paragraph. * Sets the width to which the lines of the    should be wrapped.  Pass in Nothing2 to indicate that no wrapping is to be performed. "Gets the width of this paragraph. * Gets the width to which the lines of the    should be wrapped. " Returns is the current width, or Nothing to indicate that  no wrapping is performed. #Set how this paragraph is wrapped. C Sets the wrap style; the wrap style only has an effect if a width  is set on the layout with . To turn off  wrapping, call  with Nothing. "Get the wrap mode for the layout. *Set how long lines should be abbreviated. (Get the ellipsize mode for this layout. 'Set the indentation of this paragraph. 0 Sets the amount by which the first line should G be indented. A negative value will produce a hanging indent, that is, E all subsequent lines will be indented while the first line has full  width. (Gets the indentation of this paragraph. F Gets the amount by which the first line or the rest of the paragraph  is indented. 1Set the spacing between lines of this paragraph. $Gets the spacing between the lines. -Set if text should be streched to fit width. ? Sets whether or not each complete line should be stretched to C fill the entire width of the layout. This stretching is typically C done by adding whitespace, but for some scripts (such as Arabic), 8 the justification is done by extending the characters. G Note that as of Pango 1.4, this functionality is not yet implemented. !Retrieve the justification flag.  See . 5Set if the base text direction should be overridden. D Sets whether to calculate the bidirectional base direction for the F layout according to the contents of the layout; when this flag is on A (the default), then paragraphs in layout that begin with strong E right-to-left characters (Arabic and Hebrew principally), will have G right-to-left layout, paragraphs with letters from other scripts will H have left-to-right layout. Paragraphs with only neutral characters get 2 their direction from the surrounding paragraphs.  When False5, the choice between left-to-right and right-to-left @ layout is done by according to the base direction of the layout's   . (See 2Graphics.Rendering.Pango.Context.contextSetTextDir). G When the auto-computed direction or a paragraph differs from the base 6 direction of the context, then the interpretation of   and  are swapped. "Retrieve the auto direction flag.  See . #Set how this paragraph is aligned. : Sets the alignment for the layout (how partial lines are 4 positioned within the horizontal space available.) "Get the alignment for the layout. Set a list of Tab positoins. )Reset the original set of Tab positions. A Restore the default which is a Tab stop every eight characters. ,Retrieve the list of current Tab positions.  If no Tab position where set, Nothing is returned. In this case, Tab 3 positions are implicit at every eight characters. Honor newlines or not.  If honor is True, do not treat newlines and G similar characters as paragraph separators; instead, keep all text in A a single paragraph, and display a glyph for paragraph separator B characters. Used when you want to allow editing of newlines on a  single text line. "Retrieve if newlines are honored.  See . -Converts a device unit to a character index.  Converts from x and y* position within a layout to the index of  the closest character. If the y$ position is not inside the layout, E the closest position is chosen (the position will be clamped inside  the layout). If the x- position is not within the layout, then the 7 start or the end of the line is chosen. If either the x or y A positions were not inside the layout, then the function returns False;  on an exact hit, it returns True. D The function returns the flag for the exact hit and the index into E the string. The third value is zero if the character corresponds to F one grapheme. If the grapheme is the result of a cluster, this value H may be greater than one, indicating where in the grapheme the position : lies. Zero represents the trailing edge on the grapheme. the x position the y position 6Return the rectangle of the glyph at the given index. ! Converts from an index within a   to the onscreen position F corresponding to the grapheme at that index, which is represented as  rectangle. Note that, given a PangoRectangle x y width height, x 0 is always the leading edge of the grapheme and  x + width the F trailing edge of the grapheme. If the directionality of the grapheme  is right-to-left, then width will be negative. jReturn a cursor position. F Given an index within a layout, determines the positions that of the B strong and weak cursors if the insertion point is at that index. B The position of each cursor is stored as a zero-width rectangle. D The strong cursor location is the location where characters of the H directionality equal to the base direction of the layout are inserted. B The weak cursor location is the location where characters of the A directionality opposite to the base direction of the layout are B inserted. The first element of the typle is the strong position,  the second the weak.  (strong, weak)Move a cursor visually. H Compute a new cursor position from a previous cursor position. A value  of True= for the direction will move it to the right, independant of C the underlying direction. Hence the cursor position might jump if 6 left-to-right text is mixed with right-to-left text.  The first flag should be True& if this cursor is the strong cursor. F The strong cursor is the cursor of the base direction of the current  layout (see "). The weak cursor is that of the  opposite direction. * The previous cursor position is given by idx. If this text at this @ position is a cluster, the cursor will only move to the end or A beginning of the cluster as opposed to past the next character.  The return value is either  if the cursor moved  beyond this paragraph, it is  if the cursor moved & in front of this paragraph and it is  idx trail to denote  the new cursor position idx . Note that idx will always denote an  insertion point, that is, idx% will never point into the middle of  a cluster. The trail value can contain a positive I value if the current cursor position is at the end of the current line.  In this case, idx3 points past the last character of this line while  trail? contains the number of characters that are reponsible for the C line break such as newlines. The actual cursor position is always   idx+trail* where the visual cursor should be shown. True to create a strong cursor. The previous position. True" if the cursor should move right. ,Computes the logical and ink extents of the  . LLogical extents are usually what you want for positioning things. Note that M both extents may have non-zero x and y. You may want to use those to offset H where you render the layout. Not doing that is a very typical bug that G shows up as right-to-left layouts not being correctly positioned in a  layout with a set width. ?Layout coordinates begin at the top left corner of the layout.  (ink, logical))Compute the physical size of the layout. . Computes the ink and the logical size of the Layout in device units, , that is, pixels for a screen. Identical to  and  converting the  s in the sr to integers.  (ink, logical),Ask for the number of lines in this layout.  &Extract a single lines of the layout. 7 The given index starts from 0. The function throws an   if the index is out of bounds. D The lines of each layout are regenerated if any attribute changes. D Thus the returned list does not reflect the current state of lines  after a change has been made.  !Extract the lines of the layout. D The lines of each layout are regenerated if any attribute changes. D Thus the returned list does not reflect the current state of lines  after a change has been made.  (Create an iterator to examine a layout.  Move to the next .  Returns False* if this was the last item in the layout.  Move to the next char.  Returns False* if this was the last char in the layout. Move to the next cluster.  Returns False- if this was the last cluster in the layout. Move to the next line.  Returns False* if this was the last line in the layout. +Check if the iterator is on the last line.  Returns True- if the iterator is on the last line of this  paragraph. Get the character index. @ Note that iterating forward by char moves in visual order, not B logical order, so indexes may not be sequential. Also, the index 7 may be equal to the length of the text in the layout. /Query the vertical position within the layout. ( Gets the y position of the current line's baseline (origin at top  left of the entire layout). Retrieve the current  under the iterator.  Each   contains a list of s. This function  returns the - under the current iterator. If the iterator F is positioned past the last charactor of the paragraph, the function  returns Nothing. %Extract the line under the iterator. .Retrieve a rectangle surrounding a character. * Get the extents of the current character E (origin is the top left of the entire layout). Only logical extents F can sensibly be obtained for characters; ink extents make sense only  down to the level of clusters. *Compute the physical size of the cluster. D Computes the ink and the logical size of the cluster pointed to by   .  (ink, logical)&Compute the physical size of the run. @ Computes the ink and the logical size of the run pointed to by   . 'Retrieve vertical extent of this line. # Divides the vertical space in the   being @ iterated over between the lines in the layout, and returns the , space belonging to the current line. A line's range includes the  line'<s logical extents, plus half of the spacing above and below  the line, if  has been called B to set layout spacing. The y positions are in layout coordinates , (origin at top left of the entire layout). E The first element in the returned tuple is the start, the second is  the end of this line. 'Compute the physical size of the line. A Computes the ink and the logical size of the line pointed to by   . See . B Extents are in layout coordinates (origin is the top-left corner  of the entire  ). Thus the extents returned ( by this function will be the same width/height but not at the  same x/y as the extents returned from  . 'Compute the physical size of the line. . Computes the ink and the logical size of the  .  See . 'Compute the physical size of the line. . Computes the ink and the logical size of the  .  See 0. The returned values are in device units, that 4 is, pixels for the screen and points for printers. (ink, logical) 0Request the horizontal position of a character. the index into the string return the beginning (False ) or the end  of the character <Request the character index of a given horizontal position. = Converts from an x offset to the index of the corresponding 1 character within the text of the layout. If the x parameter is  outside the line, a triple (False, index, trailing) is returned  where index and trailing will point to the very H first or very last position in the line. This notion of first and last C position is based on the direction of the paragraph; for example, , if the direction is right-to-left, then an x position to the 3 right of the line results in 0 being returned for index and  trailing. An x- position to the left of the line results in  index9 pointing to the (logical) last grapheme in the line and A trailing pointing to the number of characters in that grapheme. F The reverse is true for a left-to-right line. If the boolean flag in  the result is True then x was within the layout line and  trailing" indicates where in a cluster the x position lay. It is ) 0 for the trailing edge of the cluster. The x position. DRetrieve bounding boxes for a given piece of text contained in this   . A The result is a list to accommodate for mixed left-to-right and < right-to-left text. Even if the text is not mixed, several C ranges might be returned that are adjacent. The ranges are always D sorted from left to right. The values are with respect to the left F edge of the entire layout, not with respect to the line (which might # be indented or not left aligned). The line of interest. !The index of the start character % (counting from 0). If this value is ) less than the start index for the line, * then the first range will extend all the ( way to the leading edge of the layout. ( Otherwise it will start at the leading  edge of the first character. $The index after the last character. ' If this value is greater than the end ) index for the line, then the last range ) will extend all the way to the trailing , edge of the layout. Otherwise, it will end " at the trailing edge of the last  character. X rs     Xrs       N     portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net$klmnopqrstuvwxyz{Sets the specified wv as the source color of the | context.  Retrieve the default  Graphics.Rendering.Pango.FontMap that contains a  list of available fonts. % One purpose of creating an explicit  %Graphics.Rendering.Pango.Font.FontMap is to set C a different scaling factor between font sizes (in points, pt) and E Cairo units (in pixels). The default is 96dpi (dots per inch) which E corresponds to an average screen as output medium. A 10pt font will  therefore scale to   10pt * (1/72 pt/inch) * (96 pixel/inch) = 13.3 pixel. !:Set the scaling factor between font size and Cairo units. & Value is in dots per inch (dpi). See  . ">Ask for the scaling factor between font size and Cairo units. & Value is in dots per inch (dpi). See  . # Create a  .  If no # is specified, it uses the default  that % has a scaling factor of 96 dpi. See  . $Set the scaling factor of the  . H Supplying zero or a negative value will result in the resolution value  of the underlying  to be used. See also  . %"Ask for the scaling factor of the  . B A negative value will be returned if no resolution has been set.  See $. &Set Cairo font options. F Apply the given font options to the context. Values set through this * functions override those that are set by (. }Reset Cairo font options. 'Retrieve Cairo font options. ( Update a   with respect to changes in a |  environment.  The   must have been created with  #. Any  s that have been > previously created with this context have to be update using  4Graphics.Rendering.Pango.Layout.layoutContextChanged. ) Create a   within a | context. 3 This is a convenience function that creates a new    within this | context and creates a new  . 0 If the transformation or target surface of the | context  change, *" has to be called on this layout. *Propagate changed to the | context to a  . + This is a convenience function that calls ( on the  (private)  * of the given layout to propagate changes  from the | context to the   and then calls  4Graphics.Rendering.Pango.Layout.layoutContextChanged on the layout.  This function is necessary for  ) since a private   is created that is  not visible to the user. +Draw a glyph string. H The origin of the glyphs (the left edge of the baseline) will be drawn , at the current point of the cairo context. ,Draw a  . H The origin of the glyphs (the left edge of the baseline) will be drawn , at the current point of the cairo context. -Draw a  .  The top-left corner of the   will be drawn at the current  point of the cairo context. .6Add the extent of a glyph string to the current path. E The origin of the glyphs (the left edge of the line) will be at the % current point of the cairo context. /5Add the extent of a layout line to the current path. E The origin of the glyphs (the left edge of the line) will be at the % current point of the cairo context. 0$Add the layout to the current path. G Adds the top-left corner of the text to the current path. Afterwards, 8 the path position is at the bottom-right corner of the  .  !"#$%&'()*+,-./0 !"#$%&'()*+,-./0 !"#$%&'()*+,-./0portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net&~10Retrieve a list of all available font families. B A font family is the name of the font without further attributes  like slant, variant or size. 2EQuery the metrics of the given font implied by the font description. 3Set the default   of this context. 4Get the current   of this context. 5Set the default = of this context. 6Get the current = of this context. 70Set the default text direction of this context. 80Get the current text direction of this context. 9<Set the text gravity of this context. If the given value is  7 then the gravity is derived from the current rotation  matrix. :.Get the current text gravity of this context. ;+Set the text gravity hint of this context. <.Get the current text gravity of this context. =HGets the transformation matrix that will be applied when rendering with  this context.  Since Pango 1.6 >HSets the transformation matrix that will be applied when rendering with M this context. Note that any metrics reported by other functions are in user J space coordinates before the application of the matrix, not device-space > coordinates after the application of the matrix. So, they don' t scale with E the matrix, though they may change slightly for different matrices, 5 depending on how the text is fit to the pixel grid.  Since Pango 1.6  =>?123456789:;<=> 1234=>?56789:;<=>123456789:;<=>portable (depends on GHC) provisional"gtk2hs-users@lists.sourceforge.net?  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>         ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                    H      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHHIJJKLMNOPQRSTUVWXYZ[\]^_`abcdefghighjghkghlghmghnghoghpghqghrghsghtghughvghwghxgyzgy{gy|gy}gy~gy~gygygy                     L                                                                  gg                                          !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ pango-0.12.2Graphics.Rendering.Pango.Font Graphics.Rendering.Pango.ContextGraphics.Rendering.Pango.Layout"Graphics.Rendering.Pango.RenderingGraphics.Rendering.Pango.EnumsGraphics.Rendering.Pango.MarkupGraphics.Rendering.Pango.CairoGraphics.Rendering.Pango.Types#Graphics.Rendering.Pango.BasicTypes Graphics.Rendering.Pango.Structs#Graphics.Rendering.Pango.Attributes%Graphics.Rendering.Pango.GlyphStorage$Graphics.Rendering.Pango.DescriptionGraphics.Rendering.Pango FontMapClassFontMap FontFaceClassFontFaceFontFamilyClass FontFamily FontClassFontPangoContextClass PangoContextFontDescription LayoutLine LayoutIter PangoLayout GlyphItem PangoItemPangoGravityHintPangoGravityHintLinePangoGravityHintStrongPangoGravityHintNatural PangoGravityPangoGravityAutoPangoGravityWestPangoGravityNorthPangoGravityEastPangoGravitySouth UnderlineUnderlineError UnderlineLowUnderlineDoubleUnderlineSingle UnderlineNoneStretchStretchUltraExpandedStretchExtraExpandedStretchExpandedStretchSemiExpanded StretchNormalStretchSemiCondensedStretchCondensedStretchExtraCondensedStretchUltraCondensedVariantVariantSmallCaps VariantNormalWeightWeightUltraheavy WeightHeavyWeightUltrabold WeightBoldWeightSemibold WeightMedium WeightNormal WeightBook WeightLightWeightUltralight WeightThin FontStyle StyleItalic StyleOblique StyleNormalLanguage emptyLanguagelanguageFromStringPangoAttributeAttrGravityHint paGravityHint AttrGravity paGravityAttrLetterSpacingpaLetterSpacing AttrFallback paFallback AttrScalepaScale AttrShapepaInk paLogicalAttrRisepaRiseAttrStrikethroughColorAttrStrikethroughpaStrikethroughAttrUnderlineColor AttrUnderline paUnderlineAttrBackgroundAttrForegroundpaColorAttrFontDescriptionpaFontDescription AttrAbsSizeAttrSizepaSize AttrStretch paStretch AttrVariant paVariant AttrWeightpaWeight AttrStylepaStyle AttrFamilypaFamily AttrLanguagepaStartpaEndpaLangPangoDirectionPangoDirectionNeutralPangoDirectionWeakRtlPangoDirectionWeakLtrPangoDirectionRtlPangoDirectionLtrPangoRectangle RectangleColor PangoUnitMarkup pangoScalepangoItemGetFontpangoItemGetLanguage parseMarkupglyphItemExtentsglyphItemExtentsRangeglyphItemIndexToXglyphItemXToIndexglyphItemGetLogicalWidthsglyphItemSplit FontMetricsascentdescentapproximateCharWidthapproximateDigitWidthunderlineThicknessunderlinePositionstrikethroughThicknessstrikethroughPosition EllipsizeMode EllipsizeEndEllipsizeMiddleEllipsizeStart EllipsizeNoneSize SizeLarger SizeSmaller SizeGiantSizeHuge SizeLarge SizeMedium SizeSmallSizeTinySizeUnreadable SizePointFontMaskPangoFontMaskGravityPangoFontMaskSizePangoFontMaskStretchPangoFontMaskWeightPangoFontMaskVariantPangoFontMaskStylePangoFontMaskFamilyfontDescriptionNewfontDescriptionCopyfontDescriptionSetFamilyfontDescriptionGetFamilyfontDescriptionSetStylefontDescriptionGetStylefontDescriptionSetVariantfontDescriptionGetVariantfontDescriptionSetWeightfontDescriptionGetWeightfontDescriptionSetStretchfontDescriptionGetStretchfontDescriptionSetSizefontDescriptionGetSizefontDescriptionUnsetFieldsfontDescriptionMergefontDescriptionBetterMatchfontDescriptionFromStringfontDescriptionToStringpangoFontMapListFamiliespangoFontFamilyIsMonospacepangoFontFamilyListFacespangoFontFaceListSizespangoFontFaceDescribe SpanAttributeFontGravityHint FontGravityFontLangFontRise FontUnderlineFontBackgroundFontForeground FontStretch FontVariant FontWeightFontSize FontDescrmarkSpan pangoItemizepangoItemGetFontMetrics pangoShape CursorPosCursorPosNextParaCursorPosPrevPara TabPositionTabAlignLayoutAlignment AlignRight AlignCenter AlignLeftLayoutWrapModeWrapPartialWords WrapAnywhereWrapWholeWords layoutEmpty layoutText layoutCopylayoutGetContextlayoutContextChanged layoutSetText layoutGetTextlayoutSetMarkup escapeMarkuplayoutSetMarkupWithAccellayoutSetAttributeslayoutGetAttributeslayoutSetFontDescriptionlayoutGetFontDescriptionlayoutSetWidthlayoutGetWidth layoutSetWrap layoutGetWraplayoutSetEllipsizelayoutGetEllipsizelayoutSetIndentlayoutGetIndentlayoutSetSpacinglayoutGetSpacinglayoutSetJustifylayoutGetJustifylayoutSetAutoDirlayoutGetAutoDirlayoutSetAlignmentlayoutGetAlignment layoutSetTabslayoutResetTabs layoutGetTabslayoutSetSingleParagraphModelayoutGetSingleParagraphModelayoutXYToIndexlayoutIndexToPoslayoutGetCursorPoslayoutMoveCursorVisuallylayoutGetExtentslayoutGetPixelExtentslayoutGetLineCount layoutGetLinelayoutGetLines layoutGetIterlayoutIterNextItemlayoutIterNextCharlayoutIterNextClusterlayoutIterNextLinelayoutIterAtLastLinelayoutIterGetIndexlayoutIterGetBaselinelayoutIterGetItemlayoutIterGetLinelayoutIterGetCharExtentslayoutIterGetClusterExtentslayoutIterGetRunExtentslayoutIterGetLineYRangelayoutIterGetLineExtentslayoutLineGetExtentslayoutLineGetPixelExtentslayoutLineIndexToXlayoutLineXToIndexlayoutLineGetXRangessetSourceColorcairoFontMapGetDefaultcairoFontMapSetResolutioncairoFontMapGetResolutioncairoCreateContextcairoContextSetResolutioncairoContextGetResolutioncairoContextSetFontOptionscairoContextGetFontOptions updateContext createLayout updateLayoutshowGlyphStringshowLayoutLine showLayoutglyphStringPathlayoutLinePath layoutPathcontextListFamiliescontextGetMetricscontextSetFontDescriptioncontextGetFontDescriptioncontextSetLanguagecontextGetLanguagecontextSetTextDircontextGetTextDircontextSetTextGravitycontextGetTextGravitycontextSetTextGravityHintcontextGetTextGravityHintcontextGetMatrixcontextSetMatrix FontSetClassFontSetPangoLayoutRawClassPangoLayoutRawpango_fontset_get_typepango_font_face_get_typepango_font_family_get_typepango_font_get_typepango_layout_get_typepango_context_get_typecastTotoPangoContextcastToPangoContextgTypePangoContexttoPangoLayoutRawcastToPangoLayoutRawgTypePangoLayoutRawtoFont castToFont gTypeFont toFontFamilycastToFontFamilygTypeFontFamily toFontFacecastToFontFace gTypeFontFace toFontMap castToFontMap gTypeFontMap toFontSet castToFontSet gTypeFontSet glib-0.12.2System.Glib.GObjectisAobjectGetAttributeUnsafeobjectSetAttributeobjectCreateAttributequarkFromStringwrapNewGObjectconstructNewGObjectmakeNewGObject gTypeGObject objectRef objectRefSink objectNew destroyFunPtrdestroyStablePtr DestroyNotifyQuarkSystem.Glib.Types castToGObject unGObject mkGObject objectUnrefGObjectunsafeCastGObject toGObject GObjectClassmkPangoContextunPangoContextmkPangoLayoutRawunPangoLayoutRawmkFontunFont mkFontFamily unFontFamily mkFontFace unFontFace mkFontMap unFontMap mkFontSet unFontSetCPangoAttribute PangoAttrList LayoutLineRaw LayoutIterRaw GlyphItemRaw PangoItemRawGlyphStringRaw PangoStringGIntg_free pango_font_description_to_stringpango_language_from_stringpango_font_description_freepango_layout_line_unreflayout_iter_freepango_item_freepango_glyph_string_freemakeNewPangoStringwithPangoStringmakeNewGlyphStringRawmakeNewPangoItemRawwithPangoItemRawmakeNewLayoutIterRawmakeNewLayoutLineRawmakeNewFontDescriptionghc-prim GHC.TypesDoublepeekPangoColorpeekIntPangoRectanglepuToIntpuToUIntintToPuuIntToPupangodirToLevelpangoItemRawGetFontpangoItemRawGetLanguagepangoItemRawGetOffsetpangoItemRawGetLengthpangoItemRawAnalysispangoItemRawGetLevel setAttrPosreadAttrPangoAttrIteratorpango_attribute_destroypango_attr_iterator_destroypango_attr_iterator_nextpango_attr_iterator_get_attrspango_attr_list_get_iteratorpango_parse_markuppango_attr_gravity_hint_newpango_attr_gravity_newpango_attr_letter_spacing_newpango_attr_fallback_newpango_attr_scale_newpango_attr_shape_newpango_attr_rise_new"pango_attr_strikethrough_color_newpango_attr_strikethrough_newpango_attr_underline_color_newpango_attr_underline_newpango_attr_background_newpango_attr_foreground_newpango_attr_font_desc_newpango_attr_size_new_absolutepango_attr_size_newpango_attr_stretch_newpango_attr_variant_newpango_attr_weight_newpango_attr_style_newpango_attr_family_newpango_attr_language_newpango_attr_list_insertpango_attr_list_newpango_attr_list_unref withAttrListcrAttrSystem.Glib.GErrorGError fromAttrListfromAttr readAttrListpango_glyph_item_splitpango_glyph_string_copypango_item_copy%pango_glyph_string_get_logical_widths g_utf8_strlenpango_glyph_string_x_to_indexpango_glyph_string_index_to_x pango_glyph_string_extents_rangepango_glyph_string_extentsbaseGHC.IO.ExceptionArrayException"pango_font_description_from_string#pango_font_description_better_matchpango_font_description_merge#pango_font_description_unset_fieldspango_font_description_get_sizepango_font_description_set_size"pango_font_description_get_stretch"pango_font_description_set_stretch!pango_font_description_get_weight!pango_font_description_set_weight"pango_font_description_get_variant"pango_font_description_set_variant pango_font_description_get_style%pango_font_description_get_set_fields pango_font_description_set_style!pango_font_description_get_family!pango_font_description_set_familypango_font_description_copypango_font_description_new Data.MaybeNothingfontDescriptionIsMatchTrue$fEnumFontMaskpango_font_face_describepango_font_face_list_sizespango_font_face_get_face_namepango_font_family_list_facespango_font_family_is_monospacepango_font_family_get_namepango_font_map_list_families pango_shapepango_glyph_string_new.pango_font_metrics_get_strikethrough_thickness-pango_font_metrics_get_strikethrough_position*pango_font_metrics_get_underline_thickness)pango_font_metrics_get_underline_position.pango_font_metrics_get_approximate_digit_width-pango_font_metrics_get_approximate_char_widthpango_font_metrics_get_descentpango_font_metrics_get_ascentpango_font_get_metrics pango_itemizeTabLeftpango_layout_line_get_x_rangespango_layout_line_x_to_indexpango_layout_line_index_to_x#pango_layout_line_get_pixel_extentspango_layout_line_get_extents"pango_layout_iter_get_line_extents!pango_layout_iter_get_run_extents%pango_layout_iter_get_cluster_extents"pango_layout_iter_get_char_extentspango_layout_iter_get_linepango_layout_iter_get_runpango_layout_iter_get_baselinepango_layout_iter_get_indexpango_layout_iter_at_last_linepango_layout_iter_next_linepango_layout_iter_next_clusterpango_layout_iter_next_charpango_layout_iter_next_runpango_layout_get_iterpango_layout_get_lines_readonlypango_layout_line_refpango_layout_get_line_readonlypango_layout_get_line_countpango_layout_get_pixel_extentspango_layout_get_extents!pango_layout_move_cursor_visuallypango_layout_get_cursor_pospango_layout_index_to_pospango_layout_xy_to_index&pango_layout_get_single_paragraph_mode&pango_layout_set_single_paragraph_modepango_tab_array_get_tabpango_tab_array_get_sizepango_layout_get_tabspango_tab_array_freepango_layout_set_tabspango_tab_array_set_tabpango_tab_array_newpango_layout_get_alignmentpango_layout_set_alignmentpango_layout_get_auto_dirpango_layout_set_auto_dirpango_layout_get_justifypango_layout_set_justifypango_layout_get_spacingpango_layout_set_spacingpango_layout_get_indentpango_layout_set_indentpango_layout_get_ellipsizepango_layout_set_ellipsizepango_layout_get_wrappango_layout_set_wrappango_layout_get_widthpango_layout_set_width!pango_layout_get_font_description!pango_layout_set_font_descriptionpango_layout_get_attributespango_layout_set_attributes"pango_layout_set_markup_with_accelg_markup_escape_textpango_layout_set_markuppango_layout_get_textpango_layout_context_changedpango_layout_get_contextpango_layout_copypango_layout_set_textpango_layout_newfont_description_copytwoRectpango_cairo_layout_pathpango_cairo_layout_line_pathpango_cairo_glyph_string_pathpango_cairo_show_layoutpango_cairo_show_layout_linepango_cairo_show_glyph_stringpango_cairo_update_layoutpango_cairo_create_layoutpango_cairo_update_context$pango_cairo_context_get_font_options$pango_cairo_context_set_font_options"pango_cairo_context_get_resolution"pango_cairo_context_set_resolution#pango_cairo_font_map_create_context#pango_cairo_font_map_get_resolution#pango_cairo_font_map_set_resolution pango_cairo_font_map_get_default cairo-0.12.2!Graphics.Rendering.Cairo.InternalRendercairoContextResetFontOptionspango_context_set_matrixpango_context_get_matrixpango_context_get_gravity_hintpango_context_set_gravity_hintpango_context_get_base_gravitypango_context_set_base_gravitypango_context_get_base_dirpango_context_set_base_dirpango_context_get_languagepango_context_set_language"pango_context_get_font_description"pango_context_set_font_descriptionpango_context_get_metricspango_context_list_families