package cairo

  1. Overview
  2. Docs
type t
val create : unit -> t
val merge : t -> t -> unit
val get_antialias : t -> antialias
val set_antialias : t -> antialias -> unit
val get_subpixel_order : t -> subpixel_order
val set_subpixel_order : t -> subpixel_order -> unit
val get_hint_style : t -> hint_style
val set_hint_style : t -> hint_style -> unit
val get_hint_metrics : t -> hint_metrics
val set_hint_metrics : t -> hint_metrics -> unit
type all = [
  1. | `ANTIALIAS_DEFAULT
  2. | `ANTIALIAS_GRAY
  3. | `ANTIALIAS_NONE
  4. | `ANTIALIAS_SUBPIXEL
  5. | `HINT_METRICS_DEFAULT
  6. | `HINT_METRICS_OFF
  7. | `HINT_METRICS_ON
  8. | `HINT_STYLE_DEFAULT
  9. | `HINT_STYLE_FULL
  10. | `HINT_STYLE_MEDIUM
  11. | `HINT_STYLE_NONE
  12. | `HINT_STYLE_SLIGHT
  13. | `SUBPIXEL_ORDER_BGR
  14. | `SUBPIXEL_ORDER_DEFAULT
  15. | `SUBPIXEL_ORDER_RGB
  16. | `SUBPIXEL_ORDER_VBGR
  17. | `SUBPIXEL_ORDER_VRGB
]
val make : [< all ] list -> t
OCaml

Innovation. Community. Security.