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.
layoutSetSpacing :: PangoLayout -> Double -> IO ()pango Graphics.Rendering.Pango Set the spacing between lines of this paragraph.
layoutSetTabs :: PangoLayout -> [TabPosition] -> IO ()pango Graphics.Rendering.Pango Set a list of Tab positions.
layoutSetText :: GlibString string => PangoLayout -> string -> IO ()pango Graphics.Rendering.Pango Set the string in the layout.
layoutSetWidth :: PangoLayout -> Maybe Double -> IO ()pango Graphics.Rendering.Pango Set the width of this paragraph.
- Sets the width to which the lines of the PangoLayout should be wrapped.
- Pass in Nothing to indicate that no wrapping is to be performed.
layoutSetWrap :: PangoLayout -> LayoutWrapMode -> IO ()pango Graphics.Rendering.Pango Set how this paragraph is wrapped.
- Sets the wrap style; the wrap style only has an effect if a width is set on the layout with layoutSetWidth. To turn off wrapping, call layoutSetWidth with Nothing.
cairoContextSetFontOptions :: PangoContext -> FontOptions -> IO ()pango Graphics.Rendering.Pango.Cairo Set Cairo font options.
- Apply the given font options to the context. Values set through this functions override those that are set by updateContext.
cairoContextSetResolution :: PangoContext -> Double -> IO ()pango Graphics.Rendering.Pango.Cairo Set the scaling factor of the PangoContext.
- Supplying zero or a negative value will result in the resolution value of the underlying FontMap to be used. See also cairoFontMapGetDefault.
cairoFontMapSetResolution :: FontMap -> Double -> IO ()pango Graphics.Rendering.Pango.Cairo Set the scaling factor between font size and Cairo units.
- Value is in dots per inch (dpi). See cairoFontMapGetDefault.
contextSetFontDescription :: PangoContext -> FontDescription -> IO ()pango Graphics.Rendering.Pango.Context Set the default FontDescription of this context.
contextSetLanguage :: PangoContext -> Language -> IO ()pango Graphics.Rendering.Pango.Context Set the default Language of this context.