package gd

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

Innovation. Community. Security.