diff options
Diffstat (limited to 'vendor/github.com/gotk3/gotk3/cairo/linecap.go')
-rw-r--r-- | vendor/github.com/gotk3/gotk3/cairo/linecap.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/github.com/gotk3/gotk3/cairo/linecap.go b/vendor/github.com/gotk3/gotk3/cairo/linecap.go deleted file mode 100644 index 553465a..0000000 --- a/vendor/github.com/gotk3/gotk3/cairo/linecap.go +++ /dev/null @@ -1,23 +0,0 @@ -package cairo - -// #include <stdlib.h> -// #include <cairo.h> -// #include <cairo-gobject.h> -import "C" -import ( - "unsafe" -) - -// LineCap is a representation of Cairo's cairo_line_cap_t. -type LineCap int - -const ( - LINE_CAP_BUTT LineCap = C.CAIRO_LINE_CAP_BUTT - LINE_CAP_ROUND LineCap = C.CAIRO_LINE_CAP_ROUND - LINE_CAP_SQUARE LineCap = C.CAIRO_LINE_CAP_SQUARE -) - -func marshalLineCap(p uintptr) (interface{}, error) { - c := C.g_value_get_enum((*C.GValue)(unsafe.Pointer(p))) - return LineCap(c), nil -} |