Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fontDescriptionSetVariant :: (HasCallStack, MonadIO m) => FontDescription -> Variant -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the variant field of a font description. The Variant can either be VariantNormal or VariantSmallCaps.
fontDescriptionSetVariations :: (HasCallStack, MonadIO m) => FontDescription -> Maybe Text -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the variations field of a font description. OpenType font variations allow to select a font instance by specifying values for a number of axes, such as width or weight. The format of the variations string is AXIS1=VALUE,AXIS2=VALUE... with each AXIS a 4 character tag that identifies a font axis, and each VALUE a floating point number. Unknown axes are ignored, and values are clamped to their allowed range. Pango does not currently have a way to find supported axes of a font. Both harfbuzz and freetype have API for this. See for example hb_ot_var_get_axis_infos. Since: 1.42
fontDescriptionSetVariationsStatic :: (HasCallStack, MonadIO m) => FontDescription -> Text -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the variations field of a font description. This is like fontDescriptionSetVariations, except that no copy of variations is made. The caller must make sure that the string passed in stays around until desc has been freed or the name is set again. This function can be used if variations is a static string such as a C string literal, or if desc is only needed temporarily. Since: 1.42
fontDescriptionSetWeight :: (HasCallStack, MonadIO m) => FontDescription -> Weight -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the weight field of a font description. The weight field specifies how bold or light the font should be. In addition to the values of the Weight enumeration, other intermediate numeric values are possible.
fontDescriptionUnsetFields :: (HasCallStack, MonadIO m) => FontDescription -> [FontMask] -> m ()gi-pango GI.Pango.Structs.FontDescription Unsets some of the fields in a PangoFontDescription. The unset fields will get back to their default values.
getGlyphGeometryXOffset :: MonadIO m => GlyphGeometry -> m Int32gi-pango GI.Pango.Structs.GlyphGeometry Get the value of the “x_offset” field. When overloading is enabled, this is equivalent to
get glyphGeometry #xOffset
getGlyphGeometryYOffset :: MonadIO m => GlyphGeometry -> m Int32gi-pango GI.Pango.Structs.GlyphGeometry Get the value of the “y_offset” field. When overloading is enabled, this is equivalent to
get glyphGeometry #yOffset
getGlyphItemEndXOffset :: MonadIO m => GlyphItem -> m Int32gi-pango GI.Pango.Structs.GlyphItem Get the value of the “end_x_offset” field. When overloading is enabled, this is equivalent to
get glyphItem #endXOffset
getGlyphItemStartXOffset :: MonadIO m => GlyphItem -> m Int32gi-pango GI.Pango.Structs.GlyphItem Get the value of the “start_x_offset” field. When overloading is enabled, this is equivalent to
get glyphItem #startXOffset
getGlyphItemYOffset :: MonadIO m => GlyphItem -> m Int32gi-pango GI.Pango.Structs.GlyphItem Get the value of the “y_offset” field. When overloading is enabled, this is equivalent to
get glyphItem #yOffset