package gd

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
method arc : cx:int -> cy:int -> w:int -> h:int -> s:int -> e:int -> ?pseudo:int -> color -> unit
method border_fill : x:int -> y:int -> border:color -> fill:color -> unit
method closed_arc : cx:int -> cy:int -> w:int -> h:int -> s:int -> e:int -> ?nofill:bool -> ?edged:bool -> ?pseudo:int -> color -> unit
method closed_chord : cx:int -> cy:int -> w:int -> h:int -> s:int -> e:int -> ?nofill:bool -> ?edged:bool -> ?pseudo:int -> color -> unit
method colors : color_allocator
method copy : image -> x:int -> y:int -> src_x:int -> src_y:int -> w:int -> h:int -> unit
method copy_merge : image -> x:int -> y:int -> src_x:int -> src_y:int -> w:int -> h:int -> pct:int -> unit
method copy_merge_gray : image -> x:int -> y:int -> src_x:int -> src_y:int -> w:int -> h:int -> pct:int -> unit
method copy_resampled : image -> x:int -> y:int -> src_x:int -> src_y:int -> w:int -> h:int -> src_w:int -> src_h:int -> unit
method copy_resized : image -> x:int -> y:int -> src_x:int -> src_y:int -> w:int -> h:int -> src_w:int -> src_h:int -> unit
method copy_rotated : image -> x:float -> y:float -> src_x:int -> src_y:int -> w:int -> h:int -> angle:int -> unit
method dashed_line : x1:int -> y1:int -> x2:int -> y2:int -> ?pseudo:int -> color -> unit
method fill : x:int -> y:int -> color -> unit
method filled_ellipse : cx:int -> cy:int -> w:int -> h:int -> ?pseudo:int -> color -> unit
method filled_polygon : pts:(int * int) array -> ?pseudo:int -> color -> unit
method filled_rectangle : x1:int -> y1:int -> x2:int -> y2:int -> ?pseudo:int -> color -> unit
method get_image : t
method get_pixel : x:int -> y:int -> color
method height : int
method in_range : x:int -> y:int -> bool
method letter : font:font -> x:int -> y:int -> c:char -> color -> unit
method letter_up : font:font -> x:int -> y:int -> c:char -> color -> unit
method line : x1:int -> y1:int -> x2:int -> y2:int -> ?pseudo:int -> color -> unit
method out_as_jpeg : ?quality:int -> out_channel -> unit
method out_as_png : out_channel -> unit
method palette_copy : image -> unit
method polygon : pts:(int * int) array -> ?pseudo:int -> color -> unit
method rectangle : x1:int -> y1:int -> x2:int -> y2:int -> ?pseudo:int -> color -> unit
method save_as_jpeg : ?quality:int -> string -> unit
method save_as_png : string -> unit
method set_antialiased : color -> unit
method set_antialiased_dont_blend : aacolor:color -> dontblend:color -> unit
method set_brush : image -> unit
method set_clip : x1:int -> y1:int -> x2:int -> y2:int -> unit
method set_pixel : x:int -> y:int -> color -> unit
method set_thickness : int -> unit
method set_tile : image -> unit
method string : font:font -> x:int -> y:int -> s:string -> color -> unit
method string_ft : fg:color -> fname:string -> size:float -> angle:float -> x:int -> y:int -> string -> int array
method string_ftex : fg:color -> fname:string -> size:float -> angle:float -> x:int -> y:int -> ?flags:ftex_flag array -> ?spacing:float -> ?charmap:ftex_charmap -> string -> int array
method string_up : font:font -> x:int -> y:int -> s:string -> color -> unit
method width : int