package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocgtk_cairo.Cairo_enums

type status = [
  1. | `SUCCESS
  2. | `NO_MEMORY
  3. | `INVALID_RESTORE
  4. | `INVALID_POP_GROUP
  5. | `NO_CURRENT_POINT
  6. | `INVALID_MATRIX
  7. | `INVALID_STATUS
  8. | `NULL_POINTER
  9. | `INVALID_STRING
  10. | `INVALID_PATH_DATA
  11. | `READ_ERROR
  12. | `WRITE_ERROR
  13. | `SURFACE_FINISHED
  14. | `SURFACE_TYPE_MISMATCH
  15. | `PATTERN_TYPE_MISMATCH
  16. | `INVALID_CONTENT
  17. | `INVALID_FORMAT
  18. | `INVALID_VISUAL
  19. | `FILE_NOT_FOUND
  20. | `INVALID_DASH
  21. | `INVALID_DSC_COMMENT
  22. | `INVALID_INDEX
  23. | `CLIP_NOT_REPRESENTABLE
  24. | `TEMP_FILE_ERROR
  25. | `INVALID_STRIDE
  26. | `FONT_TYPE_MISMATCH
  27. | `USER_FONT_IMMUTABLE
  28. | `USER_FONT_ERROR
  29. | `NEGATIVE_COUNT
  30. | `INVALID_CLUSTERS
  31. | `INVALID_SLANT
  32. | `INVALID_WEIGHT
  33. | `INVALID_SIZE
  34. | `USER_FONT_NOT_IMPLEMENTED
  35. | `DEVICE_TYPE_MISMATCH
  36. | `DEVICE_ERROR
  37. | `INVALID_MESH_CONSTRUCTION
  38. | `DEVICE_FINISHED
  39. | `JBIG2_GLOBAL_MISSING
]
val status_of_int : int -> status
val status_to_int : status -> int
type content = [
  1. | `COLOR
  2. | `ALPHA
  3. | `COLOR_ALPHA
]
val content_of_int : int -> content
val content_to_int : content -> int
type operator = [
  1. | `CLEAR
  2. | `SOURCE
  3. | `OVER
  4. | `IN
  5. | `OUT
  6. | `ATOP
  7. | `DEST
  8. | `DEST_OVER
  9. | `DEST_IN
  10. | `DEST_OUT
  11. | `DEST_ATOP
  12. | `XOR
  13. | `ADD
  14. | `SATURATE
  15. | `MULTIPLY
  16. | `SCREEN
  17. | `OVERLAY
  18. | `DARKEN
  19. | `LIGHTEN
  20. | `COLOR_DODGE
  21. | `COLOR_BURN
  22. | `HARD_LIGHT
  23. | `SOFT_LIGHT
  24. | `DIFFERENCE
  25. | `EXCLUSION
  26. | `HSL_HUE
  27. | `HSL_SATURATION
  28. | `HSL_COLOR
  29. | `HSL_LUMINOSITY
]
val operator_of_int : int -> operator
val operator_to_int : operator -> int
type antialias = [
  1. | `DEFAULT
  2. | `NONE
  3. | `GRAY
  4. | `SUBPIXEL
  5. | `FAST
  6. | `GOOD
  7. | `BEST
]
val antialias_of_int : int -> antialias
val antialias_to_int : antialias -> int
type fillrule = [
  1. | `WINDING
  2. | `EVEN_ODD
]
val fillrule_of_int : int -> fillrule
val fillrule_to_int : fillrule -> int
type linecap = [
  1. | `BUTT
  2. | `ROUND
  3. | `SQUARE
]
val linecap_of_int : int -> linecap
val linecap_to_int : linecap -> int
type linejoin = [
  1. | `MITER
  2. | `ROUND
  3. | `BEVEL
]
val linejoin_of_int : int -> linejoin
val linejoin_to_int : linejoin -> int
type textclusterflags = [
  1. | `BACKWARD
]
val textclusterflags_of_int : int -> textclusterflags
val textclusterflags_to_int : textclusterflags -> int
type fontslant = [
  1. | `NORMAL
  2. | `ITALIC
  3. | `OBLIQUE
]
val fontslant_of_int : int -> fontslant
val fontslant_to_int : fontslant -> int
type fontweight = [
  1. | `NORMAL
  2. | `BOLD
]
val fontweight_of_int : int -> fontweight
val fontweight_to_int : fontweight -> int
type subpixelorder = [
  1. | `DEFAULT
  2. | `RGB
  3. | `BGR
  4. | `VRGB
  5. | `VBGR
]
val subpixelorder_of_int : int -> subpixelorder
val subpixelorder_to_int : subpixelorder -> int
type hintstyle = [
  1. | `DEFAULT
  2. | `NONE
  3. | `SLIGHT
  4. | `MEDIUM
  5. | `FULL
]
val hintstyle_of_int : int -> hintstyle
val hintstyle_to_int : hintstyle -> int
type hintmetrics = [
  1. | `DEFAULT
  2. | `OFF
  3. | `ON
]
val hintmetrics_of_int : int -> hintmetrics
val hintmetrics_to_int : hintmetrics -> int
type fonttype = [
  1. | `TOY
  2. | `FT
  3. | `WIN32
  4. | `QUARTZ
  5. | `USER
]
val fonttype_of_int : int -> fonttype
val fonttype_to_int : fonttype -> int
type pathdatatype = [
  1. | `MOVE_TO
  2. | `LINE_TO
  3. | `CURVE_TO
  4. | `CLOSE_PATH
]
val pathdatatype_of_int : int -> pathdatatype
val pathdatatype_to_int : pathdatatype -> int
type devicetype = [
  1. | `DRM
  2. | `GL
  3. | `SCRIPT
  4. | `XCB
  5. | `XLIB
  6. | `XML
  7. | `COGL
  8. | `WIN32
  9. | `INVALID
]
val devicetype_of_int : int -> devicetype
val devicetype_to_int : devicetype -> int
type surfacetype = [
  1. | `IMAGE
  2. | `PDF
  3. | `PS
  4. | `XLIB
  5. | `XCB
  6. | `GLITZ
  7. | `QUARTZ
  8. | `WIN32
  9. | `BEOS
  10. | `DIRECTFB
  11. | `SVG
  12. | `OS2
  13. | `WIN32_PRINTING
  14. | `QUARTZ_IMAGE
  15. | `SCRIPT
  16. | `QT
  17. | `RECORDING
  18. | `VG
  19. | `GL
  20. | `DRM
  21. | `TEE
  22. | `XML
  23. | `SKIA
  24. | `SUBSURFACE
  25. | `COGL
]
val surfacetype_of_int : int -> surfacetype
val surfacetype_to_int : surfacetype -> int
type format = [
  1. | `INVALID
  2. | `ARGB32
  3. | `RGB24
  4. | `A8
  5. | `A1
  6. | `RGB16_565
  7. | `RGB30
]
val format_of_int : int -> format
val format_to_int : format -> int
type patterntype = [
  1. | `SOLID
  2. | `SURFACE
  3. | `LINEAR
  4. | `RADIAL
  5. | `MESH
  6. | `RASTER_SOURCE
]
val patterntype_of_int : int -> patterntype
val patterntype_to_int : patterntype -> int
type extend = [
  1. | `NONE
  2. | `REPEAT
  3. | `REFLECT
  4. | `PAD
]
val extend_of_int : int -> extend
val extend_to_int : extend -> int
type filter = [
  1. | `FAST
  2. | `GOOD
  3. | `BEST
  4. | `NEAREST
  5. | `BILINEAR
  6. | `GAUSSIAN
]
val filter_of_int : int -> filter
val filter_to_int : filter -> int
type regionoverlap = [
  1. | `IN
  2. | `OUT
  3. | `PART
]
val regionoverlap_of_int : int -> regionoverlap
val regionoverlap_to_int : regionoverlap -> int