Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Buffer : Graphv_core_lib.Buffer.S
module Dyn : Graphv_core_lib.Sigs.DynArrayS
module VertexBuffer : sig ... end
module Path : sig ... end
val create : flags:Graphv_core_lib.CreateFlags.t -> gl -> t option
val edge_antialias : t -> bool
val create_texture :
t ->
type_:[ `RGBA | `Alpha ] ->
w:int ->
h:int ->
flags:Graphv_core_lib.ImageFlags.t ->
data:Buffer.UByte.t ->
int option
val delete_texture : t -> image:int -> bool
val update_texture :
t ->
image:int ->
x:int ->
y:int ->
w:int ->
h:int ->
data:Buffer.UByte.t ->
bool
val get_texture_size : t -> image:int -> int * int
val viewport : t -> width:float -> height:float -> dpi:float -> unit
val cancel : t -> unit
val flush : t -> VertexBuffer.t -> unit
val fill :
t ->
paint:Graphv_core_lib.Paint.t ->
composite_op:Graphv_core_lib.CompositeOperationState.t ->
scissor:Graphv_core_lib.Scissor.t ->
fringe:float ->
bounds:Graphv_core_lib.Bounds.t ->
paths:Path.t Graphv_core_lib.DynArray.t ->
verts:VertexBuffer.t ->
unit
val stroke :
t ->
paint:Graphv_core_lib.Paint.t ->
composite_op:Graphv_core_lib.CompositeOperationState.t ->
scissor:Graphv_core_lib.Scissor.t ->
fringe:float ->
stroke_width:float ->
paths:Path.t Graphv_core_lib.DynArray.t ->
unit
val triangles :
t ->
paint:Graphv_core_lib.Paint.t ->
composite_op:Graphv_core_lib.CompositeOperationState.t ->
scissor:Graphv_core_lib.Scissor.t ->
fringe:float ->
vertices:VertexBuffer.Sub.t ->
unit