Graphics.X11.Xft

X11-xft-0.3.1: Bindings to the Xft, X Free Type interface library, and some Xrender parts

Safe Haskell | None
Language | Haskell98

Graphics.X11.Xft

# Documentation

data XftColor #

xftcolor_pixel :: XftColor -> IO Int #

allocaXftColor :: (Ptr XftColor -> IO a) -> IO a #

withXftColorName :: Display -> Visual -> Colormap -> String -> (XftColor -> IO a) -> IO a #

withXftColorValue :: Display -> Visual -> Colormap -> XRenderColor -> (XftColor -> IO a) -> IO a #

data XftDraw #

withXftDraw :: Display -> Drawable -> Visual -> Colormap -> (XftDraw -> IO a) -> IO a #

xftDrawCreate :: Display -> Drawable -> Visual -> Colormap -> IO XftDraw #

xftDrawCreateBitmap :: Display -> Pixmap -> IO XftDraw #

xftDrawCreateAlpha :: Integral a => Display -> Pixmap -> a -> IO XftDraw #

xftDrawChange :: XftDraw -> Drawable -> IO () #

xftDrawDisplay :: XftDraw -> IO Display #

xftDrawDrawable :: XftDraw -> IO Drawable #

xftDrawColormap :: XftDraw -> IO Colormap #

xftDrawVisual :: XftDraw -> IO Visual #

xftDrawDestroy :: XftDraw -> IO () #

data XftFont #

xftfont_ascent :: XftFont -> IO Int #

xftfont_descent :: XftFont -> IO Int #

xftfont_height :: XftFont -> IO Int #

xftfont_max_advance_width :: XftFont -> IO Int #

xftFontOpen :: Display -> Screen -> String -> IO XftFont #

xftFontOpenXlfd :: Display -> Screen -> String -> IO XftFont #

xftLockFace :: XftFont -> IO () #

xftUnlockFace :: XftFont -> IO () #

xftFontCopy :: Display -> XftFont -> IO XftFont #

xftFontClose :: Display -> XftFont -> IO () #

xftDrawGlyphs :: (Integral a1, Integral a2, Integral a3) => XftDraw -> XftColor -> XftFont -> a2 -> a3 -> [a1] -> IO () #

xftDrawString :: (Integral a1, Integral a2) => XftDraw -> XftColor -> XftFont -> a1 -> a2 -> String -> IO () #

xftTextExtents :: Display -> XftFont -> String -> IO XGlyphInfo #

xftDrawRect :: (Integral a1, Integral a2, Integral a3, Integral a4) => XftDraw -> XftColor -> a1 -> a2 -> a3 -> a4 -> IO () #

xftDrawSetClipRectangles :: XftDraw -> Int -> Int -> [Rectangle] -> IO Bool #

xftDrawSetSubwindowMode :: Integral a => XftDraw -> a -> IO () #

xftInitFtLibrary :: IO () #