// 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/fillrule.go:1:1
package cairo

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

// FillRule is a representation of Cairo's cairo_fill_rule_t.
type FillRule int

const (
	FILL_RULE_WINDING  FillRule = ( /*line :15:32*/_Ciconst_CAIRO_FILL_RULE_WINDING /*line :15:56*/)
	FILL_RULE_EVEN_ODD FillRule = ( /*line :16:32*/_Ciconst_CAIRO_FILL_RULE_EVEN_ODD /*line :16:57*/)
)

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