// Code generated by cmd/cgo; DO NOT EDIT.

//line /home/josie/.cache/paru/clone/wiiudownloader/src/pkg/mod/github.com/gotk3/gotk3@v0.6.5-0.20240618185848-ff349ae13f56/cairo/antialias.go:1:1
package cairo

// #include <stdlib.h>
// #include <cairo.h>
// #include <cairo-gobject.h>
import _ "unsafe"
import (
	"unsafe"
)

// Antialias is a representation of Cairo's cairo_antialias_t.
type Antialias int

const (
	ANTIALIAS_DEFAULT  Antialias = ( /*line :15:33*/_Ciconst_CAIRO_ANTIALIAS_DEFAULT /*line :15:57*/)
	ANTIALIAS_NONE     Antialias = ( /*line :16:33*/_Ciconst_CAIRO_ANTIALIAS_NONE /*line :16:54*/)
	ANTIALIAS_GRAY     Antialias = ( /*line :17:33*/_Ciconst_CAIRO_ANTIALIAS_GRAY /*line :17:54*/)
	ANTIALIAS_SUBPIXEL Antialias = ( /*line :18:33*/_Ciconst_CAIRO_ANTIALIAS_SUBPIXEL /*line :18:58*/)
	ANTIALIAS_FAST     Antialias = ( /*line :19:33*/_Ciconst_CAIRO_ANTIALIAS_FAST /*line :19:54*/) // (since 1.12)
	ANTIALIAS_GOOD     Antialias = ( /*line :20:33*/_Ciconst_CAIRO_ANTIALIAS_GOOD /*line :20:54*/) // (since 1.12)
	ANTIALIAS_BEST     Antialias = ( /*line :21:33*/_Ciconst_CAIRO_ANTIALIAS_BEST /*line :21:54*/) // (since 1.12)
)

func marshalAntialias(p uintptr) (interface{}, error) {
	c := ( /*line :25:7*/_Cfunc_g_value_get_enum /*line :25:24*/)((* /*line :25:28*/_Ctype_GValue /*line :25:36*/)(unsafe.Pointer(p)))
	return Antialias(c), nil
}
