gucoordinates
Macros | Functions | Variables
custom_fakes.c File Reference
#include "custom_fakes.h"
Include dependency graph for custom_fakes.c:

Go to the source code of this file.

Macros

#define UNUSED(x)   UNUSED_ ## x
 

Functions

gu_optional_relative_coordinate pct_coord_to_rr_coord_custom_fake_true (const gu_percent_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i)
 
gu_optional_relative_coordinate pct_coord_to_rr_coord_custom_fake_false (const gu_percent_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i)
 
gu_optional_percent_coordinate rr_coord_to_pct_coord_custom_fake_true (const gu_relative_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i)
 
gu_optional_percent_coordinate rr_coord_to_pct_coord_custom_fake_false (const gu_relative_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i)
 
gu_optional_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_true (const gu_relative_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i, const percent_d UNUSED_t)
 
gu_optional_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_false (const gu_relative_coordinate UNUSED_c, const gu_camera_pivot UNUSED_p, const int UNUSED_i, const percent_d UNUSED_t)
 

Variables

const gu_relative_coordinate pct_coord_to_rr_coord_custom_fake_result = { 10.0, 1000 }
 
const gu_percent_coordinate rr_coord_to_pct_coord_custom_fake_result = { -0.4, -0.2 }
 
const gu_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_result = { -0.2, -0.4 }
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED (   x)    UNUSED_ ## x

Definition at line 69 of file custom_fakes.c.

Function Documentation

◆ clamped_tolerance_rr_coord_to_pct_coord_custom_fake_false()

gu_optional_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_false ( const gu_relative_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i,
const percent_d  UNUSED_t 
)

◆ clamped_tolerance_rr_coord_to_pct_coord_custom_fake_true()

gu_optional_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_true ( const gu_relative_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i,
const percent_d  UNUSED_t 
)

◆ pct_coord_to_rr_coord_custom_fake_false()

gu_optional_relative_coordinate pct_coord_to_rr_coord_custom_fake_false ( const gu_percent_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i 
)

Definition at line 80 of file custom_fakes.c.

References pct_coord_to_rr_coord_custom_fake_result.

◆ pct_coord_to_rr_coord_custom_fake_true()

gu_optional_relative_coordinate pct_coord_to_rr_coord_custom_fake_true ( const gu_percent_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i 
)

Definition at line 73 of file custom_fakes.c.

References pct_coord_to_rr_coord_custom_fake_result.

◆ rr_coord_to_pct_coord_custom_fake_false()

gu_optional_percent_coordinate rr_coord_to_pct_coord_custom_fake_false ( const gu_relative_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i 
)

Definition at line 94 of file custom_fakes.c.

References rr_coord_to_pct_coord_custom_fake_result.

◆ rr_coord_to_pct_coord_custom_fake_true()

gu_optional_percent_coordinate rr_coord_to_pct_coord_custom_fake_true ( const gu_relative_coordinate  UNUSED_c,
const gu_camera_pivot  UNUSED_p,
const int  UNUSED_i 
)

Definition at line 87 of file custom_fakes.c.

References rr_coord_to_pct_coord_custom_fake_result.

Variable Documentation

◆ clamped_tolerance_rr_coord_to_pct_coord_custom_fake_result

const gu_percent_coordinate clamped_tolerance_rr_coord_to_pct_coord_custom_fake_result = { -0.2, -0.4 }

◆ pct_coord_to_rr_coord_custom_fake_result

const gu_relative_coordinate pct_coord_to_rr_coord_custom_fake_result = { 10.0, 1000 }

◆ rr_coord_to_pct_coord_custom_fake_result

const gu_percent_coordinate rr_coord_to_pct_coord_custom_fake_result = { -0.4, -0.2 }