package gd

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GdSource

Sourcetype t
Sourceexception Too_many_colors
Sourceexception Color_not_found
Sourceexception Image_creation_failed
Sourceexception Not_supported
Sourceexception Illegal_state of string
Sourcetype color
Sourcetype ftex_flag =
  1. | FTExSetSpacing
  2. | FTExSetCharmap
Sourcetype ftex_charmap =
  1. | FTExUnicode
  2. | FTExShiftJIS
  3. | FTExBig5
Sourceclass virtual color_allocator : object ... end
Sourcetype font
Sourcemodule Font : sig ... end
Sourceclass virtual image : object ... end
Sourceval create : x:int -> y:int -> image
Sourceval create_truecolor : x:int -> y:int -> image
Sourceval open_png : string -> image
Sourceval open_jpeg : string -> image
Sourceval is_truecolor : t -> bool
Sourceval ft_bbox : fname:string -> size:float -> angle:float -> x:int -> y:int -> string -> int array
Sourceval ftex_bbox : fname:string -> size:float -> angle:float -> x:int -> y:int -> ?flags:ftex_flag array -> ?spacing:float -> ?charmap:ftex_charmap -> string -> int array