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.
-
gi-pango GI.Pango.Objects.Renderer Sets the color for part of the rendering. Also see rendererSetAlpha. Since: 1.8
rendererSetMatrix :: (HasCallStack, MonadIO m, IsRenderer a) => a -> Maybe Matrix -> m ()gi-pango GI.Pango.Objects.Renderer Sets the transformation matrix that will be applied when rendering. Since: 1.8
fontDescriptionGetSetFields :: (HasCallStack, MonadIO m) => FontDescription -> m [FontMask]gi-pango GI.Pango.Structs.FontDescription Determines which fields in a font description have been set.
fontDescriptionSetAbsoluteSize :: (HasCallStack, MonadIO m) => FontDescription -> Double -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the size field of a font description, in device units. This is mutually exclusive with fontDescriptionSetSize which sets the font size in points. Since: 1.8
fontDescriptionSetFamily :: (HasCallStack, MonadIO m) => FontDescription -> Text -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the family name field of a font description. The family name represents a family of related font styles, and will resolve to a particular PangoFontFamily. In some uses of PangoFontDescription, it is also possible to use a comma separated list of family names for this field.
fontDescriptionSetFamilyStatic :: (HasCallStack, MonadIO m) => FontDescription -> Text -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the family name field of a font description, without copying the string. This is like fontDescriptionSetFamily, except that no copy of family 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 family is a static string such as a C string literal, or if desc is only needed temporarily.
fontDescriptionSetGravity :: (HasCallStack, MonadIO m) => FontDescription -> Gravity -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the gravity field of a font description. The gravity field specifies how the glyphs should be rotated. If gravity is GravityAuto, this actually unsets the gravity mask on the font description. This function is seldom useful to the user. Gravity should normally be set on a PangoContext. Since: 1.16
fontDescriptionSetSize :: (HasCallStack, MonadIO m) => FontDescription -> Int32 -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the size field of a font description in fractional points. This is mutually exclusive with fontDescriptionSetAbsoluteSize.
fontDescriptionSetStretch :: (HasCallStack, MonadIO m) => FontDescription -> Stretch -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the stretch field of a font description. The Stretch field specifies how narrow or wide the font should be.
fontDescriptionSetStyle :: (HasCallStack, MonadIO m) => FontDescription -> Style -> m ()gi-pango GI.Pango.Structs.FontDescription Sets the style field of a PangoFontDescription. The Style enumeration describes whether the font is slanted and the manner in which it is slanted; it can be either StyleNormal, StyleItalic, or StyleOblique. Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.