Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
graphene-quad.h File Reference
#include "graphene-types.h"
#include "graphene-point.h"

Go to the source code of this file.

Data Structures

struct  _graphene_quad_t
 

Functions

GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_tgraphene_quad_alloc (void)
 
GRAPHENE_AVAILABLE_IN_1_0 void graphene_quad_free (graphene_quad_t *q)
 
GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_tgraphene_quad_init (graphene_quad_t *q, const graphene_point_t *p1, const graphene_point_t *p2, const graphene_point_t *p3, const graphene_point_t *p4)
 
GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_tgraphene_quad_init_from_rect (graphene_quad_t *q, const graphene_rect_t *r)
 
GRAPHENE_AVAILABLE_IN_1_2 graphene_quad_tgraphene_quad_init_from_points (graphene_quad_t *q, const graphene_point_t points[])
 
GRAPHENE_AVAILABLE_IN_1_0 bool graphene_quad_contains (const graphene_quad_t *q, const graphene_point_t *p)
 
GRAPHENE_AVAILABLE_IN_1_0 void graphene_quad_bounds (const graphene_quad_t *q, graphene_rect_t *r)
 
GRAPHENE_AVAILABLE_IN_1_0 const graphene_point_tgraphene_quad_get_point (const graphene_quad_t *q, unsigned int index_)
 

Function Documentation

◆ graphene_quad_alloc()

GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_t * graphene_quad_alloc ( void )

◆ graphene_quad_bounds()

GRAPHENE_AVAILABLE_IN_1_0 void graphene_quad_bounds ( const graphene_quad_t * q,
graphene_rect_t * r )

◆ graphene_quad_contains()

GRAPHENE_AVAILABLE_IN_1_0 bool graphene_quad_contains ( const graphene_quad_t * q,
const graphene_point_t * p )

◆ graphene_quad_free()

GRAPHENE_AVAILABLE_IN_1_0 void graphene_quad_free ( graphene_quad_t * q)

◆ graphene_quad_get_point()

GRAPHENE_AVAILABLE_IN_1_0 const graphene_point_t * graphene_quad_get_point ( const graphene_quad_t * q,
unsigned int index_ )

◆ graphene_quad_init()

GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_t * graphene_quad_init ( graphene_quad_t * q,
const graphene_point_t * p1,
const graphene_point_t * p2,
const graphene_point_t * p3,
const graphene_point_t * p4 )

◆ graphene_quad_init_from_points()

GRAPHENE_AVAILABLE_IN_1_2 graphene_quad_t * graphene_quad_init_from_points ( graphene_quad_t * q,
const graphene_point_t points[] )

◆ graphene_quad_init_from_rect()

GRAPHENE_AVAILABLE_IN_1_0 graphene_quad_t * graphene_quad_init_from_rect ( graphene_quad_t * q,
const graphene_rect_t * r )