/usr/share/doc/libghc-sdl-ttf-doc/html/SDL-ttf.txt is in libghc-sdl-ttf-doc 0.6.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Binding to libSDL_ttf
--
-- This is a sample library which allows you to use TrueType fonts in
-- your SDL applications.
@package SDL-ttf
@version 0.6.2
module Graphics.UI.SDL.TTF.Version
compiledFor :: Version
linkedWith :: IO Version
instance Storable SDLVersion
module Graphics.UI.SDL.TTF.General
init :: IO Bool
wasInit :: IO Bool
quit :: IO ()
module Graphics.UI.SDL.TTF.Types
data FontStruct
type Font = ForeignPtr FontStruct
module Graphics.UI.SDL.TTF.Render
tryRenderTextSolid :: Font -> String -> Color -> IO (Maybe Surface)
renderTextSolid :: Font -> String -> Color -> IO Surface
tryRenderUTF8Solid :: Font -> String -> Color -> IO (Maybe Surface)
renderUTF8Solid :: Font -> String -> Color -> IO Surface
tryRenderGlyphSolid :: Font -> Char -> Color -> IO (Maybe Surface)
renderGlyphSolid :: Ptr FontStruct -> Word16 -> Ptr Color -> IO (Ptr SurfaceStruct)
tryRenderTextShaded :: Font -> String -> Color -> Color -> IO (Maybe Surface)
renderTextShaded :: Font -> String -> Color -> Color -> IO Surface
tryRenderUTF8Shaded :: Font -> String -> Color -> Color -> IO (Maybe Surface)
renderUTF8Shaded :: Font -> String -> Color -> Color -> IO Surface
tryRenderGlyphShaded :: Font -> Char -> Color -> Color -> IO (Maybe Surface)
renderGlyphShaded :: Ptr FontStruct -> Word16 -> Ptr Color -> Ptr Color -> IO (Ptr SurfaceStruct)
tryRenderTextBlended :: Font -> String -> Color -> IO (Maybe Surface)
renderTextBlended :: Font -> String -> Color -> IO Surface
tryRenderUTF8Blended :: Font -> String -> Color -> IO (Maybe Surface)
renderUTF8Blended :: Font -> String -> Color -> IO Surface
tryRenderGlyphBlended :: Font -> Char -> Color -> IO (Maybe Surface)
renderGlyphBlended :: Ptr FontStruct -> Word16 -> Ptr Color -> IO (Ptr SurfaceStruct)
module Graphics.UI.SDL.TTF.Management
tryOpenFont :: String -> Int -> IO (Maybe Font)
openFont :: String -> Int -> IO Font
closeFont :: Font -> IO ()
tryOpenFontRW :: RWops -> Bool -> Int -> IO (Maybe Font)
openFontRW :: RWops -> Bool -> Int -> IO Font
tryOpenFontIndex :: String -> Int -> Int -> IO (Maybe Font)
openFontIndex :: String -> Int -> Int -> IO Font
module Graphics.UI.SDL.TTF.Attributes
getFontStyle :: Font -> IO [FontStyle]
setFontStyle :: Font -> [FontStyle] -> IO ()
fontHeight :: Font -> IO Int
fontAscent :: Font -> IO Int
fontDescent :: Font -> IO Int
fontLineSkip :: Font -> IO Int
fontFaces :: Font -> IO Int
fontFaceIsFixedWidth :: Font -> IO Int
fontFaceFamilyName :: Font -> IO String
fontFaceStyleName :: Font -> IO String
tryTextSize :: Font -> String -> IO (Maybe (Int, Int))
textSize :: Font -> String -> IO (Int, Int)
tryUTF8Size :: Font -> String -> IO (Maybe (Int, Int))
utf8Size :: Font -> String -> IO (Int, Int)
data FontStyle
StyleBold :: FontStyle
StyleItalic :: FontStyle
StyleUnderline :: FontStyle
instance Show FontStyle
instance Eq FontStyle
instance Ord FontStyle
instance Enum FontStyle Int
instance Bounded FontStyle
module Graphics.UI.SDL.TTF
|