Idris2Doc : IdrisGL.SDL.SDL_ttf

IdrisGL.SDL.SDL_ttf

(source)

Definitions

drawText : HasIO io => Renderer -> String -> Int -> String -> Coordinate -> Color -> io ()
  Draw blended text to a renderer with default settings.
@ text Text.
@ size Font size.
@ font Path of font file.

Visibility: export
drawSolidText : HasIO io => Renderer -> String -> Int -> String -> TextStyle -> Int -> TextHinting -> Coordinate -> Color -> io ()
  Draw solid text to a renderer.
@ text Text.
@ size Font size.
@ font Path of font file.
@ kerning Set freetype kerning setting.

Visibility: export
drawBlendedText : HasIO io => Renderer -> String -> Int -> String -> TextStyle -> Int -> TextHinting -> Coordinate -> Color -> io ()
  Draw blended text to a renderer.
@ text Text.
@ size Font size.
@ font Path of font file.
@ kerning Set freetype kerning setting.

Visibility: export
drawShadedText : HasIO io => Renderer -> String -> Int -> String -> TextStyle -> Int -> TextHinting -> Coordinate -> Color -> Color -> io ()
  Draw shaded text to a renderer.
@ text Text.
@ size Font size.
@ font Path of font file.
@ kerning Set freetype kerning setting.
@ color1 The color to render the text in.
@ color2 The color to render the background box in.

Visibility: export