// 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-gravity.go:1:1
/*
 * Copyright (c) 2015- terrak <terrak1975@gmail.com>
 *
 * 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 <pango/pango.h>
// #include "pango.go.h"
import _ "unsafe"

//	"github.com/andre-hub/gotk3/glib"
//	"github.com/andre-hub/gotk3/cairo"
//	"unsafe"

type Gravity int

const (
	GRAVITY_SOUTH Gravity = ( /*line :32:26*/_Ciconst_PANGO_GRAVITY_SOUTH /*line :32:46*/)
	GRAVITY_EAST  Gravity = ( /*line :33:26*/_Ciconst_PANGO_GRAVITY_EAST /*line :33:45*/)
	GRAVITY_NORTH Gravity = ( /*line :34:26*/_Ciconst_PANGO_GRAVITY_NORTH /*line :34:46*/)
	GRAVITY_WEST  Gravity = ( /*line :35:26*/_Ciconst_PANGO_GRAVITY_WEST /*line :35:45*/)
	GRAVITY_AUTO  Gravity = ( /*line :36:26*/_Ciconst_PANGO_GRAVITY_AUTO /*line :36:45*/)
)

type GravityHint int

const (
	GRAVITY_HINT_NATURAL GravityHint = ( /*line :42:37*/_Ciconst_PANGO_GRAVITY_HINT_NATURAL /*line :42:64*/)
	GRAVITY_HINT_STRONG  GravityHint = ( /*line :43:37*/_Ciconst_PANGO_GRAVITY_HINT_STRONG /*line :43:63*/)
	GRAVITY_HINT_LINE    GravityHint = ( /*line :44:37*/_Ciconst_PANGO_GRAVITY_HINT_LINE /*line :44:61*/)
)

//double       pango_gravity_to_rotation    (PangoGravity       gravity) G_GNUC_CONST;
func GravityToRotation(gravity Gravity) float64 {
	c := ( /*line :49:7*/_Cfunc_pango_gravity_to_rotation /*line :49:33*/)(( /*line :49:36*/_Ctype_PangoGravity /*line :49:50*/)(gravity))
	return float64(c)
}

//PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) G_GNUC_PURE;

//PangoGravity pango_gravity_get_for_script (PangoScript        script,
//					   PangoGravity       base_gravity,
//					   PangoGravityHint   hint) G_GNUC_CONST;

//PangoGravity pango_gravity_get_for_script_and_width
//					  (PangoScript        script,
//					   gboolean           wide,
//					   PangoGravity       base_gravity,
//					   PangoGravityHint   hint) G_GNUC_CONST;
