package graphv_gles2

  1. Overview
  2. Docs

Module Graphv_gles2.MakeSource

Parameters

Signature

Sourcetype t
Sourcemodule Buffer = Gl.Buffer
Sourcemodule Dyn = Gl.Dyn
Sourcemodule VertexBuffer = Gl.VertexBuffer
Sourcemodule Path = Gl.Path
Sourcetype gl = Gl.t
Sourceval create : flags:Graphv_core_lib.CreateFlags.t -> gl -> t option
Sourceval edge_antialias : t -> bool
Sourceval create_texture : t -> type_:[ `RGBA | `Alpha ] -> w:int -> h:int -> flags:Graphv_core_lib.ImageFlags.t -> data:Buffer.UByte.t -> int option
Sourceval delete_texture : t -> image:int -> bool
Sourceval update_texture : t -> image:int -> x:int -> y:int -> w:int -> h:int -> data:Buffer.UByte.t -> bool
Sourceval get_texture_size : t -> image:int -> int * int
Sourceval viewport : t -> width:float -> height:float -> dpi:float -> unit
Sourceval cancel : t -> unit
Sourceval flush : t -> VertexBuffer.t -> unit
Sourceval 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
Sourceval 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