GOArrow

GOArrow

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── GOArrow

Description

Functions

go_arrow_clear ()

void
go_arrow_clear (GOArrow *dst);


go_arrow_dup ()

GOArrow *
go_arrow_dup (GOArrow *src);


go_arrow_init ()

void
go_arrow_init (GOArrow *res,
               GOArrowType typ,
               double a,
               double b,
               double c);


go_arrow_init_kite ()

void
go_arrow_init_kite (GOArrow *dst,
                    double a,
                    double b,
                    double c);


go_arrow_init_oval ()

void
go_arrow_init_oval (GOArrow *dst,
                    double ra,
                    double rb);


go_arrow_type_as_str ()

char const *
go_arrow_type_as_str (GOArrowType typ);


go_arrow_type_from_str ()

GOArrowType
go_arrow_type_from_str (const char *name);

Types and Values

GOArrow

typedef struct {
	GOArrowType typ;
	double a, b, c;
} GOArrow;


enum GOArrowType

Members

GO_ARROW_NONE

   

GO_ARROW_KITE

   

GO_ARROW_OVAL