package graphv_core

  1. Overview
  2. Docs

Parameters

Signature

type t
module Align = Graphv_core_lib.Align
module BlendFactor = Graphv_core_lib.BlendFactor
module Bounds = Graphv_core_lib.Bounds
module Color = Graphv_core_lib.Color
module CreateFlags = Graphv_core_lib.CreateFlags
module CompositeOperation = Graphv_core_lib.CompositeOperation
module CompositeOperationState = Graphv_core_lib.CompositeOperationState
module ImageFlags = Graphv_core_lib.ImageFlags
module LineCap : sig ... end
module LineJoin : sig ... end
module Matrix = Graphv_core_lib.Matrix
module Winding = Graphv_core_lib.Winding
module FloatOps = Graphv_core_lib.FloatOps
type arg = Impl.gl
val create : flags:CreateFlags.t -> arg -> t
val save : t -> unit
val restore : t -> unit
val reset : t -> unit
val set_device_pixel_ratio : t -> float -> unit
val set_shape_antialias : t -> enabled:bool -> unit
val set_miter_limit : t -> limit:float -> unit
val set_stroke_width : t -> width:float -> unit
val set_line_cap : t -> cap:LineCap.t -> unit
val set_line_join : t -> join:LineJoin.t -> unit
val begin_frame : t -> width:float -> height:float -> device_ratio:float -> unit
val cancel_frame : t -> unit
val end_frame : t -> unit
module Transform : sig ... end
module Scissor : sig ... end
module Global : sig ... end
val fill : t -> unit
val stroke : t -> unit
module Path : sig ... end
module Image : sig ... end
module Paint : sig ... end
val set_fill_color : t -> color:Color.t -> unit
val set_fill_paint : t -> paint:Paint.t -> unit
val set_stroke_color : t -> color:Color.t -> unit
val set_stroke_paint : t -> paint:Paint.t -> unit
module Text : sig ... end
OCaml

Innovation. Community. Security.