class drawable : ?colormap:Gdk.colormap -> [> `drawable ] Gobject.obj ->
object
.. end
Functions for drawing points, lines, arcs, and text
GTK documentation: gdk-Drawing-Primitives
val mutable gc : Gdk.gc
val w : ([> `drawable ] as 'a) Gobject.obj
method arc : x:int ->
y:int ->
width:int ->
height:int -> ?filled:bool -> ?start:float -> ?angle:float -> unit -> unit
method color : color -> Gdk.color
method colormap : Gdk.colormap
method depth : int
method gc : Gdk.gc
method set_gc : Gdk.gc -> unit
method gc_values : Gdk.GC.values
method line : x:int -> y:int -> x:int -> y:int -> unit
method point : x:int -> y:int -> unit
method polygon : ?filled:bool -> (int * int) list -> unit
method put_layout : x:int ->
y:int -> ?fore:color -> ?back:color -> Pango.layout -> unit
method put_image : x:int ->
y:int ->
?xsrc:int -> ?ysrc:int -> ?width:int -> ?height:int -> Gdk.image -> unit
method put_pixmap : x:int ->
y:int ->
?xsrc:int -> ?ysrc:int -> ?width:int -> ?height:int -> Gdk.pixmap -> unit
method put_rgb_data : width:int ->
height:int ->
?x:int ->
?y:int ->
?dither:Gdk.Tags.rgb_dither -> ?row_stride:int -> Gpointer.region -> unit
method put_pixbuf : x:int ->
y:int ->
?width:int ->
?height:int ->
?dither:Gdk.Tags.rgb_dither ->
?x_dither:int ->
?y_dither:int -> ?src_x:int -> ?src_y:int -> GdkPixbuf.pixbuf -> unit
method rectangle : x:int -> y:int -> width:int -> height:int -> ?filled:bool -> unit -> unit
method set_background : color -> unit
method set_foreground : color -> unit
method set_clip_region : Gdk.region -> unit
method set_clip_origin : x:int -> y:int -> unit
method set_clip_mask : Gdk.bitmap -> unit
method set_clip_rectangle : Gdk.Rectangle.t -> unit
method set_line_attributes : ?width:int ->
?style:Gdk.GC.gdkLineStyle ->
?cap:Gdk.GC.gdkCapStyle -> ?join:Gdk.GC.gdkJoinStyle -> unit -> unit
method size : int * int
method string : string -> font:Gdk.font -> x:int -> y:int -> unit
method points : (int * int) list -> unit
method lines : (int * int) list -> unit
method segments : ((int * int) * (int * int)) list -> unit