Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getGlyphGeometryWidth :: MonadIO m => GlyphGeometry -> m Int32gi-pango GI.Pango.Structs.GlyphGeometry Get the value of the “width” field. When overloading is enabled, this is equivalent to
get glyphGeometry #width
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 ]
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
-
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.
glyphStringGetWidth :: (HasCallStack, MonadIO m) => GlyphString -> m Int32gi-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
getRectangleWidth :: MonadIO m => Rectangle -> m Int32gi-pango GI.Pango.Structs.Rectangle Get the value of the “width” field. When overloading is enabled, this is equivalent to
get rectangle #width
setRectangleWidth :: MonadIO m => Rectangle -> Int32 -> m ()gi-pango GI.Pango.Structs.Rectangle Set the value of the “width” field. When overloading is enabled, this is equivalent to
set rectangle [ #width := value ]
asyncThreadId :: Async a -> ThreadIdlifted-async Control.Concurrent.Async.Lifted asyncThreadId :: Async a -> ThreadIdlifted-async Control.Concurrent.Async.Lifted.Safe pattern
LUA_OPIDIV :: ArithOPCodelua Lua Performs floor division (//)