package cairo2

  1. Overview
  2. Docs
type t
val create_similar : t -> content -> width:int -> height:int -> t
val finish : t -> unit
val flush : t -> unit
val get_font_options : t -> Font_options.t
val get_content : t -> content
val mark_dirty : t -> unit
val mark_dirty_rectangle : t -> x:int -> y:int -> w:int -> h:int -> unit
val set_device_offset : t -> x:float -> y:float -> unit
val get_device_offset : t -> float * float
val set_fallback_resolution : t -> x:float -> y:float -> unit
val get_fallback_resolution : t -> float * float
type kind = [
  1. | `BEOS
  2. | `DirectFB
  3. | `GLITZ
  4. | `Image
  5. | `OS2
  6. | `PDF
  7. | `PS
  8. | `Quartz
  9. | `Quartz_image
  10. | `Recording
  11. | `SVG
  12. | `Win32
  13. | `Win32_printing
  14. | `XCB
  15. | `XLib
]
val get_type : t -> kind
val copy_page : t -> unit
val show_page : t -> unit
val has_show_text_glyphs : t -> bool