package sfml
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Bindings to the SFML multimedia library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.09.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
    
    
  md5=01ffc5b471d774f2d6234c639b067f04
    
    
  doc/sfml.graphics/SFImage/index.html
Module SFImage
Online documentation for the Image class
val createFromFile : filename:string -> tval createFromMemory : data:bytes -> tval createFromPixels : width:int -> height:int -> data:bytes -> tval createFromPixelsArray : pixels:(int * int * int * int) array array -> ttype input = [ - | `Filename of string
- | `Memory of bytes
- | `Color of int * int * SFColor.t
- | `Pixels of int * int * bytes
- | `PixelsArray of (int * int * int * int) array array
 ]val getWidth : image:t -> intval getHeight : image:t -> intval getSize : image:t -> int * inttype gl_image =
  (int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Genarray.tthe same type defined in glMLite
val getPixelsStr : image:t -> stringval getPixelRGB : image:t -> x:int -> y:int -> SFColor.rgbval getPixelRGBA : image:t -> x:int -> y:int -> SFColor.rgbaval saveToFile : image:t -> filename:string -> unitval flipHorizontally : image:t -> unitval flipVertically : image:t -> unit sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >