X11-xft-0.3.4: Bindings to the Xft and some Xrender parts
Safe HaskellSafe-Inferred
LanguageHaskell98

Graphics.X11.Xft

Synopsis

Documentation

xftDrawGlyphs :: (Integral a, Integral b, Integral c) => XftDraw -> XftColor -> XftFont -> b -> c -> [a] -> IO () Source #

xftDrawString :: (Integral a, Integral b) => XftDraw -> XftColor -> XftFont -> a -> b -> String -> IO () Source #

xftDrawStringFallback :: XftDraw -> XftColor -> [XftFont] -> Int -> Int -> String -> IO () Source #

Like xftDrawString, but fall back to another font in the given list if necessary (i.e., should a character not be drawable with the currently selected font).

xftTextAccumExtents :: Display -> [XftFont] -> String -> IO XGlyphInfo Source #

Like xftTextExtents but for multiple fonts. Return accumulative extents using appropriate fonts for each part of string.

xftDrawRect :: (Integral a, Integral b, Integral c, Integral d) => XftDraw -> XftColor -> a -> b -> c -> d -> IO () Source #