Portability | unportable |
---|---|
Stability | unstable |
Maintainer | jao@gnu.org |
Safe Haskell | None |
MinXft
Description
Created: Mon Sep 10, 2012 18:12
Pared down Xft library, based on Graphics.X11.Xft and providing explicit management of XftColors, so that they can be cached.
Most of the code is lifted from Clemens's.
Documentation
data AXftColor
data AXftFont
mallocAXftColor :: Display -> Visual -> Colormap -> String -> IO AXftColor
freeAXftColor :: Display -> Visual -> Colormap -> AXftColor -> IO ()
withAXftDraw :: Display -> Drawable -> Visual -> Colormap -> (AXftDraw -> IO a) -> IO a
drawXftString :: (Integral a1, Integral a) => AXftDraw -> AXftColor -> AXftFont -> a -> a1 -> String -> IO ()
drawXftRect :: (Integral a3, Integral a2, Integral a1, Integral a) => AXftDraw -> AXftColor -> a -> a1 -> a2 -> a3 -> IO ()
openAXftFont :: Display -> Screen -> String -> IO AXftFont
closeAXftFont :: Display -> AXftFont -> IO ()
xftTxtExtents :: Display -> AXftFont -> String -> IO XGlyphInfo
xft_ascent :: AXftFont -> IO Int
xft_descent :: AXftFont -> IO Int
xft_height :: AXftFont -> IO Int