Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. layoutGetWidth :: (HasCallStack, MonadIO m, IsLayout a) => a -> m Int32

    gi-pango GI.Pango.Objects.Layout

    Gets the width to which the lines of the PangoLayout should wrap.

  2. layoutSetWidth :: (HasCallStack, MonadIO m, IsLayout a) => a -> Int32 -> m ()

    gi-pango GI.Pango.Objects.Layout

    Sets the width to which the lines of the PangoLayout should wrap or ellipsized. The default value is -1: no width set.

  3. rendererDrawTrapezoid :: (HasCallStack, MonadIO m, IsRenderer a) => a -> RenderPart -> Double -> Double -> Double -> Double -> Double -> Double -> m ()

    gi-pango GI.Pango.Objects.Renderer

    Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space. Since: 1.8

  4. fontMetricsGetApproximateCharWidth :: (HasCallStack, MonadIO m) => FontMetrics -> m Int32

    gi-pango GI.Pango.Structs.FontMetrics

    Gets the approximate character width for a font metrics structure. 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.

  5. fontMetricsGetApproximateDigitWidth :: (HasCallStack, MonadIO m) => FontMetrics -> m Int32

    gi-pango GI.Pango.Structs.FontMetrics

    Gets the approximate digit width for a font metrics structure. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider or narrower than this, though this value is generally somewhat more accurate than the result of fontMetricsGetApproximateCharWidth for digits.

  6. getGlyphGeometryWidth :: MonadIO m => GlyphGeometry -> m Int32

    gi-pango GI.Pango.Structs.GlyphGeometry

    Get the value of the “width” field. When overloading is enabled, this is equivalent to

    get glyphGeometry #width
    

  7. setGlyphGeometryWidth :: MonadIO m => GlyphGeometry -> Int32 -> m ()

    gi-pango GI.Pango.Structs.GlyphGeometry

    Set the value of the “width” field. When overloading is enabled, this is equivalent to

    set glyphGeometry [ #width := value ]
    

  8. glyphItemGetLogicalWidths :: (HasCallStack, MonadIO m) => GlyphItem -> Text -> [Int32] -> m ()

    gi-pango GI.Pango.Structs.GlyphItem

    Given a PangoGlyphItem and the corresponding text, determine the width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. See also glyphStringGetLogicalWidths. Since: 1.26

  9. glyphStringGetLogicalWidths :: (HasCallStack, MonadIO m) => GlyphString -> Text -> Int32 -> Int32 -> [Int32] -> m ()

    gi-pango GI.Pango.Structs.GlyphString

    Given a PangoGlyphString and corresponding text, determine the width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. See also glyphItemGetLogicalWidths.

  10. glyphStringGetWidth :: (HasCallStack, MonadIO m) => GlyphString -> m Int32

    gi-pango GI.Pango.Structs.GlyphString

    Computes the logical width of the glyph string. This can also be computed using glyphStringExtents. However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of geometry.width for each glyph in the glyphs. Since: 1.14

Page 866 of many | Previous | Next