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 Source

xftcolor_pixel :: XftColor -> IO Int Source

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

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

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

data XftDraw Source

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

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

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

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

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

xftDrawDisplay :: XftDraw -> IO Display Source

xftDrawDrawable :: XftDraw -> IO Drawable Source

xftDrawColormap :: XftDraw -> IO Colormap Source

xftDrawVisual :: XftDraw -> IO Visual Source

xftDrawDestroy :: XftDraw -> IO () Source

data XftFont Source

xftfont_ascent :: XftFont -> IO Int Source

xftfont_descent :: XftFont -> IO Int Source

xftfont_height :: XftFont -> IO Int Source

xftfont_max_advance_width :: XftFont -> IO Int Source

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

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

xftLockFace :: XftFont -> IO () Source

xftUnlockFace :: XftFont -> IO () Source

xftFontCopy :: Display -> XftFont -> IO XftFont Source

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

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

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

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

xftDrawRect :: (Integral a, Integral a1, Integral a2, Integral a3) => XftDraw -> XftColor -> a -> a1 -> a2 -> a3 -> IO () Source

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

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

xftInitFtLibrary :: IO () Source