package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gdkpixbuf/Ocgtk_gdkpixbuf/Gdkpixbuf_enums/index.html
Module Ocgtk_gdkpixbuf.Gdkpixbuf_enums
val colorspace_of_int : int -> colorspaceval colorspace_to_int : colorspace -> inttype interptype = [ | `NEAREST(*This is an accurate simulation of the PostScript image operator without any interpolation enabled. Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction.
*)| `TILES(*Best quality/speed balance; use this mode by default. Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area.
*)| `BILINEAR(*This is the slowest and highest quality reconstruction function. It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping). **Deprecated**: this interpolation filter is deprecated, as in reality it has a lower quality than the @GDK_INTERP_BILINEAR filter (Since: 2.38)
*)| `HYPER
]val interptype_of_int : int -> interptypeval interptype_to_int : interptype -> intval pixbufalphamode_of_int : int -> pixbufalphamodeval pixbufalphamode_to_int : pixbufalphamode -> inttype pixbuferror = [ | `CORRUPT_IMAGE(*Not enough memory.
*)| `INSUFFICIENT_MEMORY(*A bad option was passed to a pixbuf save module.
*)| `BAD_OPTION(*Unknown image type.
*)| `UNKNOWN_TYPE(*Don't know how to perform the given operation on the type of image at hand.
*)| `UNSUPPORTED_OPERATION(*Generic failure code, something went wrong.
*)| `FAILED(*Only part of the animation was loaded.
*)| `INCOMPLETE_ANIMATION
]val pixbuferror_of_int : int -> pixbuferrorval pixbuferror_to_int : pixbuferror -> intval pixbufrotation_of_int : int -> pixbufrotationval pixbufrotation_to_int : pixbufrotation -> inttype pixbufformatflags = pixbufformatflags_flag listval pixbufformatflags_of_int : int -> pixbufformatflagsval pixbufformatflags_to_int : pixbufformatflags -> int