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

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

// LineCap is a representation of Cairo's cairo_line_cap_t.
type LineCap int

const (
	LINE_CAP_BUTT   LineCap = ( /*line :15:28*/_Ciconst_CAIRO_LINE_CAP_BUTT /*line :15:48*/)
	LINE_CAP_ROUND  LineCap = ( /*line :16:28*/_Ciconst_CAIRO_LINE_CAP_ROUND /*line :16:49*/)
	LINE_CAP_SQUARE LineCap = ( /*line :17:28*/_Ciconst_CAIRO_LINE_CAP_SQUARE /*line :17:50*/)
)

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