package gd

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
exception Too_many_colors
exception Color_not_found
exception Image_creation_failed
exception Not_supported
exception Illegal_state of string
type color
type ftex_flag =
  1. | FTExSetSpacing
  2. | FTExSetCharmap
type ftex_charmap =
  1. | FTExUnicode
  2. | FTExShiftJIS
  3. | FTExBig5
class virtual color_allocator : object ... end
type font
module Font : sig ... end
class virtual image : object ... end
val create : x:int -> y:int -> image
val create_truecolor : x:int -> y:int -> image
val open_png : string -> image
val open_jpeg : string -> image
val is_truecolor : t -> bool
val ft_bbox : fname:string -> size:float -> angle:float -> x:int -> y:int -> string -> int array
val ftex_bbox : fname:string -> size:float -> angle:float -> x:int -> y:int -> ?flags:ftex_flag array -> ?spacing:float -> ?charmap:ftex_charmap -> string -> int array
OCaml

Innovation. Community. Security.