// 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/pango/pango-glyph.go:1:1 /* * Copyright (c) 2015- terrak * * This file originated from: http://www.terrak.net/ * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ package pango // #include // #include "pango.go.h" // #include import _ "unsafe" import ( // "github.com/andre-hub/gotk3/glib" // "github.com/andre-hub/gotk3/cairo" "unsafe" ) // GlyphGeometry is a representation of PangoGlyphGeometry. type GlyphGeometry struct { pangoGlyphGeometry * /*line :33:22*/_Ctype_PangoGlyphGeometry /*line :33:42*/ } // Native returns a pointer to the underlying PangoLayout. func (v *GlyphGeometry) Native() uintptr { return uintptr(unsafe.Pointer(v.native())) } func (v *GlyphGeometry) native() * /*line :41:35*/_Ctype_PangoGlyphGeometry /*line :41:55*/ { return (* /*line :42:11*/_Ctype_PangoGlyphGeometry /*line :42:31*/)(unsafe.Pointer(v.pangoGlyphGeometry)) } // GlyphVisAttr is a representation of PangoGlyphVisAttr. type GlyphVisAttr struct { pangoGlyphVisAttr * /*line :47:21*/_Ctype_PangoGlyphGeometry /*line :47:41*/ } // Native returns a pointer to the underlying PangoGlyphVisAttr. func (v *GlyphVisAttr) Native() uintptr { return uintptr(unsafe.Pointer(v.native())) } func (v *GlyphVisAttr) native() * /*line :55:34*/_Ctype_PangoGlyphVisAttr /*line :55:53*/ { return (* /*line :56:11*/_Ctype_PangoGlyphVisAttr /*line :56:30*/)(unsafe.Pointer(v.pangoGlyphVisAttr)) } // GlyphInfo is a representation of PangoGlyphInfo. type GlyphInfo struct { pangoGlyphInfo * /*line :61:18*/_Ctype_PangoGlyphInfo /*line :61:34*/ } // Native returns a pointer to the underlying PangoGlyphInfo. func (v *GlyphInfo) Native() uintptr { return uintptr(unsafe.Pointer(v.native())) } func (v *GlyphInfo) native() * /*line :69:31*/_Ctype_PangoGlyphInfo /*line :69:47*/ { return (* /*line :70:11*/_Ctype_PangoGlyphInfo /*line :70:27*/)(unsafe.Pointer(v.pangoGlyphInfo)) } // GlyphGeometry is a representation of PangoGlyphString. type GlyphString struct { pangoGlyphString * /*line :75:20*/_Ctype_PangoGlyphString /*line :75:38*/ } // Native returns a pointer to the underlying PangoGlyphString. func (v *GlyphString) Native() uintptr { return uintptr(unsafe.Pointer(v.native())) } func (v *GlyphString) native() * /*line :83:33*/_Ctype_PangoGlyphString /*line :83:51*/ { return (* /*line :84:11*/_Ctype_PangoGlyphString /*line :84:29*/)(unsafe.Pointer(v.pangoGlyphString)) }