;; From /opt/hub/include/gegl-0.1/gegl-buffer.h

(define-enum-extended Interpolation
  (in-module "Gegl")
  (c-name "GeglInterpolation")
  (values
    '("nearest" "GEGL_INTERPOLATION_NEAREST" "0")
    '("linear" "GEGL_INTERPOLATION_LINEAR" "1")
    '("cubic" "GEGL_INTERPOLATION_CUBIC" "2")
    '("lanczos" "GEGL_INTERPOLATION_LANCZOS" "3")
    '("downsharp" "GEGL_INTERPOLATION_DOWNSHARP" "4")
    '("downsize" "GEGL_INTERPOLATION_DOWNSIZE" "5")
    '("downsmooth" "GEGL_INTERPOLATION_DOWNSMOOTH" "6")
    '("upsharp" "GEGL_INTERPOLATION_UPSHARP" "7")
    '("upsize" "GEGL_INTERPOLATION_UPSIZE" "8")
    '("upsmooth" "GEGL_INTERPOLATION_UPSMOOTH" "9")
  )
)

;; From /opt/hub/include/gegl-0.1/gegl-types.h

(define-enum-extended PadType
  (in-module "Gegl")
  (c-name "GeglPadType")
  (values
  )
)

(define-flags-extended BlitFlags
  (in-module "Gegl")
  (c-name "GeglBlitFlags")
  (values
    '("default" "GEGL_BLIT_DEFAULT" "0")
    '("cache" "GEGL_BLIT_CACHE" "1 << 0")
    '("dirty" "GEGL_BLIT_DIRTY" "1 << 1")
  )
)

