= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Dyn : Sigs.DynArrayS
module VertexBuffer : sig ... end
module Path : sig ... end
val create : flags:CreateFlags.t -> gl -> t option
val edge_antialias : t -> bool
val create_texture :
t ->
type_:[ `RGBA | `Alpha ] ->
w:int ->
h:int ->
flags: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:Paint.t ->
composite_op:CompositeOperationState.t ->
scissor:Scissor.t ->
fringe:float ->
bounds:Bounds.t ->
paths:Path.t DynArray.t ->
verts:VertexBuffer.t ->
unit
val stroke :
t ->
paint:Paint.t ->
composite_op:CompositeOperationState.t ->
scissor:Scissor.t ->
fringe:float ->
stroke_width:float ->
paths:Path.t DynArray.t ->
unit
val triangles :
t ->
paint:Paint.t ->
composite_op:CompositeOperationState.t ->
scissor:Scissor.t ->
fringe:float ->
vertices:VertexBuffer.Sub.t ->
unit